View source: R/synthetic.control.R
Estimates synthetic control predicted values. Gurobi optimizer required.
1 | synthetic.control(Y, X, space, penalty = 0)
|
Y |
The outcome (post-treatment) variables for the control group |
X |
The features on which to match, usually pre-treatment outcomes |
space |
Space on which to predict, typically pre-treatment for treated group |
penalty |
The penalty for penalized synthetic control. Defaults to 0 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.