Statalist The Stata Listserver

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

st: RE: estout Sargan statistic and P-val.

From   "Ben Jann" <>
To   <>
Subject   st: RE: estout Sargan statistic and P-val.
Date   Tue, 31 Jan 2006 18:22:16 +0100

Priya wrote:
> I am using the command estout [estout *, cells(b(star fmt(%9.3f))
> style (fixed) stats(r2 sargan)]
>  to tabulate my regression results from ivreg2. From the above
> the Sargan Statistic appears in the table. Any clue how to tabulate
> Sargan P-value  as well?

 . viewource ivreg2.ado

reveals the Sargan P-value will be returned in e(sarganp) as long as the
Sargan statistic is not 0 and not missing. Thus, just type 

 estout *, ... stats(r2 sargan sarganp)


*   For searches and help try:

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