Hi all,
I was wondeirng if there is a quick way to replace the values that stata assigns to variables with their actual variables? For example in the attachment below, how can I change the value of 45 from 197 to 45, and then the same for the other values. Likewise, I would like to change "Yes" and "No" to 2 and 1 respectively.
Thanks
Array
Related Posts with Replacing variable values with actual values stata in edit
What's the rationale behind egen_inequality excluding zeros?I'm using the user-written egen_inequal to compute Gini coefficients. Like so: Code: egen land_gi…
Insignificant year dummiesHi all, I am running a regression for my dissertation and was planning on including year dummies. T…
How to list observations excluding one variable?Hi everyone, I am doing an assignment and I'm stuck at one point. I have to list the first 8 observ…
Difference-in-Difference-in-Difference IntepretationDear Statalisters, I am conducting a triple difference regression to determine the impact of a new …
Invalid name error in Stata simulation syntaxHi everyone I'm doing a simulation study following Adkins & Gade (p.26-27) and can't figure out…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing variable values with actual values stata in edit
Post a Comment