Esttab Decimal Places. Number of decimal points and rounding off when using esttab. We can make the number of decimal places consistent throughout the table by specifying a number in the b option.
We will also format the output so that coefficients will have three decimal places and the standard errors to two decimal places. Create some nice names. Dec 06 2017 Hi I have a hard time to set the decimal place to 3.
This is why your R2 is rounding to zero.
Reg y x su y local contmean rmean local rcont roundcontmean 0001 estadd local cont rcont esttab using tabletex b93f se93f statscont N r2 label Control Mean. We want N to be centered and all the following to be decimal aligned. What is 4994 rounded to 2 decimal places. Of figures you specify or b usually carries over to its inferential statistics as well And if you want to produce nice looking tables you could specify other options as well both in the esttab.
