Attaullah Shah
Moderator
Post count: 70

For setting decimal points in an asdoc’x document, I encourage you to visit this page https://asdocx.com/decimal-points/. If you wish to change decimal points for a single column, see the Section 4 on the above page.

In the following example, I am setting 11 decimal points for the second column, note the 2 in c2_dec(11). If you wish to target another column, just change the # part in c#_dec().

sysuse auto

asdocx reg pr2, replace c2_dec(11) nest 
                             
                         Table: Regression results

  0 |1                                                 2 
----+-----------------------------------------------------------------------------
  1 |                                                (1) 
  2 |Variables                                       pr2 
----+-----------------------------------------------------------------------------
  3 |Intercept                             06.165e-07*** 
  4 |                                       (03.429e-08) 
  5 |Observations                                     74 
  6 |R2                                                0 
----------------------------------------------------------------------------------
Notes:  Standard errors are in parentheses. *** p<.01, ** p<.05, * p<.1