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
Fixed effects panel data model and OLS assumptionsHello everybody, I am running a fixed effects model panel analysis for my masters thesis. My superv…
Calcolare gli anni di permanenza in un determinato paese conoscendo l'anno di arrivoCiao a tutti!! Avrei bisogno di un consiglio per una ricerca scolastica in Stata. Negli allegati c'è…
2SLS with two-way fixed effect and clustered error.Hi, I am a Stata beginner. I want to use xtivreg2 to do a 2SLS estimation with two way fixed effect…
1-step gmm-sys VS. 2-stepDear all, Estimating a gmm-system model with xtabond2, N=36 T=6, I got results that showed smaller …
Include labels after margins pwcompare matrixFirst time poster. Apologies for errors. I'm wondering if there's a way to grab the labels along wit…
Subscribe to:
Post Comments (Atom)
0 Response to Numbers exported to Excel with more decimals
Post a Comment