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.
Related Posts with Format the number of decimals in Table command in Stata-17
Coding participants with metabolic syndromeHi there, I would like to categorize participants in a dataset that I am using by whether or not th…
Remove combination of quotes and asterisk in variable labelHi all, I have a extrange combination of quotes and asterisk in variable label in my data base... L…
Problem running synth_runner commandHi there! I'm having problems running synth_runner command. There are various treated units giving a…
Problem in labels with splitvallabels Hi all, I am having problems in labelling graph with splitvallabels and catplot, I suspect that the…
Egen with an if statementHi, I have a long dataset with multiple observations per patient id. I’m trying to generate a medic…
Subscribe to:
Post Comments (Atom)
0 Response to Format the number of decimals in Table command in Stata-17
Post a Comment