Statistical test for difference between means
古いコメントを表示
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.
採用された回答
その他の回答 (1 件)
Image Analyst
2020 年 12 月 28 日
0 投票
Wouldn't you use ttest()?
11 件のコメント
mean1=1.2545; se1=0.0145;
mean2=1.6913; se2=0.0172;
ttest(mean1, mean2)
Aviram Shemen
2020 年 12 月 28 日
Image Analyst
2020 年 12 月 28 日
How were the means and standard errors computed then?
Aviram Shemen
2020 年 12 月 28 日
Image Analyst
2020 年 12 月 28 日
Strange how you got it to work with no input data though.
Aviram Shemen
2020 年 12 月 29 日
Image Analyst
2020 年 12 月 29 日
What happened to the original input data you had? How did it go missing?
Paul
2020 年 12 月 29 日
Like Image Analyst, I also think that a t-test is can be used to test for the difference between means (so can a z-test in some circumstances). But, there are different types of t-tests and the correct one to use depends on your assumptions about the underlying populations, the number of samples from those populations, and the alnternative hypothesis, none of which have been explicitly stated in the original question.
I had never head of coxphfit, but took a quick look and I'm still not clear on what the outputs mean in the context of thise question. Is the se1 in the question that stats.se field? What is mean1? Is it b (stats.beta)? Is stats.beta the sample mean of some random sample of some population?
Aviram Shemen
2020 年 12 月 29 日
Aviram Shemen
2020 年 12 月 29 日
カテゴリ
ヘルプ センター および File Exchange で Hypothesis Tests についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!