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
Oaxaca help - mean wage generated does not match the one given by sum commandGood afternoon, I am using the oaxaca command to decompose the ethnic pay gap, in the example here …
Question about the effect of adding control variables on estimateDear all, I do a research using instrumental variables, the main problem is that we are not sure wh…
Drop variables with common suffix under certain conditionsDear all, I am facing difficulties in dropping some variables conditional on the missing observatio…
Issues with attempts to drop observations (r109 type mismatch error)Hi there, I'm new to Stata and attempting to drop some observations from my sample, however I keep …
How do I perform VIF test after xtregDear Experts, I have run the following xtreg xtreg x fdi l k m lc, fe vce(robust) Is there need to p…
Subscribe to:
Post Comments (Atom)
0 Response to recoding dummy variables
Post a Comment