powered by
Hypothetical data for example
data("exampledata")
the primary outcome
the surrogate marker
the treatment group indicator where 1 is treatment and 0 is control
data(exampledata)
Run the code above in your browser using DataLab