Dear all
I am evaluating the effect on american imports of the trade war dispute between China and the US.
I am using the reghdfe and ppmlhdfe and my question relates to in which dimensions I should cluster my standard errors.
Question 1:
Firstly, I want to evaluate the effects of the different tariff rounds for american imports from China (Products subject to a tariff compared to those not subject to tarif). E.i my dimensions in the panel data are product and time. Additional I control for seasonality of products by interacting product fixed effect with month fixed effect (i.product#i.month)
Should I then cluster my standard errors on both time, products and seasonality or only products with seasonality or products without seasonality?
To clarify, which one of these are the most appropriate and why?
A) ppmlhdfe Y X, abs(i.product#i.month i.time) vce(cluster i.product#i.month i.time)
B) ppmlhdfe Y X, abs(i.product#i.month i.time) vce(cluster i.product#i.month)
C) ppmlhdfe Y X, abs(i.product#i.month i.time) vce(cluster i.product)
Y = American imports from China
X = Tariff rounds
Question 2:
Secondly, I want to evaluate the "indirect" effect of the different tariff rounds for american imports from EU countries. My panel data have now three dimensions: Exporter, Product and Time.
I still control for seasonality for a product in a specific country. (i.exporter#i.product#i.month)
Again how should I correctly cluster my standard errors and why:
A) ppmlhdfe Y X, abs(i.exporter#i.product#i.month i.time) vce(cluster i.exporter#i.product#i.month i.time)
B) ppmlhdfe Y X, abs(i.exporter#i.product#i.month i.time) vce(cluster i.exporter#i.product#i.month)
C) ppmlhdfe Y X, abs(i.exporter#i.product#i.month i.time) vce(cluster i.exporter#i.product)
Y = American imports from EU country i
X = Tariff rounds
Dear Joao Santos Silva I have been following you in the attempt to find an answer on these questions. But unfortunately have not been able to find it so far. However, I believe that you might be able to answer this question?
Thank you in advance
Best
Rasmus
Related Posts with ppml cluster - Gravity on product level with only one importer
Time series operators to find optimal lag in a regressionI am doing a study correlating stock market (S&P 500) valuations to future annual market returns…
The problem with creating dummy variablesHi Statalists, I am trying to find the relationship between the change in labour productivity (depen…
Count how many units have the dummy variable=1Hi I have data for 353 local authorities over 20 quarters and one of my variables is a dummy variabl…
Standard errors with spxtregressHello, I have looked everywhere in the manual, but there does not seem to be an option to compute h…
Matching Case-Control Code NeededHello Everyone! I'm wondering if someone could help me with the code for matching a case-control pop…
Subscribe to:
Post Comments (Atom)
0 Response to ppml cluster - Gravity on product level with only one importer
Post a Comment