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
Panel data mapHi, I want to map my panel data neatly. I've id & t. I've 5 agricultural crop variables. I've …
How can I count the observations by year (intervals) AND by country?Good day, So I have a data set (panel data) counting lots of variables. But for now I am only inter…
Can I cite the name of the do file?In the do file, I want to save the data using the name of the do flle, how to cite it using macros? …
oaxaca: reference categoryDear Statalisters, I am using the Blinder-Oaxaca decomposition with the following code: Code: oa…
calculating r square for a model estimated with multiply imputed data (mi estimate)Dear all, I would very much appreciate your help with calculating r-squared for models estimated wi…
Subscribe to:
Post Comments (Atom)
0 Response to recoding dummy variables
Post a Comment