Package: GUD 1.0.2

Qingyang Liu

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.tar.gz(r-4.5-noble)GUD_1.0.2.tar.gz(r-4.4-noble)
GUD.pdf |GUD.html
GUD/json (API)
NEWS

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

Peer review:

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

7 exports 0.23 score 55 dependencies 237 downloads

Last updated 4 days agofrom:b44113ea1a

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 Jul 02 2024.

Last update: 2024-07-02
Started: 2024-06-30