Description Usage Arguments Value
Use a separate random forest regression for each post period to fit E[Y(0)|X]
1 | fit_prog_rf(X, y, trt, avg = FALSE)
|
X |
Matrix of covariates/lagged outcomes |
y |
Matrix of post-period outcomes |
trt |
Vector of treatment indicator |
opts |
List of options for randomForest
|
y0hat Predicted outcome under control
params Regression parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.