Perform Bayesian model averaging with the bma suite to account for model uncertainty in your analysis. Perform model choice, inference, and prediction. Identify influential models and important predictors. Explore model complexity, model fit, and predictive performance. Perform sensitivity analysis to the assumptions about importance of models and predictors. Generate predictions. And much more.


BAYESIAN MODEL AVERAGING (BMA) FOR LINEAR REGRESSION

  • Model priors: uniform, binomial, and beta-binomial
  • Many fixed and random g-priors
  • Grouping of predictors
  • Support of always-included predictors
  • Heredity rules for interactions
  • Support of factor variables and times-series operators
  • Automatic grouping of factor variables and interactions

MODEL SPACE

  • Full model enumeration with fewer than 25 predictors
  • MC3 sampling with fixed g parameter
  • MC3 and MH sampling with random g parameter
  • Options to control MCMC sampling
  • Convergence diagnostics with sampling

BMA POSTERIOR SUMMARIES

  • Analytical posterior means and standard deviations for regression coefficients with fixed g
  • MCMC posterior means and standard deviations for regression coefficients with sampling
  • Posterior summaries for random g and the shrinkage parameter
  • Posterior model probabilities (PMPs) and cumulative PMPs
  • Posterior inclusion probabilities (PIPs) for predictors
  • Posterior model-size summaries

SIMULATING POSTERIOR DISTRIBUTIONS OF MODEL PARAMETERS

  • Analytical posterior distributions
  • MCMC-based posterior distributions

MODEL AND VARIABLE-INCLUSION SUMMARY

  • Models ranked by PMP
  • Highest probability model (HPM)
  • Median probability model (MPM)
  • Models containing specific predictors

POSTERIOR DISTRIBUTIONS OF REGRESSION COEFFICIENTS

  • Density plots for one coefficient
  • Density plots for multiple or for all coefficients
  • Analytical posterior densities
  • MCMC-sample posterior densities
  • Posterior probability of noninclusion
  • Customized graphs

MODEL-SIZE DISTRIBUTION SUMMARIES

  • Analytical prior mean and median model size
  • Analytical posterior mean and median model size
  • Frequency posterior mean and median model size

BMA PLOTS

  • Checking BMA convergence
  • Prior and posterior model-size distribution plots
  • Variable-inclusion maps
  • Customized graphs

JOINTNESS MEASURES FOR PREDICTORS

  • Doppelhofer—Weeks measure
  • Ley—Steel type 1 measure
  • Ley—Steel type 2 measure
  • Yule’s Q measure
  • Modified Yule’s Q measure

LOG PREDICTIVE-SCORE (LPS)

  • Analytical LPS
  • Frequency-based LPS
  • LPS summaries
  • Entropy

 

© Copyright 1996–2024 StataCorp LLC. All rights reserved.

BMA PREDICTIONS

  • Analytical posterior predictive means and standard deviations with fixed g
  • MCMC-sample posterior predictive summaries: mean, median, standard deviation, and credible intervals
  • Predictions of simulated outcome
  • Replicates of simulated outcome
  • Log predictive-score

POSTESTIMATION SELECTOR

  • View and run all postestimation features for your command
    • Automatically updated as estimation commands are run

 

POSTERIOR SUMMARIES

  • Means
  • Medians
  • Standard deviations
  • Monte Carlo standard errors (MCSEs)
  • Credible intervals (CrIs)
    • Equal-tailed
    • Highest posterior density (HPD)
  • Compute any of the above for parameters or functions of parameters
  • Summaries for log likelihood and log posterior
  • Summaries for simulated outcomes and their functions

MCSE ESTIMATION METHODS

  • Using effective sample size
  • Using batch means

BAYESIAN PREDICTIONS

  • Generate predictions: simulate outcome values and their functions
  • Save all or a subset of predictions in a separate dataset
  • Save posterior summaries of predictions as variables in current dataset
  • Save a subset of MCMC replicates as variables in current dataset
  • Obtain graphical and posterior summaries, perform hypothesis tests, and more
  • Use built-in tools to create functions of predictions, or write your own Mata functions and Stata programs
  • Generate replicated data for posterior predictive checks

 

MODEL GOODNESS OF FIT

  • Posterior predictive p-values
  • MCMC replicates
  • Predictions

TOOLS TO CHECK MCMC CONVERGENCE

  • Diagnostic plots in compact form
  • Trace plots
  • Autocorrelation plots
  • Histograms
  • Density plots
  • Cumulative sum plots
  • Bivariate scatterplots
  • Produce any of the above for parameters or functions of parameters
  • Multiple separate graphs or multiple plots on one graph
  • Pause between multiple graphs
  • Customize the look of each graph

TOOLS TO CHECK MCMC EFFICIENCY

  • Effective sample sizes
  • Autocorrelation times
  • Efficiencies
  • Compute any of the above for parameters or functions of parameters