I'm working with BRFSS data and its a cross section data. Need to create event study analysis and I ran the following command with " eventdd " developed by damian clarke but it's returning me the error " baseline not found
r(198); " . Any suggestion where I'm going wrong ?

```
g time_to_treat = year - law
replace time_to_treat = 0 if missing(law)
g treat = !missing(law)

qui eventdd insured male i.age white black asian hispanic lths hsgrad higheduc i.year i.statefip , fe timevar(time_to_treat) ci(rcap) noline baseline(-11) cluster(statefip) graph_op(ytitle("Effect of law on Ins") xlabel(-20(5)25))

```