Description Usage Arguments Details

View source: R/analyticScreening.R

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

1 | ```
analyticScreening(VL, VX, VLX, prev, thresh)
``` |

`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 here

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.