I am currently trying to round up the coefficients and R2 in esttab. I am aiming to round the coefficient to 3 decimal places using b(3) and the R2 to 2 decimal places using r(2). This works fine however, the issue is that this rounding method does not seem to be rounding up correctly. My r2= 0.505 and when I try to use r(2) it rounds to 0.50 and I need it/would expect it, to round to 0.51? similarly, my coefficient = 0.0005, using b(3) surely this should report as 0.001, however, it rounds to 0.000. Any help on to get these to round upwards and not downwards would be greatly appreciated.
-
Login or Register
- Log in with
Comment