I am trying to study intergenerational mobility in India by using the Indian Human Development Survey Data. I have matched the household and individual data but I cannot create separate variables for regression analysis.
I want to create separate variables for Muslims, SC/STs, and General/Forward (Brahmin, Christian, Sikh, and Jain).
The available information which I have are-
- ID11: Religion which takes the following values:
Hindu1, Muslim2, Christian3, Sikh4, Buddhist5, Jain6, Tribal7, Others8, None9
The values attached to them are 1, 2, 3, 4, 5, 6, 7, 8 and 9 - ID13: Caste Category
Brahmin1, Forward/General2, OBCs3, SC4, ST5, Others6
The values attached to them are 1, 2, 3, 4, 5, 6
Example: Muslims come under Forward, OBCs, SCs, and STs caste groups. So I do not know how to combine them to create a dummy for Muslims.
0 Response to How to create dummy variables from two variables?
Post a Comment