Dear community,
I was inattentive when pasting data into a new stata-file and now the following problem presents itself: I have a unique numeric identifier with verly large number such that stata abbreviated it to scientific notation e.g. 1.7876423e+11. In the new file this numeric identifier appears as string and contains commas (",") instead of dots. I have now trired to destring this varlist unsuccessfully.
Is there someone who has encountered a similar problem before and could help me out?
Kind regards,
Marie
Related Posts with destring numbers in scientific notation
Aggregated proportionI have a dataset with poll opinions. The respondents have 4 types of responses: very bad, bad, good,…
observations deleted after extracting part of a string variableHi, I am working with the National Longitudinal Study of Youth 1997. The set of variables yempid den…
Applying Arellano-BondHello everyone, My regression looks in the following way: yit=a0 + a1xit + a2Dit +a3Lit + a4mit + …
Summing observations of a variable with if - conditionsHere diff has some estimate and for each observation - let's say if fyear = 2020, I need to calculat…
Values of a variable as label of values of other variableI have 2 variables, X1 and X2 and I want to use the values of X2 as label for the values of X1: X…
Subscribe to:
Post Comments (Atom)
0 Response to destring numbers in scientific notation
Post a Comment