Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: using the output from quadchk (clearer)


From   "Pagel, Christina" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: using the output from quadchk (clearer)
Date   Tue, 28 Aug 2012 18:19:49 +0000

I realise that when converting my previous query to text, some of the formatting messed things up!

My basic question is: is there a way of working with the output of quadchk analogous to using matrix Results=r(table) or the parmest command? 

I am using quadchk repeatedly to check the fits of a series of xtlogit commands within a foreach loop in a DO file. What I would like to do is to write the quadchk output to a matrix and then to check within the DO file whether the relative differences are too large, outputting a warning for the user. This would save people having to check the quadchk output manually.

Ie I'd like to write something like:

Quietly Xtlogit MyVar, i(TrialCluster)
Quietly quadchk

Matrix TempDiffs = XXXXXXXX
If TempDiffs[X,Y]>10^(-3) {

Display "Warning: quadchk indicates fit unreliable"
}

I've done "return list" and "ereturn list" after quadchk but can't find these differences in the stored output... 
Thanks! 
Christina 



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index