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
Coefficient of level and lagged explanatory variable with different signHi,
Estimating by system GMM and treating the variable of interest as exogenous, without including …
calculating marginal effect of logged independent variableDear Statalists,
I have a question which I tried to look it up here to see if anyone has asked befo…
The Deflator index, again.Hello all,
I did two posts about this, but I am having trouble swimming through the data. The value…
destring when numerical values with < or > signsHello,
I am working on epidemiological data and I have a couple of variable from biomarkers for whi…
Different way of clustering with reghdfeHello everyone!
I'm currently running a multi-way fixed effect regression using the command reghdfe…
Subscribe to:
Post Comments (Atom)
0 Response to Stata shows "wrong" value
Post a Comment