Available Bayesian methods


Below is a summary of the available Bayesian methods and capabilities and the procedures in which they appear:

ProductBeginning ReleaseProcedureBayesian Methodology
SAS/STAT®SAS® 8 or earlierDISCRIMComputes posterior probabilities of group membership and posterior probability error rate estimates. Specifies prior probabilities of group membership in the PRIORS statement.
GLMThe WALLER option provides multiple comparisons of means, minimizing Bayes risk under additive loss.
LOGISTICThe CTABLE option estimates false positive and false negative rates as posterior probabilities using Bayes theorem. The PEVENT= option provides prior probabilities.
MIXEDThe PRIOR statement specifies prior distribution for variance components and estimates their marginal posterior density.
NLMIXEDThe PREDICT statement and the OUT= option in the RANDOM statement provide empirical Bayes estimates of random effects.
TPSPLINEThe OUTPUT statement can request Bayesian confidence intervals for smoothing spline estimates.
GAMThe OUTPUT statement can request Bayesian confidence intervals for smoothing spline estimates.
MICan perform an approximate Bayesian bootstrap imputation of missing values. Prior information for Bayesian estimation of means and covariances can be supplied by using the PRIOR= option in the MCMC statement.
SAS 9.2GENMOD
LIFEREG
PHREG
The BAYES statement requests a Bayesian analysis of the regression model using Gibbs sampling. The model parameters are treated as random variables, prior distributions can be specified, and inferences about the parameters are based on the posterior distribution of the parameters given the data.
MCMCMCMC is a general purpose Markov chain Monte Carlo simulation procedure that fits Bayesian models given arbitrary prior distributions for the model parameters and a likelihood function for the data. MCMC obtains samples from the posterior distributions, produces summary and diagnostic statistics, and saves the posterior samples in an output data set.
SAS/STAT 9.22 in SAS 9.2 TS2M3GENMODThe Gamerman and independent Metropolis algorithms are new sampling methods available in the SAMPLING= option of the BAYES statement.
PHREGThe Zellner g-prior is available for the regression coefficients. The random walk Metropolis (RWM) algorithm can now be used to sample an entire parameter vector from the posterior distribution.
SAS 9.3 TS1M0FMMCan provide Bayesian analysis of finite mixture models using either a conjugate Gibbs sampler or the Metropolis-Hastings sampler.
SAS/STAT 12.1 in SAS 9.3 TS1M2MCMCModels missing values by default. RANDOM statement supports multilevel hierarchy to an arbitrary depth. Uses faster and more efficient sampling algorithms.
PHREGBayesian frailty models
GENMODThe Gamerman algorithm is now the default sampling mechanism except in cases for the normal distribution with a conjugate prior.
SAS/STAT 13.1 in SAS 9.4 TS1M1BCHOICEPerforms Bayesian analysis for discrete choice models. Multinomial logit, multinomial probit, and nested logit models are available.
HPFMMPerforms Bayesian analysis via a conjugate Gibbs sampler if the model belongs to a small class of mixture models for which a conjugate sampler is available.
SAS/STAT 14.1 in SAS 9.4 TS1M3MCMCNew sampling algorithms are added for continuous parameters: the Hamiltonian Monte Carlo and the No-U-Turn Sampler.
SAS/STAT 15.1 in SAS 9.4 TS1M6BGLIMMProvides full Bayesian inference for generalized linear mixed models (GLMMs).
SAS/QC®SAS 8 or earlierADX applicationCan perform Bayesian selection of active effects in saturated and nearly saturated designs. Prior probabilities of active effects can be specified.
BAYESACT functionComputes posterior probabilities that observations in a sample are contaminated with a larger variance than other observations. Computes the posterior probability that the entire sample is uncontaminated.
OPTEXCan search for a Bayesian optimal design. Specifies prior precision values in the PRIORS= option in the MODEL statement.
SAS/ETS®SAS 8VARMAXCan fit the Bayesian Vector AutoRegressive model and the Bayesian Vector Error Correction model. Specifies prior information by using the PRIOR= option in the MODEL statement.
SAS/ETS 12.1 in SAS 9.3 TS1M2QLIMThe BAYES statement allows Bayesian estimation of most of the univariate models available in the QLIM procedure.
SAS/ETS 12.3 in SAS 9.4 TS1M0HPQLIMThe BAYES statement allows Bayesian estimation of most of the univariate models available in the HPQLIM procedure.
SAS/ETS 13.2 in SAS 9.4 TS1M2COUNTREGThe BAYES statement requests a Bayesian analysis of the regression model using Metropolis sampling. The PRIOR statement specifies the prior distribution of the model parameters.
SAS/IML®SAS 8 or earlierTSBAYSEA functionPerforms Bayesian seasonal adjustment modeling.
SAS/Genetics™SAS 9.1 TS1M3HAPLOTYPEHaplotype frequency estimation.
Book-Based MacrosMultiple Comparisons and Multiple Tests Using the SAS System%BayesIntervalsComputes Bayesian simultaneous confidence intervals.
%BayesTestsA SAS/IML macro that computes Bayesian posterior probabilities for a set of free-combination tests.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

† See the associated book for information about the use and output from these macros.

For more information in general about Bayesian analysis, see the SAS Users YouTube video.