synthdid_controls: Outputs a table of important synthetic controls and their...

View source: R/summary.R

synthdid_controlsR Documentation

Outputs a table of important synthetic controls and their corresponding weights, sorted by weight. The table is truncated to exclude synthetic controls that do not matter for any estimate — for each estimate, the truncated controls may have total weight no larger that 1-mass.

Description

Outputs a table of important synthetic controls and their corresponding weights, sorted by weight. The table is truncated to exclude synthetic controls that do not matter for any estimate — for each estimate, the truncated controls may have total weight no larger that 1-mass.

Usage

synthdid_controls(estimates, sort.by = 1, mass = 0.9, weight.type = "omega")

Arguments

estimates,

a list of estimates output by synthdid_estimate. Or a single estimate.

sort.by,

the index of the estimate to sort by. Defaults to 1.

mass,

which controls the length of the table. Defaults to 0.9.

weight.type,

'omega' for units, 'lambda' for time periods


synth-inference/synthdid documentation built on Jan. 26, 2024, 7:21 a.m.