Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Addstat option with outreg2 invalid syntax


From   Audrey N Straus <audreystraus@utexas.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Addstat option with outreg2 invalid syntax
Date   Thu, 11 Oct 2012 13:30:01 -0500

Hello all,

When using outreg2 to create a table, I keep receiving the error message that the syntax of my addstat option is invalid.  My program reads as follows:

xi: reg PS_test_YES treat  $controls, robust; 
 local fstat = Ftail(e(df_m), e(N), e(F));
 outreg2 treat using HS_Outcomes.xls, nonotes rdec(3) addstat(Prob>F, `fstat') adec(3) ctitle(Private School Test) replace;

Any assistance is very much appreciated!
Audrey Straus


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index