I am attempting to create a descriptive statistics table for my thesis. However, I found that variables with large numbers are displayed using the scientific notation.
In my attempt to change it, I read many FAQ's and other discussions about this problem, but none of these options seemed to work for me.
The data type of the variables is
Code:
double
Code:
sum var1 Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- var1 | 12,286 1.18e+09 2.21e+10 .0223229 7.71e+11 format var1 %24.0f sum var1 Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- var1 | 12,286 1.18e+09 2.21e+10 .0223229 7.71e+11 recast float var1, force var1: 12072 values changed sum var1 Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- var1 | 12,286 1.18e+09 2.21e+10 .0223229 7.71e+11
Code:
tostring var1, gen(var1s) format("%17.0f") var1 cannot be converted reversibly; no generate
Kind regards,
Stan
0 Response to How to change display of scientific notation of summary statistics to nummeric?
Post a Comment