fit_prog_rf: Use a separate random forest regression for each post period...

Description Usage Arguments Value

Description

Use a separate random forest regression for each post period to fit E[Y(0)|X]

Usage

1
fit_prog_rf(X, y, trt, avg = FALSE)

Arguments

X

Matrix of covariates/lagged outcomes

y

Matrix of post-period outcomes

trt

Vector of treatment indicator

opts

List of options for randomForest

  • avg Fit the average post-period rather than time periods separately

Value


ebenmichael/ents documentation built on May 31, 2019, 8:45 p.m.