Hello!
I have this categorical variable "education"
No education 0
High School 1
Collage 2
PhD 3
I want to make new variable based on existing education variable, like this:
No Education 0 1 (if you don't have education 0, if you have other education 1)
High school 0 1 (if you have high school education 0, if you have other education 1)
Collage 0 1
PhD 0 1
I know I have to use generate, but after that i'm blank.
0 Response to how to make new variable based on existing variable?
Post a Comment