Psychology: Techniques and Application ›› 2023, Vol. 11 ›› Issue (10): 577-598.

    Next Articles

Bayesian Mixed-effects Models: A Primer with brms

  

  • Online:2023-10-01 Published:2023-10-10

Abstract:

Compared to the traditional statistical methods, Bayesian linear mixed-effects modeling (BLMM) has a great number of advantages in dealing with the hierarchical structures underlying datasets and providing more intuitive statistical results. These advantages together popularize BLMM in psychological and other field research. However, there is still a lack of tutorials on the practical applications of BLMM in psychology studies in Chinese. Therefore, we first briefly introduced the basic concepts and rationales of BLMM. Then we employed a simulated dataset to demonstrate how to understand fixed effects and random effects, and how to use the popular brms R package to specify models for BLMM based on the experimental design. We additionally covered the procedure of pre-specifying priors with prior predictive checks, and the steps of performing hypothesis testing using the Bayes Factor. BLMM, with its extensions such as Generalized BLMM, has great flexibility and capability, they can and should be applied in various psychology research.

Key words: Bayesian, linear mixed-effects modeling, hierarchical models, Bayes Factor, brms

CLC Number: 

  • B841
[1] HU Xiao. The Relationship Between Signal Detection Theory and Bayesian Decision Theory [J]. Psychology: Techniques and Application, 2023, 11(9): 542-558.
[2] ZHU Xun, GU Xin. Bayes factor and Its Applications [J]. Psychology: Techniques and Application, 2023, 11(9): 514-527.
[3] WANG Yunhong, Don van den Bergh, Frederik Aust, Alexander Ly, Eric-Jan Wagenmakers, HU Chuanpeng. The implementation of Bayesian ANOVA in JASP: A Practical Primer [J]. Psychology: Techniques and Application, 2023, 11(9): 528-541.
[4] QIAO Xinyu, FENG Yonglin, PAN Junhao. The Principle of Bayesian Structural Equation Model and Its Application in Psychology [J]. Psychology: Techniques and Application, 2023, 11(10): 599-619.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] XIN Ziqiang, ZHANG Hongchuan, SUN Ling, YU Yonghong, XIN Zhiyong. The Definition and Triarchic Structure of Financial Literacy[J]. Psychology: Techniques and Application, 2018, 6(8): 450 -458 .
[2] ZHANG Hongchuan, SU Song, LV Jieyu, ZHANG Mei, XIN Ziqiang. Financial Capacity Based on the Rational Decision-Making View: Concept, Construct and Measurement [J]. Psychology: Techniques and Application, 2018, 6(8): 465 -471 .
[3] ZHANG Jingjing, YU Zhenzhen, TIAN Hao. An Integrated Model of Emotion and Ration on Pro-environmental Behavior: The Role of Ecological Emotion Involvement[J]. Psychology: Techniques and Application, 2018, 6(8): 484 -492 .
[4] YU Xide, LU Cheng, GAO Dingguo. The relationships among Feeling of the Passage of Time,  Time Perspective and Personality[J]. Psychology: Techniques and Application, 2018, 6(8): 493 -502 .
[5] CHEN Bizhong. Positive Self-presentation in Social Network Sites and Subjective Well-being:A Multi-mediation Model[J]. Psychology: Techniques and Application, 2018, 6(9): 528 -536 .
[6] HUANG Zihang, , WANG Ke, CAI Huajian, . Conducting Psychological Studies via Open Data[J]. Psychology: Techniques and Application, 2018, 6(9): 549 -569 .
[7] . [J]. Psychology: Techniques and Application, 2018, 6(10): 580 -581 .
[8] . [J]. Psychology: Techniques and Application, 2018, 6(10): 590 -592 .
[9] . [J]. Psychology: Techniques and Application, 2018, 6(10): 591 -592 .
[10] . [J]. Psychology: Techniques and Application, 2018, 6(10): 599 .