Pools all respondents aged lo to hi into a single estimate (midpoint age
with half-width (hi - lo)/2).
Arguments
- data
A data frame of repeated cross-sections.
- outcome
Name of the outcome column. Categorical outcomes are expanded into one linear probability equation per level unless
continuous = TRUE.- onset
Onset year of the shock. Pre-shock waves are those strictly before it.
- wave
The treated survey wave (year) whose respondents are the treated sample.
- waves
Treated waves; defaults to
wave.- lo, hi
Age range.
- ...
Further arguments passed to
cdd().