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
Marginal Effect of an Interaction Term after Logit (i.dummy#c.continous)Dear All, Here is my data. I am running a logit model and tried to get marginal effects. Here is m…
Scatter plot troubles! Hi! I'm trying to analyse some statistics and was having trouble figuring out why my scatter plots …
Generate a new variable as the mean of individuals over timeI have the following data set, a panel dataset, (it is an example of what I have, the data set is mu…
Generating four new variables out of one variable in a panel datasetHello, I'm trying to create four new variables in the following dataset: Code: input long pidp fl…
Stata 17 - bayesmh not replicating a simple example already done in Stata 15Dear Forum Members, I'm trying to replicate in Stata 17 this (quite simple) example from Stata Yout…
Subscribe to:
Post Comments (Atom)
0 Response to Format the number of decimals in Table command in Stata-17
Post a Comment