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
Announcing power tworates_zhu: Stata module to calculate sample size or power for a two-sample test of rates (negative binomial regression)Dear Statalisters, I have just posted my program -power tworates_zhu- on SSC. It implements the equ…
GLM for grouped/ blocked population standardized binary data.Sorry for imposing further but I could really use some help. Let me explain more. I have data on in…
correct to use*svy brr syntax with bootstrap weights and svy bootstrap syntax with brr weights?*Dear Statalisters, Is it correct to use the svy brr syntax with bootstrap weights and svy bootstrap…
Compute returns based on lag variableHello, Can you please help me with the following issue: I want to form quantiles based on the credi…
Difference in differences with PPML and Log-OLS reveal substantially different resultsDear Statalisters, I have differences-in-differences setting where I have multiple treatments that o…
Subscribe to:
Post Comments (Atom)
0 Response to EVENTDD error message with cross section data
Post a Comment