Dear Statalisters,
I have just found this command "ppml_panel_sg" to compute panel PPML structural gravity estimation. I have a panel dataset of 40 countries of origin and 17 destination regions. I want to estimate the determinants of FDI, so I have variables that characterize the regions.
I run the following command in stata
and get an error message that says that variable year is not found. However, my variable it is actually there, I can summarize it and stata shows the output. I ignore if I am typing the command wrong or what can be happening.
I would be very grateful for any comment.
I have just found this command "ppml_panel_sg" to compute panel PPML structural gravity estimation. I have a panel dataset of 40 countries of origin and 17 destination regions. I want to estimate the determinants of FDI, so I have variables that characterize the regions.
I run the following command in stata
Code:
ppm_panel_sg FDI_in lgdp_o lgdp_d, ex (Country_o) im(Region_d) y(Year)
I would be very grateful for any comment.
Comment