Estimate Maximal AUC
This function allows the user to estimate the maximal AUC based on
population prevalence (K) and proportion of variance
explained (pve).
Here, we can use the example of type II diabetes provided in the original manuscript:
max_auc(k = 0.13, pve = 0.26)
#> [1] 0.8882527Estimate optimal sensitivity
This function estimates the optimal (maximal or minimal) sensitivity of a PRS
opt_se(k = 0.13, pve = 0.26, sp = 0.99)
#> [1] 0.3553533Estimate optimal specificity
opt_sp(k = 0.13, pve = 0.26, se = 0.99)
#> [1] 0.7367567