Dear Statalist,
I'm currently working on my master dissertation, and I'm facing difficulties in finding the appropriate codes for what seems like a relatively simple problem. Given the pressing nature of my project and the limited time available, I kindly request the assistance of anyone who has experience in this topic. Your support would be very meaningful to me.
In my dataset, I have 1,141 treated firms and 37,000 control firms. I aim to match each treated firm with a control firm based on an exact match of country and industry codes, as well as the nearest propensity score (which I have already computed). My desired outcome is a table that displays the matched pairs. Despite searching through the forum and attempting different codes, I have been unsuccessful in achieving this. I would greatly appreciate any assistance with this matter.
Regarding the country and industry codes, I am unsure whether they should be set as "string" or "numeric" data types. I'm also curious about the potential impact on the execution of the code.
If I want to consider two scenarios: (1) one control firm for each treated firm; and (2) one control firm can be matched with multiple treated firms, what should the codes be for these two particular scenarios?
Thank you in advance for any help you can provide.
I'm currently working on my master dissertation, and I'm facing difficulties in finding the appropriate codes for what seems like a relatively simple problem. Given the pressing nature of my project and the limited time available, I kindly request the assistance of anyone who has experience in this topic. Your support would be very meaningful to me.
In my dataset, I have 1,141 treated firms and 37,000 control firms. I aim to match each treated firm with a control firm based on an exact match of country and industry codes, as well as the nearest propensity score (which I have already computed). My desired outcome is a table that displays the matched pairs. Despite searching through the forum and attempting different codes, I have been unsuccessful in achieving this. I would greatly appreciate any assistance with this matter.
Regarding the country and industry codes, I am unsure whether they should be set as "string" or "numeric" data types. I'm also curious about the potential impact on the execution of the code.
If I want to consider two scenarios: (1) one control firm for each treated firm; and (2) one control firm can be matched with multiple treated firms, what should the codes be for these two particular scenarios?
Thank you in advance for any help you can provide.
Comment