Statalist


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

st: AW: AW: Problems with outreg2 after xtlogit


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: AW: Problems with outreg2 after xtlogit
Date   Wed, 12 Aug 2009 16:43:04 +0200

<> 

Sorry, "r(se)" is indeed left behind, in a separate -return list- that is
not mentioned in the help file. So the code below should get you closer to
your destination:


*************
webuse union, clear

xtlogit union age grade /* 
*/ not_smsa south southXt

outreg2 using t3.doc, /* 
 */ adds ("rho", `e(rho)', "sigma u", `e(sigma_u)', /* 
 */ "se rho", `r(se)', "log likelihood", `e(ll)') /* 
 */ bdec(3) alpha(0.001, 0.01, 0.05) replace
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Martin Weiss
Gesendet: Mittwoch, 12. August 2009 16:33
An: [email protected]
Betreff: st: AW: Problems with outreg2 after xtlogit


<> 

Should be "rho", not "roh". I cannot find "r(se)" in the -ereturn list-. You
can get your hands on  /lnsig2u and its se via


*************
di _b[ lnsig2u:_cons]
di _se[ lnsig2u:_cons]
*************





HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Schnepf S.V.
Gesendet: Mittwoch, 12. August 2009 16:21
An: [email protected]
Betreff: st: Problems with outreg2 after xtlogit

Dear All,

I would like to transfer the results of xtlogit into a word document using
outreg. I use the following command

outreg2 using t3.doc, adds ("roh", e(roh), "sigma u", e(sigma_u), "se roh",
r(se), "log likelihood", e(ll)) bdec(3) alpha(0.001, 0.01, 0.05) replace

The funny thing is that my table does indeed include the value for
e(sigma_u) and for e(ll); but it does not give me any value for e(roh) and
r(se) - which both are values that ereturn list and return list tell me to
be saved under these names.

Would anyone have an idea why this is the case?

In addition, I cannot find the names under which /lnsig2u and its standard
error are saved.

Many thanks
Best wishes
Sylke



*
*   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/


*
*   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