Hi all
A classmate of mine and I are writing our master thesis on the effect of exchange rates on migration flow towards and from Germany.
We wanted to run a PPML regression of type:
immigrant flow= constant + real_exchange rate+gdp_Germany+gdp_origin country
the sample period is 1990-2008, the migration flows from 168 countries to Germany
real_exchange rates- the bilateral exchange rates between the German currency and each of the respective 168 countries in the sample
We would like to account for the year and country fixed effects, however, we do not know how to include this in the PPML estimator. How do we create these fixed effects and how would they be included in the regression.
Moreover, is it possible to limit the PPML to only one country by including an "if "function that would restrict it to a specific country? Is it possible to do the same for a specific year?
Also, do you think that the PPML model is suitable for our analysis?
Thank you in advance

A classmate of mine and I are writing our master thesis on the effect of exchange rates on migration flow towards and from Germany.
We wanted to run a PPML regression of type:
immigrant flow= constant + real_exchange rate+gdp_Germany+gdp_origin country
the sample period is 1990-2008, the migration flows from 168 countries to Germany
real_exchange rates- the bilateral exchange rates between the German currency and each of the respective 168 countries in the sample
We would like to account for the year and country fixed effects, however, we do not know how to include this in the PPML estimator. How do we create these fixed effects and how would they be included in the regression.
Moreover, is it possible to limit the PPML to only one country by including an "if "function that would restrict it to a specific country? Is it possible to do the same for a specific year?
Also, do you think that the PPML model is suitable for our analysis?
Thank you in advance
Comment