My variable "q2" has two values: 1 and 2. Their labels are No and Yes, respectively.
Now I want to change it to 0==No, 1==Yes.
I know one method: generating a new variable. Do we have better method that can replace current q2 instead of generating a new var? Because I've already have a lot of variables.
Many thanks in advance!
Related Posts with How to change value labels?
funnel plotsHi, While doing a meta analysis using stata 16.0, I was able to create standard funnel plots as well…
State Fixed Effects/State Dummy variable in PMG modelIf some states have higher values of Y variable than other states, then can we use state fixed effec…
Unique id generationHello, I have a dataset where I have 4 municipalities. For each municipality, I have many villages. …
stata file cannot be opened with the information r(610) which says the file is not stata format.Hello, every statalist, I have an urgent issue now. I am using Stata/SE 14.0 and was editing my sta…
Unique String – Numeric combinationHi Stata users, I have a data set with string and numeric variables and would want to check for each…
Subscribe to:
Post Comments (Atom)
0 Response to How to change value labels?
Post a Comment