A tutorial on Bayesian multi-model linear regression with BAS and JASP
Behavior Research Methods , Volume 53 p. 2351- 2371
Linear regression analyses commonly involve two consecutive stages of statistical inquiry. In the first stage, a single ‘best’ model is defined by a specific selection of relevant predictors; in the second stage, the regression coefficients of the winning model are used for prediction and for inference concerning the importance of the predictors. However, such second-stage inference ignores the model uncertainty from the first stage, resulting in overconfident parameter estimates that generalize poorly. These drawbacks can be overcome by model averaging, a technique that retains all models for inference, weighting each model’s contribution by its posterior probability. Although conceptually straightforward, model averaging is rarely used in applied research, possibly due to the lack of easily accessible software. To bridge the gap between theory and practice, we provide a tutorial on linear regression using Bayesian model averaging in JASP, based on the BAS package in R. Firstly, we provide theoretical background on linear regression, Bayesian inference, and Bayesian model averaging. Secondly, we demonstrate the method on an example data set from the World Happiness Report. Lastly, we discuss limitations of model averaging and directions for dealing with violations of model assumptions.
|Behavior Research Methods|
|Organisation||Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands|
van den Bergh, D, Clyde, M.A, Komarlu Narendra Gupta, A.R, de Jong, T, Gronau, Q. F, Marsman, M, … Wagenmakers, E.-J. (2021). A tutorial on Bayesian multi-model linear regression with BAS and JASP. Behavior Research Methods, 53, 2351–2371. doi:10.3758/s13428-021-01552-2