Statalist


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

st: AW: "starlevels" option for regression table output


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: "starlevels" option for regression table output
Date   Wed, 25 Feb 2009 17:30:38 +0100

<> 

Hmmm, works for me...

*************
webuse lbw2, clear
logit low age lwt race2 race3 smoke ptl ht ui
estout, cells(b(star fmt(2) label(Coef.)) se(par fmt(2) label(std.errors)))
starlevels( * 0.10 ** 0.05 *** 0.010) stats(N r2, labels ("No. of Obs."
"R-Squared") fmt(2))
*************

                        .   
             Coef./std.~s   
----------------------------
age                 -0.03   
                   (0.04)   
lwt                 -0.02** 
                   (0.01)   
race2                1.26** 
                   (0.53)   
race3                0.86** 
                   (0.44)   
smoke                0.92** 
                   (0.40)   
ptl                  0.54   
                   (0.35)   
ht                   1.83***
                   (0.69)   
ui                   0.76*  
                   (0.46)   
_cons                0.46   
                   (1.20)   
----------------------------
No. of Obs.        189.00   
R-Squared                   
----------------------------


Sure that there are any vars in your specific output that call for one star?


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Klarner,
Patricia
Gesendet: Mittwoch, 25. Februar 2009 17:21
An: [email protected]
Betreff: st: "starlevels" option for regression table output 

Hi,

I am using the following command to produce a regression table output in
Stata:

estout, cells(b(star fmt(2) label(Coef.)) se(par fmt(2) label(std.errors)))
starlevels(* 0.10 ** 0.05 *** 0.001) stats(N r2, labels ("No. of Obs."
"R-Squared") fmt(2)) 

While Stata runs this command, it does not apply the starlevels option to
the output, e.g., for those variables that are statistically significant at
a 0.1 level in the regression, there is no * in the output table. Any ideas
why this is the case? 
For the 5% and 1% significance levels, Stata puts the stars in the output
table in the right way.

Thanks,
Patricia
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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