sc_estimate | R Documentation |
synthdid_estimate for synthetic control estimates. Takes all the same parameters, but by default, passes options to use the synthetic control estimator By default, this uses only 'infinitesimal' ridge regularization when estimating the weights.
sc_estimate(Y, N0, T0, eta.omega = 1e-06, ...)
Y |
the observation matrix. |
N0 |
the number of control units. Rows 1-N0 of Y correspond to the control units. |
T0 |
the number of pre-treatment time steps. Columns 1-T0 of Y correspond to pre-treatment time steps. |
eta.omega |
determines the level of ridge regularization, zeta.omega = eta.omega * noise.level, as in synthdid_estimate. |
... |
additional options for synthdid_estimate |
an object like that returned by synthdid_estimate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.