Hi Stata users,
I'm trying to run a gravity model on a panel of 43 countries and 15 years using the World Input-Output Dataset (WIOD) but am having some issues with convergence. When I estimate models by sector, with a number of standard gravity variables (i.e. distance, language, etc), the model converges for some sectors but not for all. My preference for estimating my models via PPML is to use the glm command (due to the syntax being similar to reg which I use for estimating in logarithms) with the poisson distribution specified. I've also run the model on the ppml_panel_sg & poi2hdfe commands and found the same result.
I know the issues identified by Joao Santo-Silva and Silvana Tenreyro (https://www.sciencedirect.com/scienc...832?via%3Dihub) that non-convergence can be caused by complete separation of the variables. I've tried using the test that they specify to identify and remove the separated problem variables, but its suggesting that none of the variables are separated (collinear for tradeflow>0). This test is also run by the ppml_panel-sg command, it didn't identify any non-existence issues either but still failed to converge)
Does anyone have any experience of the model still failing to converge? I've looked for other posts here and for academic papers on the problem but have had no joy. Alternatively, are there situations where the proposed test for separation doesn't identify the issue?
I use Stata 15 SE on a Windows computer.
Many thanks for you help!
Elliot
I'm trying to run a gravity model on a panel of 43 countries and 15 years using the World Input-Output Dataset (WIOD) but am having some issues with convergence. When I estimate models by sector, with a number of standard gravity variables (i.e. distance, language, etc), the model converges for some sectors but not for all. My preference for estimating my models via PPML is to use the glm command (due to the syntax being similar to reg which I use for estimating in logarithms) with the poisson distribution specified. I've also run the model on the ppml_panel_sg & poi2hdfe commands and found the same result.
I know the issues identified by Joao Santo-Silva and Silvana Tenreyro (https://www.sciencedirect.com/scienc...832?via%3Dihub) that non-convergence can be caused by complete separation of the variables. I've tried using the test that they specify to identify and remove the separated problem variables, but its suggesting that none of the variables are separated (collinear for tradeflow>0). This test is also run by the ppml_panel-sg command, it didn't identify any non-existence issues either but still failed to converge)
Does anyone have any experience of the model still failing to converge? I've looked for other posts here and for academic papers on the problem but have had no joy. Alternatively, are there situations where the proposed test for separation doesn't identify the issue?
I use Stata 15 SE on a Windows computer.
Many thanks for you help!
Elliot
Comment