Easy Friedman Test

버전 1.3.0.0 (1.79 KB) 작성자: Alan de Freitas
This is a useful function for comparing algorithms or treatments.
다운로드 수: 431
업데이트 날짜: 2012/6/7

라이선스 보기

The function takes a 3-dimensional table with results from different methods,
instances and replicates and returns a 2-dimensional table for the
friedman test. Addicionally, it will ask if you want to run the test and
compare the results.

results : 3-dimensional matrix in the format:
(method_number, instance_number, replicate_number)
optional inputs:
display : boolean used to decide if you want to already perform the test
isreplicate : treats multiple runs as replication (1) or repetition (2)
names : cell variable with method names

friedman_table : 2-dimensional table in the format for the friedman test
(block, method)

EXAMPLE:
% Generating the data
for i=1:methods
for j=1:instances
for k=1:replicates
if i == 1
fos(i,j,k) = genetic_algorithm(problem);
elseif i == 2
fos(i,j,k) = local_search(problem);
end
end
end
end
% Comparing the methods and getting the table
friedman_table = fos2friedman(fos);
friedman_table = fos2friedman(fos,0);
friedman_table = fos2friedman(fos,1);

인용 양식

Alan de Freitas (2024). Easy Friedman Test (https://www.mathworks.com/matlabcentral/fileexchange/37029-easy-friedman-test), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 ANOVA에 대해 자세히 알아보기

Community Treasure Hunt

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

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

Additional input options.

1.0.0.0