필터 지우기
필터 지우기

wilcoxon test for two sample

조회 수: 8 (최근 30일)
farfar
farfar 2017년 3월 26일
편집: the cyclist 2017년 3월 26일
hi everybody Is it possible to do a signed rank wilcoxon test for two sample with different sizes ?
x=[331 308 300 414 253 323 452 396 104];
y=[248 393 260 355 279 184 386 450 432 196 197];
[p,h,stats] = signrank(x,y,'tail','right')
and error is : SIGNRANK requires the data vectors to have the same number of elements. sorry if the answer is obvious!

채택된 답변

the cyclist
the cyclist 2017년 3월 26일
편집: the cyclist 2017년 3월 26일
I think you probably actually want the ranksum command.
The signed rank test that you are using is specifically for paired measurements.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by