Package: RSGHB 1.2.2

Jeff Dumont

RSGHB: Functions for Hierarchical Bayesian Estimation: A Flexible Approach

Functions for estimating models using a Hierarchical Bayesian (HB) framework. The flexibility comes in allowing the user to specify the likelihood function directly instead of assuming predetermined model structures. Types of models that can be estimated with this code include the family of discrete choice models (Multinomial Logit, Mixed Logit, Nested Logit, Error Components Logit and Latent Class) as well ordered response models like ordered probit and ordered logit. In addition, the package allows for flexibility in specifying parameters as either fixed (non-varying across individuals) or random with continuous distributions. Parameter distributions supported include normal, positive/negative log-normal, positive/negative censored normal, and the Johnson SB distribution. Kenneth Train's Matlab and Gauss code for doing Hierarchical Bayesian estimation has served as the basis for a few of the functions included in this package. These Matlab/Gauss functions have been rewritten to be optimized within R. Considerable code has been added to increase the flexibility and usability of the code base. Train's original Gauss and Matlab code can be found here: <http://elsa.berkeley.edu/Software/abstracts/train1006mxlhb.html> See Train's chapter on HB in Discrete Choice with Simulation here: <http://elsa.berkeley.edu/books/choice2.html>; and his paper on using HB with non-normal distributions here: <http://eml.berkeley.edu//~train/trainsonnier.pdf>. The authors would also like to thank the invaluable contributions of Stephane Hess and the Choice Modelling Centre: <https://cmc.leeds.ac.uk/>.

Authors:Jeff Dumont [aut, cre], Jeff Keller [aut], Chase Carpenter [ctb]

RSGHB_1.2.2.tar.gz
RSGHB_1.2.2.zip(r-4.5)RSGHB_1.2.2.zip(r-4.4)RSGHB_1.2.2.zip(r-4.3)
RSGHB_1.2.2.tgz(r-4.4-x86_64)RSGHB_1.2.2.tgz(r-4.4-arm64)RSGHB_1.2.2.tgz(r-4.3-x86_64)RSGHB_1.2.2.tgz(r-4.3-arm64)
RSGHB_1.2.2.tar.gz(r-4.5-noble)RSGHB_1.2.2.tar.gz(r-4.4-noble)
RSGHB_1.2.2.tgz(r-4.4-emscripten)RSGHB_1.2.2.tgz(r-4.3-emscripten)
RSGHB.pdf |RSGHB.html
RSGHB/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/rsginc/rsghb/issues

Datasets:

On CRAN:

5.27 score 25 stars 1 packages 25 scripts 892 downloads 2 exports 10 dependencies

Last updated 5 years agofrom:f86d1229d0. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-win-x86_64OKNov 12 2024
R-4.5-linux-x86_64OKNov 12 2024
R-4.4-win-x86_64OKNov 12 2024
R-4.4-mac-x86_64OKNov 12 2024
R-4.4-mac-aarch64OKNov 12 2024
R-4.3-win-x86_64OKNov 12 2024
R-4.3-mac-x86_64OKNov 12 2024
R-4.3-mac-aarch64OKNov 12 2024

Exports:doHBwriteModel

Dependencies:codalatticeMASSMatrixMatrixModelsmcmcMCMCpackquantregSparseMsurvival

How to use RSGHB

Rendered fromRSGHB_HowTo.rnwusingutils::Sweaveon Nov 12 2024.

Last update: 2018-10-13
Started: 2013-04-10