Best practices in multilevel modeling for within-cluster group comparisons: An evaluation of coding strategies reflecting group composition and heterogeneity.

IF 7.5 1区 心理学 Q1 PSYCHOLOGY, MULTIDISCIPLINARY
Psychological methods Pub Date : 2026-10-01 Epub Date: 2026-06-15 DOI:10.1037/met0000836
Qian Zhang, Xiao Liu, Zijun Ke
{"title":"Best practices in multilevel modeling for within-cluster group comparisons: An evaluation of coding strategies reflecting group composition and heterogeneity.","authors":"Qian Zhang, Xiao Liu, Zijun Ke","doi":"10.1037/met0000836","DOIUrl":null,"url":null,"abstract":"<p><p>In multilevel analysis, Level-1 dichotomous predictors (e.g., treatment vs. control, minority vs. majority; <i>D</i>) are commonly used to examine the existence of average within-cluster mean differences. To address this research question, we examine the best practices for coding <i>D</i>, considering within-cluster group compositions and between-cluster heterogeneity in them, as well as possible between-group heterogeneity in residual variances. We compare traditional dummy coding and unweighted effect coding with two proposed methods: overall and within-cluster weighted effect coding. Each is combined with cluster-mean centering to clearly define the within-cluster mean difference. Analytical results show that the intraclass correlation of <i>D</i> (ICC-D) substantially influences differences across coding methods regarding test results for the average within-cluster effect (group mean difference). When ICC-D is zero, all strategies yield identical test results (i.e., the significance tests based on the point estimates and standard error estimates) for the average within-cluster effect. However, as the ICC-D increases, test statistics (e.g., the t statistic) decrease for all coding strategies. An empirical study and simulations further confirm that ICC-D strongly influences results. Based on the simulations, we recommend dummy coding, unweighted effect coding, and overall weighted effect coding, which generally provide comparable or higher power than within-cluster weighted effect coding. The power contrast is most pronounced when both ICC-D and Level-1 residual variance heterogeneity increase, with the difference in power reaching up to 40%. Furthermore, cluster-mean centering not only disaggregates within- and between-cluster effects but also achieves generally reasonable Type I error rates even when homogeneity assumptions are not met. (PsycInfo Database Record (c) 2026 APA, all rights reserved).</p>","PeriodicalId":20782,"journal":{"name":"Psychological methods","volume":" ","pages":"1218-1244"},"PeriodicalIF":7.5000,"publicationDate":"2026-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychological methods","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.1037/met0000836","RegionNum":1,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/15 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"PSYCHOLOGY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

In multilevel analysis, Level-1 dichotomous predictors (e.g., treatment vs. control, minority vs. majority; D) are commonly used to examine the existence of average within-cluster mean differences. To address this research question, we examine the best practices for coding D, considering within-cluster group compositions and between-cluster heterogeneity in them, as well as possible between-group heterogeneity in residual variances. We compare traditional dummy coding and unweighted effect coding with two proposed methods: overall and within-cluster weighted effect coding. Each is combined with cluster-mean centering to clearly define the within-cluster mean difference. Analytical results show that the intraclass correlation of D (ICC-D) substantially influences differences across coding methods regarding test results for the average within-cluster effect (group mean difference). When ICC-D is zero, all strategies yield identical test results (i.e., the significance tests based on the point estimates and standard error estimates) for the average within-cluster effect. However, as the ICC-D increases, test statistics (e.g., the t statistic) decrease for all coding strategies. An empirical study and simulations further confirm that ICC-D strongly influences results. Based on the simulations, we recommend dummy coding, unweighted effect coding, and overall weighted effect coding, which generally provide comparable or higher power than within-cluster weighted effect coding. The power contrast is most pronounced when both ICC-D and Level-1 residual variance heterogeneity increase, with the difference in power reaching up to 40%. Furthermore, cluster-mean centering not only disaggregates within- and between-cluster effects but also achieves generally reasonable Type I error rates even when homogeneity assumptions are not met. (PsycInfo Database Record (c) 2026 APA, all rights reserved).

簇内组比较的多层建模的最佳实践:反映组组成和异质性的编码策略的评估。
在多水平分析中,Level-1二分类预测因子(例如,治疗vs.对照组,少数vs.多数;D)通常用于检查簇内平均差异的存在性。为了解决这个研究问题,我们研究了编码D的最佳实践,考虑了簇内组组成和簇间异质性,以及残差方差可能的组间异质性。我们比较了传统的虚拟编码和未加权的效果编码,并提出了两种方法:整体和簇内加权效果编码。每一种都与聚类均值中心相结合,清晰地定义了聚类内均值差。分析结果表明,D的类内相关性(ICC-D)在很大程度上影响了不同编码方法对平均簇内效应(组平均差)测试结果的差异。当ICC-D为零时,所有策略对平均簇内效应产生相同的检验结果(即基于点估计和标准误差估计的显著性检验)。然而,随着ICC-D的增加,所有编码策略的测试统计量(例如,t统计量)都会减少。一项实证研究和模拟进一步证实了ICC-D对结果的强烈影响。在模拟的基础上,我们推荐了虚拟编码、非加权效应编码和整体加权效应编码,它们通常提供与簇内加权效应编码相当或更高的功率。当ICC-D和Level-1残差异质性增加时,功率差异最为明显,功率差异可达40%。此外,簇均值中心不仅分解了簇内效应和簇间效应,而且即使在不满足同质性假设的情况下,也能实现一般合理的I型错误率。(PsycInfo数据库记录(c) 2026 APA,版权所有)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Psychological methods
Psychological methods PSYCHOLOGY, MULTIDISCIPLINARY-
CiteScore
13.10
自引率
7.10%
发文量
159
期刊介绍: Psychological Methods is devoted to the development and dissemination of methods for collecting, analyzing, understanding, and interpreting psychological data. Its purpose is the dissemination of innovations in research design, measurement, methodology, and quantitative and qualitative analysis to the psychological community; its further purpose is to promote effective communication about related substantive and methodological issues. The audience is expected to be diverse and to include those who develop new procedures, those who are responsible for undergraduate and graduate training in design, measurement, and statistics, as well as those who employ those procedures in research.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书