cf_dml1: This function implements the 50:50 cross-fitting

Description Usage Arguments Value

View source: R/CATEs_utils.R

Description

This function implements the 50:50 cross-fitting

Usage

1
cf_dml1(est, y, d, x, np, xnew, index, args_tau = list())

Arguments

est

Vector of outcome values

d

Vector of treament indicators

x

Matrix of covariates (N x p matrix)

index

List indicating indices for cross-fitting (e.g. obtained by createFolds of caret pkg)

args_p

List of arguments passed to estimate propensity score model

args_y

List of arguments passed to estimate outcome model

args_y1

List of arguments passed to estimate outcome model of treated

args_y0

List of arguments passed to estimate outcome model of non-treated

Value

Returns n x 4 matrix containing the nuisance parameters #'


MCKnaus/CATEs documentation built on Sept. 11, 2021, 10:12 p.m.