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   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Obtaining Sargan Staitstic and P-values using outreg command
Date   Tue, 3 Oct 2006 13:15:44 +0100 (BST)

--- Jer�nimo P�rez Alem�n wrote:
> cap drop s1
> gen s1=e(sargan)
> tab s1

Jeronimo:
You don't have to first generate a variable and than tabulate it in
order to see what is in e(sargan), you can just type: 
-display e(sargan)- or shorter -di e(sargan)-. This is less lines of
codes to type and it saves memory since you don't have to make and
extra variable. 
HTH,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
*
*   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