Package: GUD 1.0.2

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 (2024) <doi:10.1016/j.csda.2024.108012>.

Authors:Qingyang Liu [aut, cre], Xianzheng Huang [aut], Ray Bai [aut]

GUD_1.0.2.tar.gz
GUD_1.0.2.zip(r-4.5)GUD_1.0.2.zip(r-4.4)GUD_1.0.2.zip(r-4.3)
GUD_1.0.2.tgz(r-4.5-x86_64)GUD_1.0.2.tgz(r-4.5-arm64)GUD_1.0.2.tgz(r-4.4-x86_64)GUD_1.0.2.tgz(r-4.4-arm64)GUD_1.0.2.tgz(r-4.3-x86_64)GUD_1.0.2.tgz(r-4.3-arm64)
GUD_1.0.2.tar.gz(r-4.5-noble)GUD_1.0.2.tar.gz(r-4.4-noble)
GUD.pdf |GUD.html
GUD/json (API)
NEWS

# Install 'GUD' in R:
install.packages('GUD', repos = c('https://rh8liuqy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rh8liuqy/bayesian_modal_regression/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • crime - U.S. Statewide Crime data from the year 2003

On CRAN:

Conda:

cpp

4.70 score 5 stars 2 scripts 191 downloads 7 exports 55 dependencies

Last updated 9 months agofrom:944ffe2660. Checks:1 OK, 11 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 27 2025
R-4.5-win-x86_64WARNINGMar 27 2025
R-4.5-mac-x86_64WARNINGMar 27 2025
R-4.5-mac-aarch64WARNINGMar 27 2025
R-4.5-linux-x86_64WARNINGMar 27 2025
R-4.4-win-x86_64WARNINGMar 27 2025
R-4.4-mac-x86_64WARNINGMar 27 2025
R-4.4-mac-aarch64WARNINGMar 27 2025
R-4.4-linux-x86_64WARNINGMar 27 2025
R-4.3-win-x86_64WARNINGMar 27 2025
R-4.3-mac-x86_64WARNINGMar 27 2025
R-4.3-mac-aarch64WARNINGMar 27 2025

Exports:dDTPdFGdTPSCmodal_regressionrDTPrFGrTPSC

Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionalfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackrlangrstanrstantoolsscalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

Bayesian Modal Regression Analysis of 2003 United States Crime Data

Rendered fromBayesian-Modal-Regression-Analysis-of-2003-United-States-Crime-Data.Rmdusingknitr::rmarkdownon Mar 27 2025.

Last update: 2024-06-29
Started: 2024-06-29