summaryTwoPhase: summaryTwoPhase functions

Description Usage Arguments Value Examples

View source: R/twophase.R

Description

summaryTwoPhase functions

Usage

1
summaryTwoPhase(eval_vec, se_vec, q, p, method)

Arguments

q

threshold value for TPR(q)

p

threshold value for FPR(p)

method

"Benchmark", "ML"

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

numBoot

number of bootstrap samples

Value

return the summary. TPR,FPR,AUC together with their standard error estimates

Examples

1
summaryTwoPhase(est_ml, se_ml, q=0.2, p=0.2, method="ML")

yaqicao/TwoPhaseAccuracy documentation built on Dec. 23, 2021, 7:16 p.m.