Hello everyone, I need help with converting a particular variable to numbers. The variable in question is the amount of damage done by different disasters. The values were entered as for example 1K (Meaning $1000) and 1M (Meaning $1000000). I will want to convert these values to just numbers. Is there a way to do this in STATA.
PS: As the variable is continuous there are different observations with the "K" suffix e.g. 9K, 12K etc. Also there are different observations with the "M" Suffix.
I will really appreciate your insight on this, as I have a very large data set
I use STATA16
Related Posts with Convert 1K to 1000 and 1M to 1000000
Robreg mm - sDear I have some trouble with robreg mm or robreg s. When I run the regression I have the error mes…
Nonlinear decomposition with interaction effectHi all, I am studying the effect of child health on educational outcomes. My IV is the likelihood of…
Predict commanddear all, I use stata 13. When I do "predict r, rstudent", "predict c, cooksd", etc, I have the foll…
Past Stata "platform names" for "package files" (help usersite)In Stata 16, the output of help usersite tells us about the "g" lines in the package file. g sp…
Multiple missing characteristics - Using egen to count number of members in householdI wish to count the number of members in a household for the given survey data. hh_id memgndr_1 m…
Subscribe to:
Post Comments (Atom)
0 Response to Convert 1K to 1000 and 1M to 1000000
Post a Comment