simulation.wrap: Simulation wrap-up (short-cut name: sim.w)

Description Usage Arguments Value

View source: R/simulation.wrap.R

Description

Simulation wrap-up (short-cut name: sim.w)

Usage

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)

Arguments

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

Value

a list of returned objects in function simulation.


fadedsoul/cdml documentation built on May 14, 2019, 8:01 a.m.