I'm working with data on countries, running separate country models. I have one variable that is coded as 0, 1, 2 and 3 and wish to create dummy variables from it. As one country has values of 0, 1 and 2 (i.e., there is no 3) on this variable, I created three dummy variables with one as the reference category. For a different country which had values of 0 and 1 on this variable, I created two dummy variables with one as the reference category. I was wondering if this is correct? Thank you.
-
Login or Register
- Log in with
Comment