I just need a bit of clarification:
Is it imperative to have dummy variables as 0/1 values or having them as 1/2 doesn't matter when carrying out regressions in stata. I have realized most survey data code the dummies as 1/2
If yes, what's the logic behind having the dummy variables recoded as 0/1?
And what about categorical variables? Should they also start from 0, 1,2....or they can remain as 1,2,3,....
Thank you.
Is it imperative to have dummy variables as 0/1 values or having them as 1/2 doesn't matter when carrying out regressions in stata. I have realized most survey data code the dummies as 1/2
If yes, what's the logic behind having the dummy variables recoded as 0/1?
And what about categorical variables? Should they also start from 0, 1,2....or they can remain as 1,2,3,....
Thank you.
Comment