analyticFamilyWise: Analytic family-wise measures of predictive accuracy

Description Usage Arguments Details

View source: R/analyticFamilyWise.R

Description

Analytic calculation of family-wise sensitivity, specificity, positive and negative predictive value, concordance and net benefit, under a multivariate liability threshold model.

Usage

1
analyticFamilyWise(VL, VX, VLX, prev, thresh, target)

Arguments

VL

Variance-covariance matrix of liability. Must have 1 on diagonal.

VX

Variance-covariance matrix of predictors. Diagonal entries are the liability variances explained for each trait ("heritabilities")

VLX

Cross-covariance matrix between liabilities and predictors. Entry on row i, column j, is covariance between liability i and predictor j.

prev

Vector of prevalences, ie population risks, for each trait

thresh

Vector of risk thresholds for predicting an event.

target

Target trait vector for calculating joint measures of accuracy.

Details

Details here


DudbridgeLab/multipred documentation built on Nov. 18, 2017, 6:49 a.m.