Hey,
I have a dta file with several variables. The properties of the variables in the dta file are all the same (Type "long", Format "%9.0g"). According to the documentation the variables are different:
Variable 1 has "Length of Byte = 2"
Variable 2 has "Length of Byte = 12" (plus note "4 - decimal points")
Variable 3 has "Length of Byte = 1"
The file can be found here:
https://www.dropbox.com/s/pcp79apult...ample.dta?dl=0
In case of variable 1 and 3 everything seems to be fine. The value shown in the cell is the same as the value shown above. Plus, if I copy the value to the clipboard it also stays the same. However, in case of variable 2 the value in the cell is basically the same as in the clipboard, but not as shown above (= field on top of screenshot). What do I have to change to get the correct value (it should be the one in the clipboard).
In the end I want to use the data in R. Unfortunately R also gives me the value shown in the top field, which is wrong. So I assume I have to change the dta file first.
Thanks in advance!
Related Posts with Stata shows "wrong" value
What tests to perform on a Panel Data set?Hello, I have a panel data set of 4500 firms for the years 2000 - 2017 (around 42,000 firm-year obs…
Storing coefficients when running same regression for different sampleDear Statalisters; I need to run the same regression for 5000 different samples. I have a separate …
Dealing with weights stata.In SPSS, when activate the weight variable, the data case number get multiplied by number in weight …
append 65.000 .csv filesI have 8 folders and in every forlder I have 35042 .csv files. I would like to import and append al…
Logit: illustrating interaction effectsDear Statalist, I am using Stata 14.2 with Windows 10. I have a logit model on partner acquisition …
Subscribe to:
Post Comments (Atom)
0 Response to Stata shows "wrong" value
Post a Comment