Learn R Programming

CRE (version 0.2.7)

honest_splitting: Honest splitting

Description

Splits data into discovery and inference sub-samples.

Usage

honest_splitting(y, z, X, ratio_dis, ite = NULL)

Value

A list containing the discovery and inference sub-samples.

Arguments

y

An observed response vector.

z

A treatment vector.

X

A features matrix.

ratio_dis

A double number indicating the ratio of data delegated to the discovery sub-sample.

ite

A vector of estimated ITE.