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 04 Jun. 2026.
Previous versions and publish date:
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

murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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