I am using stata 14. I am using MICS data of 3 provinces. But the issue is variables are differently coded in all 3 provinces.
Like District variable is coded from 1-36 as there are 36 districts in 1 province. In the province district codes are from 1-29 and in the 3rd province 1-32. When I append these data sets of 3 provinces in different years, only districts are 1-36.
But analyzing and using fixed effects at the district level gives meaningful results. However, when I try to recode districts, it ranges from 1-97 and all my results collapse.
I want to know how to fix this issue.
Like District variable is coded from 1-36 as there are 36 districts in 1 province. In the province district codes are from 1-29 and in the 3rd province 1-32. When I append these data sets of 3 provinces in different years, only districts are 1-36.
But analyzing and using fixed effects at the district level gives meaningful results. However, when I try to recode districts, it ranges from 1-97 and all my results collapse.
I want to know how to fix this issue.
| . | sum HH7 district | div division | |||
| Variable | Obs Mean | Std. Dev. | Min | Max | |
| HH7 | 11,587 16.6383 | 9.422488 | 1 | 36 | |
| district | 11,587 16.6383 | 9.422488 | 1 | 36 | |
| div | 11,587 4.302839 | 2.198942 | 1 | 9 | |
| division | 11,587 4.302839 | 2.198942 | 1 | 9 | |

Comment