sc_weights: Extract Synthetic Control Weights

View source: R/diagnostics.R

sc_weightsR Documentation

Extract Synthetic Control Weights

Description

Returns a data frame of donor weights from an SC-CIC fit, sorted by absolute weight. Useful for inspecting which donors contribute to the synthetic control.

Usage

sc_weights(x, nonzero_only = TRUE)

Arguments

x

An object of class "sc_cic".

nonzero_only

Logical. If TRUE (default), only return donors with nonzero weights.

Value

A data frame with columns donor and weight.


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