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]

st: Number of decimal points and rounding off when using esttab


From   Amal Khanolkar <Amal.Khanolkar@ki.se>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Number of decimal points and rounding off when using esttab
Date   Mon, 28 Oct 2013 14:05:37 +0000

Hi all,

I use the following set of commands to get easy to read results from a set of regression models using the esttab package:

eststo clear
eststo: mlogit moth_wtgainbybmi i.ethnicity2 sex byear gestwk, base(1) rrr, if magecat2!=. & parity!=. & education2!=. & famsit_new2!=. & smoke2!=. & gestdt!=. & gestht!=. & MBMI5!=. & multibirth==1
eststo: mlogit moth_wtgainbybmi i.ethnicity2 sex byear gestwk ib2.magecat2 i.parity, base(1) rrr,  if education2!=. & famsit_new2!=. & smoke2!=. & gestdt!=. & gestht!=. & MBMI5!=. & multibirth==1
eststo: mlogit moth_wtgainbybmi i.ethnicity2 sex byear gestwk ib2.magecat2 i.parity ib2.education2 ib2.famsit_new2, base(1) rrr,  if smoke2!=. & gestdt!=. & gestht!=. & MBMI5!=. & multibirth==1
eststo: mlogit moth_wtgainbybmi i.ethnicity2 sex byear gestwk ib2.magecat2 i.parity ib2.education2 ib2.famsit_new2 ib2.smoke2, base(1) rrr,  if gestdt!=. & gestht!=. & MBMI5!=. & multibirth==1
eststo: mlogit moth_wtgainbybmi i.ethnicity2 sex byear gestwk ib2.magecat2 i.parity ib2.education2 ib2.famsit_new2 ib2.smoke2 i.gestdt i.gestht, base(1) rrr, if MBMI5!=. & multibirth==1
eststo: mlogit moth_wtgainbybmi i.ethnicity2 sex byear gestwk ib2.magecat2 i.parity ib2.education2 ib2.famsit_new2 ib2.smoke2 i.gestdt i.gestht ib2.MBMI5, base(1) rrr, if multibirth==1
esttab, eform ci


I know the options a1, a2, a3..... help specify the number of digits one would like after the decimal point. However, I wasn't able to figure out (and I might have missed this while reading the help file for esttab) how one can specify the number of digits after the decimal point (say if I wanted the estimate to have max two digits after the decimal point like 2.65, or 3.38) but these estimates are rounded off?


Thanks Amal.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index