predict_counterfactual {RobinCID} | R Documentation |
Counterfactual Prediction
Description
Obtain counterfactual prediction of a fit.
Usage
predict_counterfactual(
fit.j,
fit.k,
treatment,
treatments_for_compare,
prob_mat,
post_strata,
data,
stabilize,
settings
)
Arguments
fit.j |
fitted object for trt j. |
fit.k |
fitted object for trt k. |
treatment |
name of treatment column |
treatments_for_compare |
( |
prob_mat |
( |
post_strata |
( |
data |
( |
stabilize |
stabilize |
settings |
estimation setting |
Value
A list of prediction_cf
object with following elements:
-
estimation
: = estimation, -
sample_size
: sample size of ECE population. -
fit.j
: fitted model for the treatment specified in tx_to_compare. -
fit.k
: fitted model for the treatment specified in tx_to_compare.
[Package RobinCID version 1.0.0 Index]