I currently have a variable called "Residence" which takes on two values: Urban and Rural
I'm generating a new variable called "Rural" which will take on values 1 for rural and 0 for urban. I'm creating this new variable based on this variable "Residence".
With the gen command, I'm facing problems of "type mismatch"
What should I do?
I'm generating a new variable called "Rural" which will take on values 1 for rural and 0 for urban. I'm creating this new variable based on this variable "Residence".
With the gen command, I'm facing problems of "type mismatch"
What should I do?
Comment