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
Tobit regression generating predicted values above the censored limit.Hi all ! I am running the tobit model on stata 14.1 with the following command: tobit effscr lnta_…
How is this construct `=function(argument)', `=scalar_name', `=scalar_value' etc. called, and where can I read more about it?Nick Cox is putting to good use a construct which has same form like dereferencing of a local, excep…
Confusion about when to use SUR estimation (sureg) or Multivariate regression (mvreg)I am having a problem deciding between seemingly unrelated regression (sureg) and multivariate regre…
the regression constant in oglmHow do I get the regression constant in oglm? …
CounterHi all, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc ins…
Subscribe to:
Post Comments (Atom)
0 Response to EVENTDD error message with cross section data
Post a Comment