Skip to contents

Implements the placebo-adjusted estimator: for each cohort (and outcome level) subtract the mean pseudo-effect across placebo dates at which the cohort was estimated, and add the variance of that mean to the plug-in variance. The adjustment is indexed by cohort, not age, because the deviation it removes travels with the cohort across waves.

Usage

cdd_adjust(main, placebo, conf = 0.95)

Arguments

main

A cdd object (or data frame with cohort, level, ate, se).

placebo

Output of cdd_placebo().

conf

Confidence level.

Value

main with added columns delta (mean pseudo-effect), n_p, ate_adj, se_adj, lower_adj, higher_adj.