Statistical test for difference between means
조회 수: 22 (최근 30일)
이전 댓글 표시
Hi,
I have two mean values and standard errors (se) of two unknown distributions.
I would like to check whether the difference between these two means is statistically significant.
mean1=1.2545, se1=0.0145
mean2=1.6913, se2=0.0172
Thanks,
Aviram.
댓글 수: 0
채택된 답변
Walter Roberson
2020년 12월 24일
mean1=1.2545; se1=0.0145;
mean2=1.6913; se2=0.0172;
rho = 0.01;
s = 2*normcdf(-abs(mean1-mean2), 0, min(se1,se2))
s < rho
댓글 수: 7
Walter Roberson
2020년 12월 27일
mean1=1.2545; se1=0.0145;
mean2=1.6913; se2=0.0172;
rho = 0.01;
minse = min(se1,se2);
s = 2*normcdf(-abs(mean1-mean2)/minse, 0, 1)
A small modification to the above that perhaps might make it marginally clearer based upon common statistics: we effectively normalize back to mean 0 and standard deviation 1, and then it is just a cdf calculation
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!