wilcoxon_signed_test: Wilcoxon signed-rank test

Description Usage Arguments Details Value References Examples

View source: R/frequentist_tests.R

Description

This function implements the paired Wilcoxon signed-rank test. A non-parametric statistical hypothesis test to compare the means of two paired samples.

Usage

1
wilcoxon_signed_test(df, problem, baseline, algorithm = NULL, measure = NULL)

Arguments

df

('list')
Data frame containing the performane measure.

problem

('character')
Problem set used to evaluate the algorithms performance. Value in 'problem' column.

baseline

('character')
First algorithm. Value in 'algorithm' column.

algorithm

('character')
Second algorithm. Value in 'algorithm' column. If not defined, the baseline is tested against all algorithms in the data frame.

measure

('character')
Name of the 'measure' column. If not defined, the first 'measure' column in the data frame is used.

Details

The test has first been implemented in scmamp.

Value

A list containing the following components:

References

https://github.com/b0rxa/scmamp

Examples

1
2
    results <- wilcoxon_signed_test(df = test_benchmark, baseline = "algo_1",
    algorithm = "algo_2", problem = "problem_a")  

RebeccaGroh/seqbtests documentation built on Nov. 17, 2021, 8:50 a.m.