| 注册
首页|期刊导航|心理学报|置信区间宽度等高线图在线性混合效应模型样本量规划中的应用

置信区间宽度等高线图在线性混合效应模型样本量规划中的应用

刘玥 徐雷 刘红云 韩雨婷 游晓锋 万志林

心理学报2024,Vol.56Issue(1):124-138,中插1-中插42,57.
心理学报2024,Vol.56Issue(1):124-138,中插1-中插42,57.DOI:10.3724/SP.J.1041.2024.00124

置信区间宽度等高线图在线性混合效应模型样本量规划中的应用

Confidence interval width contours:Sample size planning for linear mixed-effects models

刘玥 1徐雷 1刘红云 2韩雨婷 3游晓锋 4万志林1

作者信息

  • 1. 四川师范大学脑与心理科学研究院,成都 610066
  • 2. 应用实验心理北京市重点实验室||北京师范大学心理学部,北京 100875
  • 3. 北京语言大学心理学院,北京 100083
  • 4. 南昌师范学院数学与信息科学学院,南昌 360111
  • 折叠

摘要

Abstract

Hierarchical data,which is observed frequently in psychological experiments,is usually analyzed with the linear mixed-effects models(LMEMs),as it can account for multiple sources of random effects due to participants,items,and/or predictors simultaneously.However,it is still unclear of how to determine the sample size and number of trials in LMEMs.In history,sample size planning was conducted based purely on power analysis.Later,the influential article of Maxwell et al.(2008)has made clear that sample size planning should consider statistical power and accuracy in parameter estimation(AIPE)simultaneously.In this paper,we derive a confidence interval width contours plot with the codes to generate it,providing power and AIPE information simultaneously.With this plot,sample size requirements in LMEMs based on power and AIPE criteria can be decided.We also demonstrated how to run sensitivity analysis to assess the impact of the magnitude of experiment effect size and the magnitude of random slope variance on statistical power,AIPE and the results of sample size planning. There were two sets of sensitivity analysis based on different LMEMs.Sensitivity analysis Ⅰ investigated how the experiment effect size influenced power,AIPE and the requirement of sample size for within-subject experiment design,while sensitivity analysis Ⅱ investigated the impact of random slope variance on optimal sample size based on power and AIPE analysis for the cross-level interaction effect.The results for binary and continuous between-subject variables were compared.In these sensitivity analysis,two factors regarding sample size varied:number of subjects(I = 10,30,50,70,100,200,400,600,800),number of trials(J = 10,20,30,50,70,100,150,200,250,300).The additional manipulated factor was the effect size of experiment effect(standard coefficient of experiment condition = 0.2,0.5,0.8,in sensitivity analysis I)and the magnitude of random slope variance(0.01,0.09 and 0.25,in sensitivity analysis Ⅱ).A random slope model was used in sensitivity analysis Ⅰ,while a random slope model with level-2 independent variable was used in sensitivity analysis II.Data-generating model and fitted model were the same.Estimation performance was evaluated in terms of convergence rate,power,AIPE for the fixed effect,AIPE for the standard error of the fixed effect,and AIPE for the random effect. The results are as following.First,there were no convergence problems under all the conditions,except that when the variance of random slope was small and a maximal model was used to fit the data.Second,power increased as sample size,number of trials or effect size increased.However,the number of trials played a key role for the power of within-subject effect,while sample size was more important for the power of cross-level effect.Power was larger for continuous between-subject variable than for binary between-subject variable.Third,although the fixed effect was accurately estimated under all the simulation conditions,the width 95%confidence interval(95%width)was extremely large under some conditions.Lastly,AIPE for the random effect increased as sample size and/or number of trials increased.The variance of residual was estimated accurately.As the variance of random slope increased,the accuracy of the estimates of variances of random intercept decreased,and the accuracy of the estimates of random slope increased. In conclusion,if sample size planning was conducted solely based on power analysis,the chosen sample size might not be large enough to obtain accurate estimates of effects size.Therefore,the rational for considering statistical power and AIPE during sample size planning was adopted.To shed light on this issue,this article provided a standard procedure based on a confidence interval width contours plot to recommend sample size and number of trials for using LMEMs.This plot visualizes the combined effect of sample size and number of trials per participant on 95%width,power and AIPE for random effects.Based on this tool and other empirical considerations,practitioners can make informed choices about how many participants to test,and how many trials to test each one for.

关键词

线性混合效应模型/多水平模型/检验力分析/效应量/置信区间宽度

Key words

linear mixed-effects models/multilevel models/power analysis/effect size/confidence interval width

分类

社会科学

引用本文复制引用

刘玥,徐雷,刘红云,韩雨婷,游晓锋,万志林..置信区间宽度等高线图在线性混合效应模型样本量规划中的应用[J].心理学报,2024,56(1):124-138,中插1-中插42,57.

基金项目

国家自然科学基金项目(32071091,32200920),四川省自然科学基金青年项目(2022NSFSC1788,2022NSFSC1631,2022NSFSC1691). (32071091,32200920)

心理学报

OA北大核心CHSSCDCSSCICSTPCD

0439-755X

访问量0
|
下载量0
段落导航相关论文