fit_prog_cits: Fit a Comparitive interupted time series to fit E[Y(0)|X]

Description Usage Arguments Value

View source: R/outcome_models.R

Description

Fit a Comparitive interupted time series to fit E[Y(0)|X]

Usage

1
fit_prog_cits(X, y, trt, poly_order = 1, weights = NULL)

Arguments

X

Matrix of covariates/lagged outcomes

y

Matrix of post-period outcomes

trt

Vector of treatment indicator

poly_order

Order of time trend polynomial to fit, default 1

weights

Weights to use in WLS, default is no weights

Value


ebenmichael/augsynth documentation built on May 26, 2019, 2:31 p.m.