estimate_model {causalOT} | R Documentation |
Function to estimate outcome models
Description
Function to estimate outcome models
Usage
estimate_model(data, causalWeights, model.function, separate.estimation, ...)
Arguments
data |
A |
causalWeights |
A causalWeights object |
model.function |
The model function passed by the user |
separate.estimation |
TRUE or FALSE, should models be estimated separately in each group? |
... |
Extra agruments passed to the predict functions |
Value
a list with slots y_hat_0
, y_hat_1
, and fit
.
[Package causalOT version 1.0.2 Index]