Description Usage Arguments Value Examples
seTwoPhase functions
1 2 3 4 5 6 7 8 9 10 11 12 13 | seTwoPhase(
Outcome,
X,
Z,
Stratum,
Phase_ID,
namesX,
namesZ,
q,
p,
numBoot,
method
)
|
Outcome |
vector of length n |
X |
matrix of size n x t (t standard predictors included in the model) |
Z |
matrix of size n x m (m biomarkers included in the model); some subjects have NA values |
Stratum |
vector of length n |
Phase_ID |
vector of length n |
namesX |
names of X; vector of length t |
namesZ |
names of Z; vector of length m |
q |
threshold value for TPR(q) |
p |
threshold value for FPR(p) |
numBoot |
number of bootstrap samples |
method |
"Benchmark", "ML" |
standard error using bootstrap resampling
1 | se_benchmark <- seTwoPhase(Outcome, X, Z, Stratum, Phase_ID, namesX, namesZ, q=0.2, p=0.9, numBoot=1000, method="ML")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.