Statalist The Stata Listserver


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

Re: st: Obtaining Sargan Staitstic and P-values using outreg command


From   Jer�nimo P�rez Alem�n <[email protected]>
To   [email protected]
Subject   Re: st: Obtaining Sargan Staitstic and P-values using outreg command
Date   Tue, 03 Oct 2006 12:18:04 +0100

Hi Elizabeth:
Try this (example for s1):
cap drop s1
gen s1=e(sargan)
tab s1
Look at the first page in:
http://www.ifs.org.uk/data/20040910_program.do

Jeronimo Perez
University of Las Palmas de Gran Canaria (Spain)

Asiedu, Elizabeth escribi�:

The estimations using xtabond reports the p-values for the test for autocorrelation, the Sargan test statistic and also the Sargan p-value. Is it possible to have these three values reported in a table, using the outreg command? I tried addstat (sagan, sarganp) however, I got the error message "invalid synthax".



Thanks


Elizabeth Asiedu



*
* 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