GUD: Bayesian Modal Regression Based on the GUD Family

Provides probability density functions and sampling algorithms for three key distributions from the General Unimodal Distribution (GUD) family: the Flexible Gumbel (FG) distribution, the Double Two-Piece (DTP) Student-t distribution, and the Two-Piece Scale (TPSC) Student-t distribution. Additionally, this package includes a function for Bayesian linear modal regression, leveraging these three distributions for model fitting. The details of the Bayesian modal regression model based on the GUD family can be found at Liu, Huang, and Bai (2022) <doi:10.1016/j.csda.2024.108012>.

Version: 1.0.0
Depends: R (≥ 3.4.0)
Imports: methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.4.0), posterior (≥ 1.5.0), Rdpack (≥ 2.6)
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)
Suggests: MASS, lattice, bayesplot (≥ 1.11.1), loo (≥ 2.7.0), knitr, rmarkdown
Published: 2024-06-29
Author: Qingyang Liu ORCID iD [aut, cre], Xianzheng Huang ORCID iD [aut], Ray Bai ORCID iD [aut]
Maintainer: Qingyang Liu <qingyang at email.sc.edu>
License: GPL (≥ 3)
URL: https://github.com/rh8liuqy/Bayesian_modal_regression
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: GUD citation info
Materials: NEWS
CRAN checks: GUD results

Documentation:

Reference manual: GUD.pdf
Vignettes: Bayesian Modal Regression Analysis of 2003 United States Crime Data

Downloads:

Package source: GUD_1.0.0.tar.gz
Windows binaries: r-devel: GUD_0.0.5.zip, r-release: GUD_0.0.5.zip, r-oldrel: GUD_0.0.5.zip
macOS binaries: r-release (arm64): GUD_1.0.0.tgz, r-oldrel (arm64): GUD_1.0.0.tgz, r-release (x86_64): GUD_1.0.0.tgz, r-oldrel (x86_64): GUD_1.0.0.tgz
Old sources: GUD archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=GUD to link to this page.