Dear Statalist,
I am Giulia and this is my first post. I am working on a paper studying the effects of Non-Tariff Measures (SPS and TBT) on Processed Food Exports. I have 149 countries, 13 years and 56 product lines for a total of 16,053,856 observations (exporter * importer * year *product). I constructed a dummy variable for both SPSjikt and TBTjikt notifications. The dummies pick up value 1 from year t and onwards if the importing country i imposed at least one sps/tbt measure on product line k in year t. The vector of the other variables includes standard gravity covariates.
I tried to use the ppml_panel_sg command by typing:
ppml_panel_sg trade sps tbt, ex(iso_o) im(iso_d) y(year) ind(HS) sym cluster(id)
where id=group(iso_o iso_d HS),the variable I used to set the panel dimension of the dataset.
What Stata returns is the following:
“Checking for possible non-existence issues...
note: sps omitted because of collinearity over lhs>0 (creates possible existence issue)
note: tbt omitted because of collinearity over lhs>0 (creates possible existence issue)
Error: all main covariates appear to be collinear with the implied set of fixed effects”
I have no clue regarding a possible solution to this problem. Alternatively, I was thinking about a two-stage procedure (à la Helpman-Melitz-Rubinstein) to take into account all the zeros. In particular, to run a Probit estimation for the first stage and then using the areg command for the second stage, absorbing the exporter-time, importer-time and pair FE.
Any suggestion would be greatly appreciated.
Thanks in advance,
Giulia
I am Giulia and this is my first post. I am working on a paper studying the effects of Non-Tariff Measures (SPS and TBT) on Processed Food Exports. I have 149 countries, 13 years and 56 product lines for a total of 16,053,856 observations (exporter * importer * year *product). I constructed a dummy variable for both SPSjikt and TBTjikt notifications. The dummies pick up value 1 from year t and onwards if the importing country i imposed at least one sps/tbt measure on product line k in year t. The vector of the other variables includes standard gravity covariates.
I tried to use the ppml_panel_sg command by typing:
ppml_panel_sg trade sps tbt, ex(iso_o) im(iso_d) y(year) ind(HS) sym cluster(id)
where id=group(iso_o iso_d HS),the variable I used to set the panel dimension of the dataset.
What Stata returns is the following:
“Checking for possible non-existence issues...
note: sps omitted because of collinearity over lhs>0 (creates possible existence issue)
note: tbt omitted because of collinearity over lhs>0 (creates possible existence issue)
Error: all main covariates appear to be collinear with the implied set of fixed effects”
I have no clue regarding a possible solution to this problem. Alternatively, I was thinking about a two-stage procedure (à la Helpman-Melitz-Rubinstein) to take into account all the zeros. In particular, to run a Probit estimation for the first stage and then using the areg command for the second stage, absorbing the exporter-time, importer-time and pair FE.
Any suggestion would be greatly appreciated.
Thanks in advance,
Giulia
Comment