Hello!
Can you tell me how to pull out one of the 4 categorical options of the education variable so that those who finish university can be a separate dummy variable, reducing the categories for the education indicator to only 3:
a) Less than primary completed,
b) Primary completed and
c) Secondary completed?
I've tried changing them each to binary but then I don't know how to assemble again the 3 that I want to remain a single categorical variable. Maybe there is a more straightforward way?
Thanks in advance
Heather
0 Response to Transforming a categorical variable into 1 categorical and 1 binary
Post a Comment