Statalist The Stata Listserver


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

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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: estout Sargan statistic and P-val.
Date   Tue, 31 Jan 2006 18:24:47 -0000

viewsource 

Nick 
[email protected] 

Ben Jann
 
> Priya wrote:
> > I am using the command estout [estout *, cells(b(star fmt(%9.3f))
> p(par))
> > style (fixed) stats(r2 sargan)]
> >  to tabulate my regression results from ivreg2. From the above
> command,
> > the Sargan Statistic appears in the table. Any clue how to tabulate
> the
> > 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:
*   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