Hello everyone:
Iam exporting a dta. from Stata to Excel, I have a variable like this gen total_mean (float) = score/ 5. For example, I have in a register gen total_mean=13/5 and Stata reports 2.6 as a result. However, when I export this dta.to Excel it exports it like 2.59999990463256. Why? How I can export it to 2.6?
Thanks a lot,
Luciana
Related Posts with Numbers exported to Excel with more decimals
Help creating graph for multiple linear regressionDear all, I am using Stata 16, on mac. I am estimating the regression: reg GDP agedpop population …
Exporting residuals vs prediction dataHi, So, I need to make a residuals versus predictor plot. However, the graphics aren't working in S…
Medeff command: invalid mediate (error r(198))Dear Statalists, Could you please tell me the reason why when I type the following command: medeff…
how to delete specific observationsHello everyone I need to delete the firms that does not have data for three years consecutively. ple…
Doubt on Heckprob model resultsHello everybody, I'm running a Heckman selection model based on a heckprob. I have some categorical…
Subscribe to:
Post Comments (Atom)
0 Response to Numbers exported to Excel with more decimals
Post a Comment