Learn R Programming

PAmeasures (version 0.1.0)

Prediction and Accuracy Measures for Nonlinear Models and for Right-Censored Time-to-Event Data

Description

We propose a pair of summary measures for the predictive power of a prediction function based on a regression model. The regression model can be linear or nonlinear, parametric, semi-parametric, or nonparametric, and correctly specified or mis-specified. The first measure, R-squared, is an extension of the classical R-squared statistic for a linear model, quantifying the prediction function's ability to capture the variability of the response. The second measure, L-squared, quantifies the prediction function's bias for predicting the mean regression function. When used together, they give a complete summary of the predictive power of a prediction function. Please refer to Gang Li and Xiaoyan Wang (2016) for more details.

Copy Link

Version

Install

install.packages('PAmeasures')

Monthly Downloads

185

Version

0.1.0

License

GPL-3

Maintainer

Xiaoyan Wang

Last Published

January 22nd, 2018

Functions in PAmeasures (0.1.0)

pam.coxph

Prediction Accuracy Measures for Cox proportional hazards model
pam.nlm

Prediction Accuracy Measures for Nonlinear Regression Models.
moore

Moore's Law data
pam.censor

Prediction Accuracy Measures for Regression Models of Right-Censored Data
pam.survreg

Prediction Accuracy Measures for Parametric Survival Regression Models