Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: Rép. : st: problem with use of ou treg addstat


From   Xiaolu Wang <wangxiaolu2005@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: Rép. : st: problem with use of ou treg addstat
Date   Sat, 12 Mar 2005 12:34:11 -0500

Hi Herve, 

Thanks for the suggestion. One more question... whether estout can
only work with Stata 8? I am currently using Stata 7. After I
installed estout ado, and run it, it is said unrecognized command:
Dmarker.

Is there anything that I forget to set to make it work?

Thanks, 

Xiaolu


On Fri, 11 Mar 2005 07:23:34 +0100, Herve STOLOWY <stolowy@hec.fr> wrote:
> 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
> stolowy@hec.fr
> http://campus.hec.fr/profs/stolowy/perso/home.htm
> 
> >>> wangxiaolu2005@gmail.com 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/
>

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index