Description Usage Arguments Value
Fit a bayesian structural time series to fit E[Y(0)|X]
1 | fit_prog_causalimpact(X, y, trt)
|
X |
Matrix of covariates/lagged outcomes |
y |
Matrix of post-period outcomes |
trt |
Vector of treatment indicator |
y0hat Predicted outcome under control
params Model parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.