Hi,
I have a panel dataset with individuals observed over 8 years. I'm estimating an event study design to identify selected outcomes of a treated group in comparison to a control group (these groups are defined based on industries in which the individuals are employed). To make the two groups more comparable, I want to do exact matching based only on the 4-digit occupation code in each industry (a categorical variable). Is there a command to do this in Stata? So far what I have come across is coarsened exact matching, which from my understanding is more appropriate for matching on one or more continuous variables, and which does not seem to work in my setting.
I'm looking for a command that would match individuals in the two groups simply based on their 4-digit occupation code, so that I would be comparing individuals working in the same exact occupations across the two industries. I assume this can be done manually too, given that matching is on just one variable, but I am not sure how to do this either. Any help on this would be greatly appreciated. Due to privacy issues, I am unfortunately not able to share the actual dataset. What I have is the individual id, year, occupation code, treatment status (belonging to one of two industries), and outcome variables such as income and social welfare support. The occupation code is the same for a given individual across years.
Thank you very much.
Ashani
I have a panel dataset with individuals observed over 8 years. I'm estimating an event study design to identify selected outcomes of a treated group in comparison to a control group (these groups are defined based on industries in which the individuals are employed). To make the two groups more comparable, I want to do exact matching based only on the 4-digit occupation code in each industry (a categorical variable). Is there a command to do this in Stata? So far what I have come across is coarsened exact matching, which from my understanding is more appropriate for matching on one or more continuous variables, and which does not seem to work in my setting.
I'm looking for a command that would match individuals in the two groups simply based on their 4-digit occupation code, so that I would be comparing individuals working in the same exact occupations across the two industries. I assume this can be done manually too, given that matching is on just one variable, but I am not sure how to do this either. Any help on this would be greatly appreciated. Due to privacy issues, I am unfortunately not able to share the actual dataset. What I have is the individual id, year, occupation code, treatment status (belonging to one of two industries), and outcome variables such as income and social welfare support. The occupation code is the same for a given individual across years.
Thank you very much.
Ashani
Comment