Description Usage Arguments Value References See Also
Solves for synthetic control weights up to the designated treatment period.
1 | sc_estimator(donors, treated, treatment, nogurobi)
|
donors |
A TxN matrix of outcome paths for untreated units, each column being a control unit. |
nogurobi |
A logical value. If true, uses LowRankQP to solve the synthetic control estimator,
rather than |
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). |
A list. The named component weights.sc
contains the vector of synthetic control weights.
Weights are ordered in the same manner as the columns in donors
.
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, 2019.
Other masc functions:
cv_masc()
,
masc_by_phi()
,
masc()
,
solve_masc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.