Skip to contents

Obtain counterfactual prediction of a fit.

Usage

predict_counterfactual(fit, treatment, data)

Arguments

fit

fitted object.

treatment

(formula) formula of form treatment ~ strata(s).

data

(data.frame) raw dataset.

Value

Numeric matrix of counter factual prediction.