PTE estimation with discrete surrogate marker

pte_disc(sob, yob, aob, var = TRUE, conf.int = TRUE, rep = 500)

Arguments

sob

DISCRETE 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)