Dear everyone,
Im currently doing a rapport about developing countries' export to developed countries, where I (in stata) have to conduct a triple difference analysis combined with fixed effect. Im very new to Stata programme and therefore have issues with it which I hope anyone can help with me.
The data:
I have destination and origin countries (exporter and importer), products (97), and I have tariff data (Ad valorem equivalent, expressed like 0.001809) for these products for 2001, 2004 and 2008. So I have to analyze impact of the developed countries' trade scheme with tariff reduction on the exports from the developing countries.
When I convert the data from excel to Stata all the variables were in string, so I convert the all three tariffs into numeric by typing destring Tariff2001, replace. However the variables come out as Double type. Am I doing it right?
Furthermore, I have integers the destination and origin countries by using encode commend by using encode destination, generate(importer) and encode origin, generate(exporter) so that I have encoded versions of the origin and destination country. This comes out in two colums in the data.
I have to conduct a country-fixed effect (I guess i have to use both importer and exporter?), product-fixed effect (for the 97 products) and year/time-fixed effect (2001, 2004 and 2008) (with this one I don't have any rows or columns with the years). How to I proceed from her? Im a little bit lost on how to do the FE and thereby continue to the Triple difference.
Am I missing out some information? Let me know.
Thanks for the help
Regards, Akane Marie
Im currently doing a rapport about developing countries' export to developed countries, where I (in stata) have to conduct a triple difference analysis combined with fixed effect. Im very new to Stata programme and therefore have issues with it which I hope anyone can help with me.
The data:
I have destination and origin countries (exporter and importer), products (97), and I have tariff data (Ad valorem equivalent, expressed like 0.001809) for these products for 2001, 2004 and 2008. So I have to analyze impact of the developed countries' trade scheme with tariff reduction on the exports from the developing countries.
When I convert the data from excel to Stata all the variables were in string, so I convert the all three tariffs into numeric by typing destring Tariff2001, replace. However the variables come out as Double type. Am I doing it right?
Furthermore, I have integers the destination and origin countries by using encode commend by using encode destination, generate(importer) and encode origin, generate(exporter) so that I have encoded versions of the origin and destination country. This comes out in two colums in the data.
I have to conduct a country-fixed effect (I guess i have to use both importer and exporter?), product-fixed effect (for the 97 products) and year/time-fixed effect (2001, 2004 and 2008) (with this one I don't have any rows or columns with the years). How to I proceed from her? Im a little bit lost on how to do the FE and thereby continue to the Triple difference.
Am I missing out some information? Let me know.
Thanks for the help
Regards, Akane Marie
Comment