How do I recode my dummy variables please? I have 3 categories 0,1,2 and I mistakenly coded 1 for 2 so I need to switch it around. 0 is fine but 2 should be 1 and 1 should be 2. I have labels already defined so how would I redefine the labels accordingly as well? Thank you.
Related Posts with recoding dummy variables
Mixed model , percentage changeI have a mixed effect model with unequal repeated measures rangr from time 1 to time 20. All subject…
Generating a dummy variable for an entire household based on a individual labour market characteristicHey there I am using cross-sectional for South Africa that that includes household(hhid) and indivi…
First Difference vs. Fixed Effects with multiple-year dataHello, I'm trying to run FD and FE on my dataset. The results are supposed to be the same but someh…
Identify the age-period-cohort effectDear friends, I tried to apply the command of ''apcd''. The code is, Code: use "http://www.louisc…
Spelling of decompositionDear Stata uers, My question is not related to statistics. My native language is not English, there…
Subscribe to:
Post Comments (Atom)
0 Response to recoding dummy variables
Post a Comment