Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: question about value labels


From   Alberto R Osella <[email protected]>
To   [email protected]
Subject   Re: st: question about value labels
Date   Fri, 29 Jul 2011 17:11:30 +0200

Thanks!!!!! Have a nice week-end.

Alberto R. Osella, MD, PhD
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
Tel:    +39 0804994655
Fax:    +39 0804994650
e-mail: [email protected]


Il 29/07/2011 16:16, Eric Booth ha scritto:
<>

Sorry…ignore the global $F5 in my example -- that's a filepath I have binded to my F5 key in my profile.do to quickly store temporary or test files.  Just remove it and it will put "test.tex" in your pwd.
- Eric

On Jul 29, 2011, at 9:08 AM, Eric Booth wrote:

<>

One way to replace the coeff labels is to use one of the user-written programs to post estimation results (e.g., -outreg-, -estout-) from SSC.

Here's an example using the recently updated -outreg-  (be sure to get the latest version from SSC) to produce a tex table with -qreg-:

****** !watch for wrapping below:
sysuse auto, clear

xi: qreg price weight length i.rep78

outreg using "$F5/test.tex", tex replace  ///
rtitles("Price"\""\"Weight"\""\"Length"\""\"One Repair"\""\"Two Repairs"\""\"Three REpairs"\""\"Four Repairs"\""\"Lemon")
******

- Eric
On Jul 29, 2011, at 8:52 AM, Alberto R Osella wrote:

Hello everyone.
I'm using Stata 11.2 on W7 32.
This is my problem. When I run quantile (or other estimation command) regression
I obtain this results:

------------------------------------------------------------------------------
            |              Bootstrap
        BMI |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
q83          |
    Etarecl |   .4231606    .077804     5.44   0.000     .2705788    .5757424
  _ISesso_1 |  -2.084183   .3866436    -5.39   0.000    -2.842432   -1.325934
_INewStatC~2 |  -2.012533   1.533809    -1.31   0.190    -5.020495    .9954286
_INewStatC~3 |   2.189235   1.099711     1.99   0.047     .0325863    4.345883
_INewStatC~4 |   .2256583   .6364043     0.35   0.723    -1.022398    1.473714
      Età_q |  -.0038322   .0007235    -5.30   0.000    -.0052511   -.0024133
_IProfessi~1 |  -.9928611   .8899386    -1.12   0.265    -2.738125    .7524025
_IProfessi~2 |   -.714227   .8651048    -0.83   0.409    -2.410789    .9823349
_IProfessi~3 |  -.0487982   1.022199    -0.05   0.962    -2.053439    1.955843

As I want to pass this result to a tex table I'd like to put the original the original value labels, that is:
Divorced and not _INewStatC~2.
Is there a way to do this automatically?
Thank you.


--
Alberto R. Osella, MD, PhD
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
Tel:    +39 0804994655
Fax:    +39 0804994650
e-mail: [email protected]

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


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index