honest_splitting {CRE}R Documentation

Honest splitting

Description

Splits data into discovery and inference sub-samples.

Usage

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

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.

Value

A list containing the discovery and inference sub-samples.


[Package CRE version 0.2.7 Index]