Other packages > Find by keyword >

RSGHB  

Functions for Hierarchical Bayesian Estimation: A Flexible Approach
View on CRAN: Click here


Download and install RSGHB package within the R console
Install from CRAN:
install.packages("RSGHB")

Install from Github:
library("remotes")
install_github("cran/RSGHB")

Install by package version:
library("remotes")
install_version("RSGHB", "1.2.2")



Attach the package and use:
library("RSGHB")
Maintained by
Jeff Dumont
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2013-02-14
Latest Update: 2019-07-03
Description:
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: See Train's chapter on HB in Discrete Choice with Simulation here: ; and his paper on using HB with non-normal distributions here: . The authors would also like to thank the invaluable contributions of Stephane Hess and the Choice Modelling Centre: .
How to cite:
Jeff Dumont (2013). RSGHB: Functions for Hierarchical Bayesian Estimation: A Flexible Approach. R package version 1.2.2, https://cran.r-project.org/web/packages/RSGHB. Accessed 15 Jul. 2026.
Previous versions and publish date:
(2026-07-09 08:20), 1.0.1 (2013-04-10 16:16), 1.0.2 (2014-05-30 09:19), 1.0 (2013-02-14 16:22), 1.1.0 (2015-06-09 00:26), 1.1.1 (2015-07-17 00:16), 1.1.2 (2015-12-16 23:23), 1.2.0 (2018-10-17 18:00), 1.2.1 (2019-01-07 01:10), 1.2.2 (2019-07-03 23:20)
Other packages that cited RSGHB R package
View RSGHB citation profile
Other R packages that RSGHB depends, imports, suggests or enhances
Complete documentation for RSGHB
Functions, R codes and Examples using the RSGHB R package
Some associated functions: choicedata . doHB . plot . writeModel . 
Some associated R codes: checkModel.R . doHB.R . hb.R . methods.R . nextA.R . nextB.R . nextD.R . nextDhIW.R . nextDind.R . nextF.R . nextlambda.R . onLoad.R . plotC.R . prepareModel.R . progreport.R . trans.R . writeModel.R .  Full RSGHB package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

gscaLCA  
Generalized Structure Component Analysis- Latent Class Analysis & Latent Class Regression
Execute Latent Class Analysis (LCA) and Latent Class Regression (LCR) by using Generalized Structu ...
Download / Learn more Package Citations See dependency  
binhf  
Haar-Fisz Functions for Binomial Data
Binomial Haar-Fisz transforms for Gaussianization as in Nunes and Nason (2009). ...
Download / Learn more Package Citations See dependency  
pulseTD  
Identification of Transcriptional Dynamics using Pulse Models via 4su-Seq Data and RNA-Seq Data
A tool for analyzing the transcription, processing and degradation rates of genes by 4sU-seq (the Me ...
Download / Learn more Package Citations See dependency  
footBayes  
Fitting Bayesian and MLE Football Models
This is the first package allowing for the estimation, visualization and prediction of the most wel ...
Download / Learn more Package Citations See dependency  
PermAlgo  
Permutational Algorithm to Simulate Survival Data
This version of the permutational algorithm generates a dataset in which event and censoring times ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA