# Bayesian Inference for Marketing/Micro-econometrics

## Documentation for package `bayesm' version 2.0-8

## User Guides and Package Vignettes

Read overview or browse directory.

## Help Pages

bank | Bank Card Conjoint Data of Allenby and Ginter (1995)
breg | Posterior Draws from a Univariate Regression with Unit Error Variance
cgetC | Obtain A List of Cut-offs for Scale Usage Problems
cheese | Sliced Cheese Data
clusterMix | Cluster Observations Based on Indicator MCMC Draws
condMom | Computes Conditional Mean/Var of One Element of MVN given All Others
createX | Create X Matrix for Use in Multinomial Logit and Probit Routines
customerSat | Customer Satifaction Data
detailing | Physician Detailing Data from Manchanda et al (2004)
eMixMargDen | Compute Marginal Densities of A Normal Mixture Averaged over MCMC Draws
fsh | Flush Console Buffer
ghkvec | Compute GHK approximation to Multivariate Normal Integrals
init.rmultiregfp | Initialize Variables for Multivariate Regression Draw
llmnl | Evaluate Log Likelihood for Multinomial Logit Model
llmnp | Evaluate Log Likelihood for Multinomial Probit Model
llnhlogit | Evaluate Log Likelihood for non-homothetic Logit Model
lndIChisq | Compute Log of Inverted Chi-Squared Density
lndIWishart | Compute Log of Inverted Wishart Density
lndMvn | Compute Log of Multivariate Normal Density
lndMvst | Compute Log of Multivariate Student-t Density
logMargDenNR | Compute Log Marginal Density Using Newton-Raftery Approx
margarine | Household Panel Data on Margarine Purchases
mixDen | Compute Marginal Density for Multivariate Normal Mixture
mixDenBi | Compute Bivariate Marginal Density for a Normal Mixture
mnlHess | Computes -Expected Hessian for Multinomial Logit
mnpProb | Compute MNP Probabilities
momMix | Compute Posterior Expectation of Normal Mixture Model Moments
nmat | Convert Covariance Matrix to a Correlation Matrix
numEff | Compute Numerical Standard Error and Relative Numerical Efficiency
rbiNormGibbs | Illustrate Bivariate Normal Gibbs Sampler
rbprobitGibbs | Gibbs Sampler (Albert and Chib) for Binary Probit
rdirichlet | Draw From Dirichlet Distribution
rhierBinLogit | MCMC Algorithm for Hierarchical Binary Logit
rhierLinearModel | Gibbs Sampler for Hierarchical Linear Model
rhierMnlRwMixture | MCMC Algorithm for Hierarchical Multinomial Logit with Mixture of Normals Heterogeneity
rhierNegbinRw | MCMC Algorithm for Negative Binomial Regression
rivGibbs | Gibbs Sampler for Linear "IV" Model
rmixGibbs | Gibbs Sampler for Normal Mixtures w/o Error Checking
rmixture | Draw from Mixture of Normals
rmnlIndepMetrop | MCMC Algorithm for Multinomial Logit Model
rmnpGibbs | Gibbs Sampler for Multinomial Probit
rmultireg | Draw from the Posterior of a Multivariate Regression
rmultiregfp | Draw from the Posterior of a Multivariate Regression
rmvpGibbs | Gibbs Sampler for Multivariate Probit
rmvst | Draw from Multivariate Student-t
rnegbinRw | MCMC Algorithm for Negative Binomial Regression
rnmixGibbs | Gibbs Sampler for Normal Mixtures
rscaleUsage | MCMC Algorithm for Multivariate Ordinal Data with Scale Usage Heterogeneity.
rsurGibbs | Gibbs Sampler for Seemingly Unrelated Regressions (SUR)
rtrun | Draw from Truncated Univariate Normal
runireg | IID Sampler for Univariate Regression
runiregGibbs | Gibbs Sampler for Univariate Regression
rwishart | Draw from Wishart and Inverted Wishart Distribution
Scotch | Survey Data on Brands of Scotch Consumed
simmnl | Simulate from Multinomial Logit Model
simmnlwX | Simulate from MNL given X Matrix
simmnp | Simulate from Multinomial Probit Model
simmvp | Simulate from Multivariate Probit Model
simnhlogit | Simulate from Non-homothetic Logit Model