Skip to main content


Datasetsbayesm is a software package for Bayesian analysis of many models of interest to marketers. In addition, bayesm contains a number of interesting datasets, including scanner panel data, key account-level data, store-level data and various types of survey data.

bayesm is an R package that can be downloaded from the CRAN network of mirror sites around the world. Users running R can install bayesm automatically from within R.

Models Included in bayesm

  • Bayes Regression (univariate or multivariate dep var)
  • Bayes Seemingly Unrelated Regression (SUR)
  • Multinomial Logit (MNL), Multinomial Probit (MNP), Multivariate Probit
  • Negative Binomial (Poisson) Regression
  • Multivariate Mixtures of Normals (including clustering)
  • Hierarchical Linear Models with a 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 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

Datasets Included in bayesm

  • Cheese - key account sliced cheese sales and marketing mix
  • Margarine - scanner panel data on margarine purchases
  • Detailing - panel data on physician prescribing and sales visits
  • Scotch - survey data on preferences for Scotch brands
  • Bank - conjoint survey data on credit card preferences
  • CustomerSat - customer satisfaction survey data

Connect with Kilts

Connect with Kilts

Stay up to date and connect with the marketing community by following the Kilts Center on LinkedIn.

Leverage Your Social Network

Share insights from the Kilts Center with colleagues and connections who share your passion for marketing.

Share This Page