Friedman Test

The Friedman test is used to detect any difference between subjects under test measured variously multiple times. More precisely, this non-parametric test states whether there is a significant difference in the location parameters of k statistical samples (>= 3, columns candidates, treatments, subject), measured n times (rows, blocks, participants, measures), or not. The data in each row is ranked, based on which a resulting test statistic Q is calculated.

If n > 15 or k > 4, the test statistic Q can be approximated to be Χ2 distributed. With the given significance level α, a corresponding p-value (null hypothesis H0: there is no difference of the location parameters in the samples, alternative hypothesis HA: the samples in the columns have different location parameters) can be given.

Please refer also to the Wikipedia description of the Friedman Test.

Options

Significance level α
The significance level for the hypothesis test. A difference in the samples is assumed based on this value, where 0 ≤ α ≤ 1. Commonly used values are 0.05 or 0.01.
Distributions
Select the columns (samples/distributions) to be included in the Friedman test. Each column represents a treatment or condition, and each row represents a block or subject. At least 3 columns must be selected.
Missing values strategy
Specifies how missing values are handled when ranking is done.
  • Minimal: Missing values are considered minimal in the ordering
  • Maximal: Missing values are considered maximal in the ordering
  • Fixed: Missing values are left in place
  • Failed: Missing values result in node failure
Ties strategy
Specifies how ties in each block are handled when ranking is done.
  • Sequential: Ties assigned sequential ranks in order of occurrence
  • Minimum: Ties get the minimum applicable rank
  • Maximum: Ties get the maximum applicable rank
  • Average: Ties get the average of applicable ranks
  • Random: Ties get a random integral value from among applicable ranks
Use random seed
Enable to use a custom seed for the random number generator when the Ties Strategy is set to Random. If disabled, a random seed will be used.
Seed
The seed value for the random number generator used when randomizing tied ranks.
New seed
Generate a random seed and set it in the Seed input above for reproducible runs.

Input Ports

Icon
The table from which to test samples.

Output Ports

Icon
Friedman test evaluation.

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.