Learn R Programming

PredictABEL (version 1.2-4)

Assessment of Risk Prediction Models

Description

We included functions to assess the performance of risk models. The package contains functions for the various measures that are used in empirical studies, including univariate and multivariate odds ratios (OR) of the predictors, the c-statistic (or area under the receiver operating characteristic (ROC) curve (AUC)), Hosmer-Lemeshow goodness of fit test, reclassification table, net reclassification improvement (NRI) and integrated discrimination improvement (IDI). Also included are functions to create plots, such as risk distributions, ROC curves, calibration plot, discrimination box plot and predictiveness curves. In addition to functions to assess the performance of risk models, the package includes functions to obtain weighted and unweighted risk scores as well as predicted risks using logistic regression analysis. These logistic regression functions are specifically written for models that include genetic variables, but they can also be applied to models that are based on non-genetic risk factors only. Finally, the package includes function to construct a simulated dataset with genotypes, genetic risks, and disease status for a hypothetical population, which is used for the evaluation of genetic risk models.

Copy Link

Version

Install

install.packages('PredictABEL')

Monthly Downloads

1,035

Version

1.2-4

License

GPL (>= 2)

Maintainer

Suman Kundu

Last Published

March 9th, 2020

Functions in PredictABEL (1.2-4)

fitLogRegModel

Function to fit a logistic regression model.
plotPriorPosteriorRisk

Function to plot posterior risks against prior risks.
ExampleModels

An example code to construct a risk model using logistic regression analysis.
ExampleData

A hypothetical dataset that is used to demonstrate all functions.
plotROC

Function for a receiver operating characteristic curve (ROC) plot and area under the ROC curve (AUC) value.
plotDiscriminationBox

Function for box plots of predicted risks separately for individuals with and without the outcome of interest.
PredictABEL-package

An R package for the analysis of (genetic) risk prediction studies.
predRisk

Function to compute predicted risks for all individuals in the dataset.
plotCalibration

Function for calibration plot and Hosmer-Lemeshow goodness of fit test.
ORmultivariate

Function to obtain multivariate odds ratios from a logistic regression model.
riskScore

Function to compute genetic risk scores.
plotRiskDistribution

Function to plot histogram of risks separated for individuals with and without the outcome of interest.
simulatedDataset

Function to construct a simulated dataset containing individual genotype data, genetic risks and disease status for a hypothetical population.
plotRiskscorePredrisk

Function to plot predicted risks against risk scores.
reclassification

Function for reclassification table and statistics.
plotPredictivenessCurve

Function for predictiveness curve.