ISSN 0439-755X
CN 11-1911/B
主办:中国心理学会
   中国科学院心理研究所
出版:科学出版社

心理学报 ›› 2026, Vol. 58 ›› Issue (10): 2153-2166.doi: 10.3724/SP.J.1041.2026.2153 cstr: 32110.14.2026.2153

• 研究报告 • 上一篇    

基于MCMC三种抽样方法的概化理论方差分量估计准确性比较

黎光明   

  1. 华南师范大学心理学院、心理应用研究中心, 广州 510631
  • 收稿日期:2025-06-16 发布日期:2026-08-04 出版日期:2026-10-25
  • 通讯作者: 黎光明, E-mail: Lgm2004100@m.scnu.edu.cn
  • 基金资助:
    广东省自然科学基金面上项目(2021A1515012516)、广东省哲学社会科学规划学科共建项目(GD24XXL03)和华南师范大学冲补强心理学高峰学科项目

Comparing the accuracy of three sampling algorithms of MCMC method for estimating variance components in generalizability theory

LI Guangming   

  1. School of Psychology, Center for Studies of Psychological Application, South China Normal University, Guangzhou 510631, China
  • Received:2025-06-16 Online:2026-08-04 Published:2026-10-25

摘要: 概化理论是关于行为测量可靠性的现代心理测验理论, 已被广泛应用于心理测量实践中。基于p×ip×i×h设计, 采用模拟研究和实证研究, 使用MCMC三种抽样方法(M-H算法、Gibbs抽样和HMC算法)对概化理论方差分量进行估计, 并比较其差异。结果表明:(1)少量数据缺失对MCMC三种抽样方法几乎无影响, MCMC对于缺失数据估计具有较强的稳健性; (2)整体上, 有信息先验和经验性先验较无信息先验估计准确性更高; (3)仅HMC算法表现出“跨设计性”, 在两种设计之下的估计准确性都较高, 但M-H算法和Gibbs抽样却受限于σ2(h), 估计准确性都不高; (4)若M-H算法和Gibbs抽样需要克服σ2(h)估计准确性不高的局限性, 则需规定h≥4; 未来研究者在使用MCMC方法时, HMC算法更值得推荐。

关键词: 概化理论, 方差分量估计, MCMC方法, M-H算法, Gibbs抽样, HMC算法

Abstract: Generalizability theory (GT), a modern psychometric framework, has been widely applied in practice. Its efficacy relies on the accurate estimation of variance components. While variance components are traditionally estimated using methods such as analysis of variance (ANOVA), Bootstrap, Jackknife, MINQUE, and restricted maximum likelihood (REML method), Bayesian Markov chain Monte Carlo (MCMC) estimation has demonstrated advantages. However, the performance of MCMC depends on the chosen sampling algorithms. Local update algorithms, such as Metropolis-Hastings (M-H) algorithm and Gibbs sampling, are prone to random walk behaviors and slow convergence, particularly when conditional distributions are complex or parameters are highly correlated. Although the Hamiltonian Monte Carlo (HMC) algorithm effectively suppresses random walk behavior and handles high-dimensional, complex models efficiently, its application to the estimation of variance components within GT remains unexamined. To date, no published studies have compared M-H algorithm, Gibbs sampling, and HMC algorithm in this context.
This study evaluated and compared the estimation accuracy of three sampling algorithms of MCMC method across two common GT research designs: the one-faceted crossed design (p×i) and the two-faceted crossed design (p×i×h). Using simulation methodologies, we manipulated three independent variables: (1) sampling algorithms (M-H, Gibbs, and HMC), (2) prior distributions (informative, non-informative, and empirical), and (3) missing data ratios (0%, 5%, and 10%). The dependent variables were the estimated variance components, Bias, and Root Mean Square Error (RMSE).
In simulation study, we generated data using R software, with 1000 batches of data generated for the p×i and the p×i×h. For the generated data, R software implemented the estimation of variance components for M-H algorithm, Gibbs sampling, and HMC algorithm by calling the corresponding software package. In empirical research, a batch of data containing 1429 participants was used to validate the conclusions drawn from the simulation study, and it was found that the empirical research results were almost consistent with the simulation research results.
The research results indicated that: (1) low ratios of missing data (up to 10%) yielded negligible effects across all three algorithms, demonstrating the robust handling of missingness inherent to MCMC; (2) across all conditions, informative and empirical priors yielded higher estimation accuracy than non-informative priors; (3) HMC algorithm uniquely exhibited “cross-design” stability, maintaining high accuracy across both the p×i and the p×i×h, whereas M-H algorithm and Gibbs sampling demonstrated structural limitations and lower accuracy; and (4) for M-H algorithm and Gibbs sampling to achieve acceptable accuracy in higher-dimensional spaces, a minimum of four levels for the h facet (h≥4) was required. Consequently, we highly recommend that future GT researchers utilizing Bayesian MCMC frameworks adopt the HMC algorithm.

Key words: generalizability theory, estimating variance components, MCMC method, M-H algorithm, Gibbs sampling, HMC algorithm

中图分类号: