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))
```
Related Posts with EVENTDD error message with cross section data
cmxtmixlogit - expected probabilities and sign of margin effects First of all, I would like to say that it is my first thread in Statalist. I apologize for any mist…
Creating a New VariableHello Statalist Folks, I have the following annual public survey data where children are being coun…
Pre and post eventHello, I am using Stata 16.1 and I have the following data: gvkey fyear pifo 007435 2015 2424 00…
Generate new variable pasting numbers or textHello, I'm working with U.S natality birth data, and I need to merge this data by year and county wi…
Searching for variable string content into another string variableI have interviewed heads of households and asked their fathers' names. In some cases the father is a…
Subscribe to:
Post Comments (Atom)
0 Response to EVENTDD error message with cross section data
Post a Comment