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.7)GUD_1.0.2.zip(r-4.6)GUD_1.0.2.zip(r-4.5)
GUD_1.0.2.tgz(r-4.6-x86_64)GUD_1.0.2.tgz(r-4.6-arm64)GUD_1.0.2.tgz(r-4.5-x86_64)GUD_1.0.2.tgz(r-4.5-arm64)
GUD_1.0.2.tar.gz(r-4.7-arm64)GUD_1.0.2.tar.gz(r-4.7-x86_64)GUD_1.0.2.tar.gz(r-4.6-arm64)GUD_1.0.2.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
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.40 score 5 stars 2 scripts 131 downloads 7 exports 49 dependencies

Last updated from:944ffe2660. Checks:11 WARNING, 1 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING351
linux-devel-x86_64WARNING350
source / vignettesOK484
linux-release-arm64WARNING340
linux-release-x86_64WARNING331
macos-release-arm64WARNING250
macos-release-x86_64WARNING543
macos-oldrel-arm64WARNING281
macos-oldrel-x86_64WARNING772
windows-develWARNING461
windows-releaseWARNING413
windows-oldrelWARNING459
wasm-releaseFAIL176

Exports:dDTPdFGdTPSCmodal_regressionrDTPrFGrTPSC

Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionalfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackrlangrstanrstantoolsS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

Bayesian Modal Regression Analysis of 2003 United States Crime Data

Rendered fromBayesian-Modal-Regression-Analysis-of-2003-United-States-Crime-Data.Rmdusingknitr::rmarkdownon Jun 01 2026.

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