Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Storing test results


From   "Radu Ban" <[email protected]>
To   [email protected]
Subject   Re: st: Storing test results
Date   Thu, 4 May 2006 11:13:32 -0400

hi gernot,

long time no hear (remember me from harvard?). in any case -test-
stores the result in r(). after you run the command, you can see what
is saved by typing -return list-

then you can store whichever results you want as macros.

hope this helps,

-radu

2006/5/4, Gernot Wagner <[email protected]>:
Hello,

I would like to store test results to work with them later. Estimation
commands store their output automatically. That does not seem to be
true for test commands, including test and testnl. Is this possible
using built-in functions, or are there any programs that do this trick?

For example, running testnl displays the following results on screen:

               chi2(1) =        3.32
           Prob > chi2 =        0.0683

I would like to store 3.32 and 0.0683 for later use.

Many thanks,
Gernot Wagner

79 JFK Street B313
Cambridge MA 02138
http://gwagner.net

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index