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
(How) Can I calculate a significance test for Kendall´s Tau c in Stata?Dear community, I calculated Kendall´s tau c in Stata "by hand" because the ktau-command only conta…
Accessing ado code for svy: total to identify variance estimation methodHello, I'm needing to estimate standard errors in an Excel file, for a complex survey. It is a two s…
Scientific Notation default?Hi. I am hoping someone might be able to help: This morning I opened a dataset, and all my numeric …
Creating graphsHi everyone I have recently started to use Stata, and struggling to create graphs. Which codes shou…
Calculating the difference between two paired observations ignoring missing valuesHi, I'm sure there's a simple way to do this but I can't seem to find a solution. I have two varia…
Subscribe to:
Post Comments (Atom)
0 Response to Convert 1K to 1000 and 1M to 1000000
Post a Comment