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 05 Mar. 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)
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

ClimClass  
Climate Classification According to Several Indices
Classification of climate according to Koeppen - Geiger, of aridity indices, of continentality indi ...
Download / Learn more Package Citations See dependency  
imagefx  
Extract Features from Images
Synthesize images into characteristic features for time-series analysis or machine learning applicat ...
Download / Learn more Package Citations See dependency  
pinp  
'pinp' is not 'PNAS'
A 'PNAS'-alike style for 'rmarkdown', derived from the 'Proceedings of the National Academy of Scie ...
Download / Learn more Package Citations See dependency  
roccv  
ROC for Cross Validation Results
Cross validate large genetic data while specifying clinical variables that should always be in the m ...
Download / Learn more Package Citations See dependency  
neat  
Efficient Network Enrichment Analysis Test
Includes functions and examples to compute NEAT, the Network Enrichment Analysis Test described in ...
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  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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