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
How to generate monthly time series data based on yearly time series data?Hello, I am wondering how to generate monthly time series data. For example, my current data set is…
What does the keyword `control' at the end a regression command do?Hi everyone, I am trying to replicate a paper to get my self familiar with STATA. I the paper comes…
Reproducing an output including all indicators of a categorial variable and a constantDear Stata-Listers, I am currently trying to reproduce the output in the picture. The model used in…
fixed effects relative to the mean, help needed with felsdvregdmHello everyone, I've been working on this for two days and am failed to produce the results. I reall…
How to convert the unprojected point data in lat/lon format into projected point dat, usable in spmapHi everyone, I have a list of selected airports in lat/lon format and want to scatter these points …
Subscribe to:
Post Comments (Atom)
0 Response to Stata shows "wrong" value
Post a Comment