Description Usage Arguments Value
View source: R/simulation.wrap.R
Simulation wrap-up (short-cut name: sim.w)
1 2 3 | simulation.wrap(kfold, data, model, ncores = ncores, method,
g.method = "rf", gps.method = "series", trimLowerBound.t = -4,
trimUpperBound.t = 4, detoured = FALSE)
|
kfold |
number of folds for sample splitting |
data |
data |
model |
model varies from "IV", "CTE" |
ncores |
number of cores we use |
method |
estimation method we choose from double machine learning method ("CDML") and simple regression method ("SR"), Hirano & Imbens method ("HI") |
g.method |
method for regression estimation |
gps.method |
method for generalized propensity score estimation |
trimLowerBound.t |
trimming lower bound of treatment vector |
trimUpperBound.t |
trimming upper bound of treatment vector |
a list of returned objects in function simulation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.