フィルターのクリア

Statistical test for difference between means

6 ビュー (過去 30 日間)
Aviram Shemen
Aviram Shemen 2020 年 12 月 24 日
コメント済み: Aviram Shemen 2020 年 12 月 29 日
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.

採用された回答

Walter Roberson
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 = 2.3405e-199
s < rho
ans = logical
1
  7 件のコメント
Walter Roberson
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)
s = 2.3405e-199
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
Aviram Shemen
Aviram Shemen 2020 年 12 月 28 日
Thanks!

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2020 年 12 月 28 日
Wouldn't you use ttest()?
  11 件のコメント
Paul
Paul 2020 年 12 月 29 日
編集済み: Paul 2020 年 12 月 29 日
You've posed an interesting question, but I'm afraid that I can't be of any more help.
Aviram Shemen
Aviram Shemen 2020 年 12 月 29 日
Thanks!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by