Description Usage Arguments Value References See Also
Solves separately for synthetic control weights and matching weights for a given matching estimator, using data up to the treatment period.
1 2 3 4 5 6 7 8 9 10 11 | solve_masc(
treated,
donors,
treated.covariates,
donors.covariates,
treatment,
sc_est,
match_est,
tune.pars,
...
)
|
donors |
A TxN matrix of outcome paths for untreated units, each column being a control unit. |
sc_est |
A |
treated: |
A Tx1 matrix of outcomes for the treated unit. |
treatment: |
An integer. The period T' in which forecasting begins (either the true treatment period or the first period after a cross-validation fold). |
tune_pars |
A
|
A list containing the weights associated with the two estimators. Weights are ordered
in the same manner as the columns in donors
. The weights.sc
and weights.match
named components contain the vector of synthetic control and nearest neighbor weights respectively.
The objval.sc
component contains the objective value (pre-period fit) of the synthetic control.
Kellogg, M., M. Mogstad, G. Pouliot, and A. Torgovitsky. Combining Matching and Synthetic Control to Trade off Biases from Extrapolation and Interpolation. Working Paper, 2021
Other masc functions:
cv_masc()
,
masc_by_phi()
,
masc()
,
sc_estimator()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.