Dear Xiaolu:
Have you tried -estout- instead of -outreg-? It is a very flexible command and you can add many customized statistics combining -estout- with -estadd-.
Best regards
Herv� Stolowy
***********************************************************
Professeur/Professor
Coordinateur du D�partement/Head of Department
HEC Paris
D�partement Comptabilit� Contr�le de gestion / Dept of Accounting and Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
[email protected]
http://campus.hec.fr/profs/stolowy/perso/home.htm
>>> [email protected] 03/11 1:09 am >>>
Hi,
I am trying to output a regression result using outreg. And after the
regression, I did 3 F-test, which I want outreg to output together
with my regression results.
But I can only output 2 statistics that I defined. Once I use addstat
to output more than 3 statistics, it is said 'too few quote' and
error. I am not sure whether it is the limit of the outreg command, or
there is something that I dont know.
Could anyone help me about the problem?
Please find the following commands that I used,
newey dep1 f1 f2 f3 f4 f5 f6, lag(3) t(date) force
test f1+f2 =0
local r1=r(F)
local p1=r(p)
test f3+f4 =0
local r2=r(F)
local p2=r(p)
test f5+f6 =0
outreg using test.xls, replace addstat("F test, f1+f2 = 0", `r1', /*
*/ "Prob>F, 1", `p1', "F test,f3+f4 = 0", /*
*/ `r2', "Prob>F,2", `p2', "F test, f5+f6 = 0", r(F), "Prob >F, HC", r(p))
Thanks,
Regards,
Xiaolu
*
* 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/