data_cat_realistic: Mock data set with Categorical Treatment and rare treatment

data_cat_realisticR Documentation

Mock data set with Categorical Treatment and rare treatment

Description

A dataset with a simple data structure O = (A, Y, W), where outcome (Y) is binary and treatment (A) is categorical, with one of the categories having low probability. This is a simple dataset designed specifically to illustrate the TMLE estimation procedure with realistic intervention.

Usage

data_cat_realistic

Format

A data.frame with 6 columns.

Y

A binary variable representing an outcome of interest.

A

A binary variable representing an intervention of interest.

W1

A categorical variable representing a covariate of interest.

W2

A categorical variable representing a covariate of interest.

W3

A categorical variable representing a covariate of interest.

W4

A categorical variable representing a covariate of interest.


tlverse/tmle3mopttx documentation built on Aug. 9, 2022, 3:31 p.m.