PTE estimation with continuous surrogate marker
pte_cont(sob, yob, aob, var = TRUE, conf.int = TRUE, rep = 500)
sob | CONTINUOUS surrogate marker |
---|---|
yob | outcome of interest (continuous or binary) |
aob | treatment assignment (1: treatment; 0: control) |
var | whether variance should be calculated (TRUE/FALSE) |
conf.int | whether 95% confidence intervals should be calculated (TRUE/FALSE) |
rep | number of resampling replications (default is 500) |