Skip to content

PAmeasures

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

v0.1.0 · Jan 22, 2018 · GPL-3

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) <arXiv:1611.03063> for more details.

Downloads

253

Last 30 days

17456th

594

Last 90 days

2.3K

Last year

Trend: +50.6% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiaoyan Wang<xywang@ucla.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaoyan",
                      family = "Wang",
                      role = c("aut", "cre"),
                      email = "xywang@ucla.edu"),
               person(given = "Gang",
                      family = "Li",
                      role = "aut"))
as necessary.

The Description field contains
  to Gang Li and Xiaoyan Wang (2016) <arXiv:1611.03063> for more details.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiaoyan Wang<xywang@ucla.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaoyan",
                      family = "Wang",
                      role = c("aut", "cre"),
                      email = "xywang@ucla.edu"),
               person(given = "Gang",
                      family = "Li",
                      role = "aut"))
as necessary.

The Description field contains
  to Gang Li and Xiaoyan Wang (2016) <arXiv:1611.03063> for more details.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiaoyan Wang<xywang@ucla.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaoyan",
                      family = "Wang",
                      role = c("aut", "cre"),
                  
...[truncated]...
y = "Li",
                      role = "aut"))
as necessary.

The Description field contains
  to Gang Li and Xiaoyan Wang (2016) <arXiv:1611.03063> for more details.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiaoyan Wang<xywang@ucla.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaoyan",
                      family = "Wang",
                      role = c("aut", "cre"),
                  
...[truncated]...
y = "Li",
                      role = "aut"))
as necessary.

The Description field contains
  to Gang Li and Xiaoyan Wang (2016) <arXiv:1611.03063> for more details.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Dependency Network

Dependencies Reverse dependencies survival PAmeasures

Version History

new 0.1.0 Mar 10, 2026