Hello everyone.
I use the command below to determine the number of decimals in my table in Stata-17. However, I get different numbers of decimals in the last column (mean).
table (Q)(), statistic(frequency) statistic (sum income) statistic (percent income) statistic (mean income) nformat(%9.1f percent ) sformat("%s%%" percent )
I want all figures in the last column to be displayed with one decimal place. How should I modify my command?
I appreciate your time.
0 Response to Format the number of decimals in Table command in Stata-17
Post a Comment