0
$\begingroup$

Can a difference-in-difference test be used with Inverse probability weighting.

Please see my code below

psmatch2 treatment covariate1 covariate2 covariate3

gen ipw=1/_pscore if treatment==1
replace ipw=1/(1-_pscore) if treatment==0


reg roa treatment post treatmentxpost i.year .industryyear i.countryyear, vce(cluster firm)
$\endgroup$
  • 1
    $\begingroup$ Sure it can. The question is why you are doing it. $\endgroup$ – generic_user May 13 '17 at 18:36
  • $\begingroup$ This is Stata code. Best to explain that. $\endgroup$ – Nick Cox May 13 '17 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.