bayesm: Bayesian Inference for Marketing/Micro-Econometrics

Covers many important models used in marketing and micro-econometrics applications. The package includes: Bayes Regression (univariate or multivariate dep var), Bayes Seemingly Unrelated Regression (SUR), Binary and Ordinal Probit, Multinomial Logit (MNL) and Multinomial Probit (MNP), Multivariate Probit, Negative Binomial (Poisson) Regression, Multivariate Mixtures of Normals (including clustering), Dirichlet Process Prior Density Estimation with normal base, Hierarchical Linear Models with normal prior and covariates, Hierarchical Linear Models with a mixture of normals prior and covariates, Hierarchical Multinomial Logits with a mixture of normals prior and covariates, Hierarchical Multinomial Logits with a Dirichlet Process prior and covariates, Hierarchical Negative Binomial Regression Models, Bayesian analysis of choice-based conjoint data, Bayesian treatment of linear instrumental variables models, Analysis of Multivariate Ordinal survey data with scale usage heterogeneity (as in Rossi et al, JASA (01)), Bayesian Analysis of Aggregate Random Coefficient Logit Models as in BLP (see Jiang, Manchanda, Rossi 2009) For further reference, consult our book, Bayesian Statistics and Marketing by Rossi, Allenby and McCulloch (Wiley first edition 2005 and second forthcoming) and Bayesian Non- and Semi-Parametric Methods and Applications (Princeton U Press 2014).

Version: 3.1-6
Depends: R (≥ 3.2.0)
Imports: Rcpp (≥ 0.12.0), utils, stats, graphics, grDevices
LinkingTo: Rcpp, RcppArmadillo
Suggests: knitr, rmarkdown
Published: 2023-09-23
DOI: 10.32614/CRAN.package.bayesm
Author: Peter Rossi
Maintainer: Peter Rossi <perossichi at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
In views: Bayesian, Cluster, Distributions, Econometrics
CRAN checks: bayesm results


Reference manual: bayesm.pdf
Vignettes: Hierarchical Multinomial Logit with Sign Constraints
bayesm Overview


Package source: bayesm_3.1-6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): bayesm_3.1-6.tgz, r-oldrel (arm64): bayesm_3.1-6.tgz, r-release (x86_64): bayesm_3.1-6.tgz, r-oldrel (x86_64): bayesm_3.1-6.tgz
Old sources: bayesm archive

Reverse dependencies:

Reverse imports: BGVAR, BTYDplus, compositions, mvProbit, RGremlinsConjoint, telescope
Reverse suggests: ChoiceModelR, echoice2, idefix, MCMCglmm, rrMixture


Please use the canonical form to link to this page.