在gpower中进行如下设置:

  • 在"Test family"中选择"t tests"
  • 在"Statistical test"中选择"Means: Difference between two independent means (two groups)"
  • 在"Type of power analysis"中选择"A priori: Compute required sample size - given alpha, power, and effect size"
  • 在"Input"中设置"Tail(s)"为"Two"
  • 在"Desired power"中输入"0.8"
  • 在"Error probability"中输入"0.05"
  • 在"Effect size"中选择"Cohen's d",并输入"0.5"
  • 在"Design"中设置"Number of groups"为"2","Allocation ratio"为"1","Total sample size"为"6"(即A(2)×B(3)的总样本量),"Number of factors"为"2","Within-between interaction"为"Between subjects factor only","Number of levels"为"2"(即A的水平数),"Type I error probability per family"为"0.05"

点击"Calculate",得到A主效应下的最小样本量为13.


原文地址: https://www.cveoy.top/t/topic/bsui 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录