Learn R Programming

etsi (version 1.0)

exampledataA: Example Data (Study A)

Description

Example Data (Study A)

Usage

data("exampledataA")

Arguments

Format

A data frame with 1000 observations from a treatment group and 1100 observations from a control group:

A

the treatment assignment, where 1 indicates treatment and 0 indicates control

W

the baseline covariate of interest

S

the surrogate outcome

Y

the primary outcome

delta

the indicator for strong surrogacy, where 1 indicates strong and 0 indicates weak

Examples

Run this code
data(exampledataA)
names(exampledataA)

Run the code above in your browser using DataLab