Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

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


From   "Pagel, Christina" <c.pagel@ucl.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index