CRAN/E | SurrogateRsq

SurrogateRsq

Goodness-of-Fit Analysis for Categorical Data using the Surrogate R-Squared

Installation

About

To assess and compare the models' goodness of fit, R-squared is one of the most popular measures. For categorical data analysis, however, no universally adopted R-squared measure can resemble the ordinary least square (OLS) R-squared for linear models with continuous data. This package implement the surrogate R-squared measure for categorical data analysis, which is proposed in the study of Dungang Liu, Xiaorui Zhu, Brandon Greenwell, and Zewei Lin (2022) doi:10.1111/bmsp.12289. It can generate a point or interval measure of the surrogate R-squared. It can also provide a ranking measure of the percentage contribution of each variable to the overall surrogate R-squared. This ranking assessment allows one to check the importance of each variable in terms of their explained variance. This package can be jointly used with other existing R packages for variable selection and model diagnostics in the model-building process.

xiaorui.site/SurrogateRsq/
xiaorui.site/SurrogateRsq/
Bug report File report

Key Metrics

Version 0.2.1
R ≥ 3.5.0
Published 2023-04-24 376 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks SurrogateRsq results

Downloads

Yesterday 6 0%
Last 7 days 43 -32%
Last 30 days 172 -2%
Last 90 days 457 -28%
Last 365 days 2.041 +268%

Maintainer

Maintainer

Xiaorui (Jeremy) Zhu

zhuxiaorui1989@gmail.com

Authors

Xiaorui

(Jeremy)

Zhu

aut / cre / cph

Dungang Liu

ctb

Zewei Lin

ctb

Brandon Greenwell

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

A introduction to categorical data goodness-of-fit analysis using the SurrogateRsq package

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

SurrogateRsq archive

Depends

R ≥ 3.5.0
MASS ≥ 7.3-54
PAsso ≥ 0.1.10
progress ≥ 1.2.0
scales ≥ 1.1.1

Suggests

R.rsp
knitr
rmarkdown
testthat ≥ 3.0.0
dplyr ≥1.1.1