Package: SurrogateRsq
Type: Package
Title: Goodness-of-Fit Analysis for Categorical Data using the
        Surrogate R-Squared
Version: 0.2.1
Authors@R: 
  c(person(given = "Xiaorui (Jeremy)", family = "Zhu",
           role = c("aut", "cre", "cph"),
           email = "zhuxiaorui1989@gmail.com"),
    person(given = "Dungang", family = "Liu",
           role = c("ctb"),
           email = "dungang.liu@uc.edu"),
    person(given = "Zewei", family = "Lin", 
           role = c("ctb"), 
           email = "linzw@mail.uc.edu"),
    person(given = "Brandon", family = "Greenwell", 
           role = c("ctb"), 
           email = "greenwell.brandon@gmail.com"))
Maintainer: Xiaorui (Jeremy) Zhu <zhuxiaorui1989@gmail.com>
Description: 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. 
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
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)
Config/testthat/edition: 3
URL: https://xiaorui.site/SurrogateRsq/,
        http://xiaorui.site/SurrogateRsq/
BugReports: https://github.com/XiaoruiZhu/SurrogateRsq/issues
VignetteBuilder: R.rsp
NeedsCompilation: no
Packaged: 2023-04-24 02:46:55 UTC; xiaorui
Author: Xiaorui (Jeremy) Zhu [aut, cre, cph],
  Dungang Liu [ctb],
  Zewei Lin [ctb],
  Brandon Greenwell [ctb]
Repository: CRAN
Date/Publication: 2023-04-24 05:00:02 UTC
Built: R 4.6.0; ; 2025-06-12 03:21:16 UTC; windows
