Non-parametric alternative of 2-way ANOVA (ScheirerRayHare)

버전 1.0.1 (1.58 KB) 작성자: Nirvik Sinha
This is a simplified MATLAB implementation of R's Scheirer-Ray-Hare test
다운로드 수: 149
업데이트 날짜: 2021/8/28

라이선스 보기

For more details refer to: James Scheirer, William S. Ray, Nathan Hare, The Analysis of Ranked Data Derived from Completely Randomized Factorial Designs. In: Biometrics. 32(2)/1976. International Biometric Society, S. 429–434
% Example from Sokal and Rohlf, 1995:
Value = [709,679,699,657,594,677,592,538,476,508,505,539];
Sex = [1 1 1 2 2 2 1 1 1 2 2 2]; % 1 -> Male, 2 -> Female
Fat = [1 1 1 1 1 1 2 2 2 2 2 2]; % 1 -> Fresh, 2-> Rancid
Data = [Value',Sex',Fat'];
out = SRH_test(Data,'Sex','Fat')
4×5 table
Factor SS DF H pvalue
_____________ ______ __ _______ _________
{'Sex' } 8.3333 1 0.64103 0.42334
{'Fat' } 108 1 8.3077 0.0039478
{'Sex x Fat'} 5.3333 1 0.41026 0.52184
{'Residuals'} 21.333 8 NaN NaN

인용 양식

Nirvik Sinha (2024). Non-parametric alternative of 2-way ANOVA (ScheirerRayHare) (https://www.mathworks.com/matlabcentral/fileexchange/96399-non-parametric-alternative-of-2-way-anova-scheirerrayhare), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

Added factor names to output table

1.0.0