| sensitivity_alpha | R Documentation |
Re-estimates the SC-CIC treatment effect over a grid of elastic net penalty parameters, showing sensitivity to the regularization choice.
sensitivity_alpha(
y_treated,
y_donors,
treatment_period,
alphas = seq(0, 1, 0.2),
seed = 42
)
y_treated |
Numeric vector. Treated unit outcomes. |
y_donors |
Numeric matrix. Donor unit outcomes. |
treatment_period |
Integer. First treatment period index. |
alphas |
Numeric vector. Grid of alpha values to evaluate.
Default is |
seed |
Integer or |
A data frame with columns alpha, tau_cic,
tau_did, n_donors, and pre_rmse.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.