Statalist The Stata Listserver

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

Re: st: Storing test results

From   "Radu Ban" <>
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,


2006/5/4, Gernot Wagner <>:

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

*   For searches and help try:

*   For searches and help try:

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