One-way anova with unequal sample sizes

조회 수: 68 (최근 30일)
Valentina Richard
Valentina Richard 2022년 6월 11일
편집: dpb 2022년 6월 12일
I am asked to compute a MATLAB function which runs a one-way anova test on the following samples
s1=2,6,6,5,2,7,6,4,5,4,1
s2=10,6,6,6,2,11,9,6,11
s3=1,2,5,10,0,3,4,3
and s4=9,5,7,6,8,6,8,8,10
and i am told that as inputs i have to insert these four samples and the level of significance which i have chosen to be 0.05.
The issue i am facing is that I cannot compute these samples into a single matrix as they are unequal and this is giving me a lot of trouble. I also am asked to use an 'if' loop when deciding whether null hypothesis should be accepted or rejected. Can someone please help me out? I would really appreciate
  댓글 수: 9
Valentina Richard
Valentina Richard 2022년 6월 12일
IT WORKED !! Thank you so much for your help you have no idea how much i appreciate. Hope you have a great rest of the day :))
dpb
dpb 2022년 6월 12일
편집: dpb 2022년 6월 12일
Glad to help...teaching is part of the attraction besides just the play...you had shown enough "go get 'em" on assignment with just guidance to make the last not seem like doing too much.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by