Dear experts,
I have a conversion error from my values from Excel to Stata.
The issue is that for some companies, Stata does not recognise the decimal numbers from Excel as such.
For example, you can see in the attached screenshots that the number 8,726 (in blue from Excel) is given in Stata as an incredibly high value of 8,726 * 10^15, while the other values from Excel were correctly transferred. Normally, therefore, 8726 should also have been given in Stata. Furthermore, you can see that the value 18,000 (from Excel) was only transferred to Stata with an 18.
Array
Array
I have already redrawn my sample from the company database called Dafne, but the problem recurs in all samples. So the problem must be with Stata.
Is anyone familiar with this conversion error and can you tell me what I did wrong and should do now?
Thank you very much
Related Posts with Conversion error with the numbers from Excel to Stata
Replacing melogit by meqrlogit ?????I'm using melogit command for a multilevel mixed effect regression. When I run the following command…
New version of xsvmat on SSCThanks once again to Kit Baum, a new version of the xsvmat package is now available for download fro…
A quick question about weird question marks in a string variableHello, I am using Stata 15.1. I have a string variable - student-teacher ratio (see data below). for…
type mismatch error when using "replace" functionHi everyone, I am using STATA version 14.0 and am hoping to replace missing observations using: "re…
Using loop for regression and saving results as a new variableHappy new year to Satatlist! I'm stuck with an old problem (using loop for regression). The variab…
Subscribe to:
Post Comments (Atom)
0 Response to Conversion error with the numbers from Excel to Stata
Post a Comment