Hi!
I am examining whether a policy change leads to higher return on assets (ROA) for a treatment group (TREAT=1) relative to a control group (TREAT=0) using a difference-in-difference test with frequency weights obtained from propensity score matching.
As a robustness test, we are interested in block bootstrapping standard errors. We have tried adding vce(bootstrap, varlist(FIRM)) to the regression but receive the error message below. Note that we are trying to bootstrap standard errors at the firm-level since it is there that we have the variation.
This is the regression we are running
ROA: Endogenous variable
TREAT=1 if treatment firm that receive the treatment and =0 if control firm
POST equals 0 before policy adoption and 1 after
TREAT*POST is the difference-in-difference estimator
i.FIRM denotes firm fixed effects
i.INDUSTRY*YEAR denotes industry-year fixed effects
i.COUNTRY*YEAR denotes country-year fixed effects
Does anyone know how to solve this? I have seen other solutions when you have probability weights (pweights) but not for frequency weights.
Many thanks!
I am examining whether a policy change leads to higher return on assets (ROA) for a treatment group (TREAT=1) relative to a control group (TREAT=0) using a difference-in-difference test with frequency weights obtained from propensity score matching.
As a robustness test, we are interested in block bootstrapping standard errors. We have tried adding vce(bootstrap, varlist(FIRM)) to the regression but receive the error message below. Note that we are trying to bootstrap standard errors at the firm-level since it is there that we have the variation.
weights not allowed r(101);
Code:
reg ROA TREAT POST TREAT*POST i.FIRM i.INDUSTRY*YEAR i.COUNTRY*YEAR [fweight=WEIGHT], vce(bootsrap, varlist(FIRM)
TREAT=1 if treatment firm that receive the treatment and =0 if control firm
POST equals 0 before policy adoption and 1 after
TREAT*POST is the difference-in-difference estimator
i.FIRM denotes firm fixed effects
i.INDUSTRY*YEAR denotes industry-year fixed effects
i.COUNTRY*YEAR denotes country-year fixed effects
Does anyone know how to solve this? I have seen other solutions when you have probability weights (pweights) but not for frequency weights.
Many thanks!
Comment