Learn R Programming

etsi (version 1.0)

exampledataB: Example Data (Study B)

Description

Example Data (Study B)

Usage

data("exampledataB")

Arguments

Format

A data frame with 500 observations from a treatment group and 400 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(exampledataB)
names(exampledataB)

Run the code above in your browser using DataLab