friosavila / csdid_drdid

Repository for the implementation of csdid and drdid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Options not allowed

nbreg opened this issue · comments

Hi Fernando,

Thanks for making this fantastic package! I have installed it both from SSC and then from your website using net install. In both cases, I run into an error if I try to use some options, particularly agg() or wboot. For example, following your tutorial, this runs successfully:

`use https://friosavila.github.io/playingwithstata/drdid/mpdta.dta, clear

csdid lemp lpop , ivar(countyreal) time(year) gvar(first_treat) method(dripw)`

However, when I run the following, I get the error agg not allowed:

csdid lemp lpop , ivar(countyreal) time(year) gvar(first_treat) method(dripw) /// agg(event) saverif(rif_example) wboot replace rseed(1)

Further, if I take out the agg, I get wboot not allowed.

Any idea what might be the problem?

Thanks!
Nate

Thanks for the suggestion. I tried deleting the ado files for csdid and drdid and reinstalling from SSC, but still the same errors appear, unfortunately.