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-04-10
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 06 Nov. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

maic  
Matching-Adjusted Indirect Comparison
A generalised workflow for generation of subject weights to be used in Matching-Adjusted Indirect C ...
Download / Learn more Package Citations See dependency  
memoise  
'Memoisation' of Functions
Cache the results of a function so that when you call it again with the same arguments it returns t ...
Download / Learn more Package Citations See dependency  
equatiomatic  
Transform Models into 'LaTeX' Equations
The goal of equatiomatic is to reduce the painassociated with writing LaTeX formulas from fitted mod ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ddp  
Desirable Dietary Pattern
The desirable Dietary Pattern (DDP)/ PPH score measures the variety of food consumption. The (weigh ...
Download / Learn more Package Citations See dependency  
mailR  
A Utility to Send Emails from R
Interface to Apache Commons Email to send emails from R. ...
Download / Learn more Package Citations See dependency  

23,092

R Packages

198,677

Dependencies

62,675

Author Associations

23,089

Publication Badges

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