loo_donors: Leave-One-Out Donor Analysis

View source: R/diagnostics.R

loo_donorsR Documentation

Leave-One-Out Donor Analysis

Description

Re-estimates SC-CIC dropping one donor at a time to assess sensitivity to individual donors.

Usage

loo_donors(y_treated, y_donors, treatment_period, alpha = 1, seed = 42)

Arguments

y_treated

Numeric vector. Treated unit outcomes.

y_donors

Numeric matrix. Donor unit outcomes.

treatment_period

Integer. First treatment period index.

alpha

Elastic net mixing parameter.

seed

Integer or NULL. Random seed.

Value

A data frame with one row per donor, showing the SC-CIC estimate when that donor is excluded.


sccic documentation built on April 10, 2026, 5:07 p.m.