estimate | R Documentation |
Fit a CDE estimator with the engines specified in the model_spec
object.
estimate(
object,
formula,
data,
subset,
crossfit = TRUE,
n_folds,
n_splits = 1L
)
object |
A |
formula |
A formula object with describing the outcome of interest on the left-hand side and the treatment variables the user wants to estimate effects for (which might be a subset of the treatment variables specified). |
data |
A |
subset |
Anan optional vector specifying a subset of observations to be used in the fitting process. |
crossfit |
A logical indicator for if cross-fitting should be used in estimating the effects. |
n_folds |
The number of folds to use within a given instance of the cross-fitting algorithm. |
n_splits |
The number of times the cross-fitting procedure should be repeated. Overall estimates use the median value of these repeated estimates. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.