Papers
Topics
Authors
Recent
Search
2000 character limit reached

Friedman Test: Nonparametric Analysis in RCBD

Updated 14 April 2026
  • Friedman Test is a rank-based nonparametric method for detecting differences among treatments in randomized complete block designs, offering a robust alternative to traditional F-tests.
  • It ranks observations within blocks to compute a statistic that approximates a chi-square distribution under large sample conditions, with explicit finite-sample corrections.
  • Recent developments include improved F-transformations, graphical diagnostics (S-plot), and precise power/sample size calculations to guide practical applications.

The Friedman test is a rank-based nonparametric procedure employed for detecting differences among treatments in a randomized complete block design (RCBD), often functioning as a robust substitute for the traditional parametric F-test. The test is especially notable for its broad applicability to settings lacking normality or exhibiting non-homogeneous error structures. Its asymptotic justification, extensions for accurate finite-sample inference, and connections to graphical and post-hoc methodologies have been extensively analyzed, with recent research providing explicit guidelines for type I error control, power, and sample size determination (Jan et al., 21 Mar 2025, Gaunt et al., 2021, Elamir, 2022).

1. Statistical Model and Fundamental Hypotheses

In the RCBD context, the model is conventionally expressed as

Xij=μ+θi+γj+εijX_{ij} = \mu + \theta_i + \gamma_j + \varepsilon_{ij}

where XijX_{ij} denotes the observation for treatment ii in block jj, μ\mu is a grand mean, θi\theta_i and γj\gamma_j are fixed treatment and block effects, and εij\varepsilon_{ij} are assumed to be independent and continuously distributed. The null hypothesis is

H0:θ1=θ2=⋯=θK=0H_0: \theta_1 = \theta_2 = \cdots = \theta_K = 0

against the alternative that at least one θi\theta_i differs. The error term distribution is unrestricted except for continuity, rendering the test nonparametric (Jan et al., 21 Mar 2025, Elamir, 2022).

2. Construction of the Friedman Statistic

Within each block XijX_{ij}0, observations are ranked among the XijX_{ij}1 treatments, resulting in ranks XijX_{ij}2 for treatment XijX_{ij}3. The sum of ranks for each treatment is

XijX_{ij}4

The classic Friedman statistic is

XijX_{ij}5

or, equivalently, for XijX_{ij}6 blocks and XijX_{ij}7 treatments,

XijX_{ij}8

where XijX_{ij}9 and ii0 are functionally equivalent statistics depending on notation (Jan et al., 21 Mar 2025, Gaunt et al., 2021, Elamir, 2022).

3. Null Distribution, Asymptotics, and Chi-Square Approximation

Under ii1, the ii2 are exchangeable with mean ii3 and variance ii4 (Gaunt et al., 2021). By the central limit theorem for dependent variables, as ii5 (large block count), the Friedman statistic converges in distribution to a chi-square with ii6 degrees of freedom:

ii7

However, this approximation is conservative: the true type I error rate is below nominal ii8, especially as ii9 increases. Gaunt & Reinert (2021) provide explicit finite-sample bounds:

  • For smooth test functions, the error is jj0, with the optimal rate being achieved only when jj1.
  • For the Kolmogorov distance, the error is jj2, vanishing if and only if jj3 (Gaunt et al., 2021).
Scenario Bound on jj4
General smooth functions jj5 (explicit jj6 in (Gaunt et al., 2021))
Kolmogorov jj7

These finite-sample results enable practitioners to gauge the validity of the chi-square approximation—if jj8, alternative approaches such as permutation tests or increasing jj9 are warranted (Gaunt et al., 2021).

4. Improved Transformations and Power Analysis

To address conservativeness and enhance small-sample performance, transformations of the Friedman statistic to an μ\mu0 distribution have been proposed. The general transformation is

μ\mu1

with variants:

  • "Kendall’s" μ\mu2: specific form using μ\mu3, μ\mu4.
  • Proposed μ\mu5: aligns numerator degrees of freedom with classical ANOVA (μ\mu6), yielding

μ\mu7

The μ\mu8 has been shown to provide type I error rates tightly matched to nominal μ\mu9 (within θi\theta_i0) for a range of θi\theta_i1 and θi\theta_i2.

Noncentral θi\theta_i3 approximations under heterogeneous location shifts, incorporating explicit power functions, have also been derived. For the θi\theta_i4 variant:

θi\theta_i5

with closed-form expressions for the noncentrality parameter θi\theta_i6 and the means/variances of rank statistics under the alternatives for Uniform, Normal, Laplace, and Exponential distributions. Monte Carlo verification demonstrates power estimation error θi\theta_i7 for θi\theta_i8 with θi\theta_i9, in contrast to errors exceeding 20% for classic noncentral γj\gamma_j0 approaches (Jan et al., 21 Mar 2025).

5. Graphical and Single-Step Approaches

Recent work proposes consolidating global and post-hoc analyses through the "S-plot" approach, visualizing standardized group-rank contributions:

γj\gamma_j1

with the Friedman statistic decomposed as γj\gamma_j2. A gamma approximation for γj\gamma_j3 enables precise calculation of decision limits for family-wise error control (e.g., Bonferroni). This approach replaces classical cascades of Nemenyi or Conover pairwise tests:

  • Plot γj\gamma_j4 across γj\gamma_j5; any γj\gamma_j6 exceeding its decision limit identifies the treatments most responsible for rejecting γj\gamma_j7.
  • Simulation studies confirm type I error control close to nominal levels and efficiency in identifying significant effects, particularly for moderately large γj\gamma_j8 (Elamir, 2022).
Post-hoc Approach Number of Tests Error Control
Classical (Nemenyi) γj\gamma_j9 Family-wise (FWER)
S-plot εij\varepsilon_{ij}0 standardized ranks FWER (Bonferroni)

6. Sample Size Determination and Practical Guidance

Explicit sample size calculations are enabled by the explicit power expressions for the εij\varepsilon_{ij}1 transformation. The minimum εij\varepsilon_{ij}2 achieving power at least εij\varepsilon_{ij}3 at level εij\varepsilon_{ij}4 is the smallest εij\varepsilon_{ij}5 such that

εij\varepsilon_{ij}6

where parameters incorporate the underlying effect size through closed-form probabilities (derivable for Uniform, Normal, Laplace, Exponential shifts). Usually, a grid search or Newton–Raphson is used, plugging in the relevant power function and distributional parameters (Jan et al., 21 Mar 2025).

7. Empirical Validation, Limitations, and Recommendations

  • The chi-square approximation is conservative, with error worsening as εij\varepsilon_{ij}7 grows or εij\varepsilon_{ij}8 decreases; εij\varepsilon_{ij}9 furnishes type I error control much closer to the nominal level.
  • The H0:θ1=θ2=⋯=θK=0H_0: \theta_1 = \theta_2 = \cdots = \theta_K = 00 transformation with noncentrality H0:θ1=θ2=⋯=θK=0H_0: \theta_1 = \theta_2 = \cdots = \theta_K = 01 yields the best overall accuracy for power and sample size estimation under a broad range of data-generating processes.
  • S-plot graphical methods drastically reduce the number of post-hoc tests and provide an immediate, interpretable visualization for both global and specific treatment effects, contingent on moderately large block sizes for moment-based fit (Jan et al., 21 Mar 2025, Elamir, 2022).
  • The classical method and S-plot both maintain type I error within Bradley’s interval H0:θ1=θ2=⋯=θK=0H_0: \theta_1 = \theta_2 = \cdots = \theta_K = 02 at 5% nominal, with accuracy improving as H0:θ1=θ2=⋯=θK=0H_0: \theta_1 = \theta_2 = \cdots = \theta_K = 03 increases.
  • If block–treatment interaction or ties are present, additional adjustments or alternative methodologies may be necessary.

In summary, the Friedman test remains a foundational nonparametric tool for RCBD analysis. Recent developments on accurate H0:θ1=θ2=⋯=θK=0H_0: \theta_1 = \theta_2 = \cdots = \theta_K = 04-transformations, noncentral power approximations, explicit error bounds, and single-step graphical diagnostics extend its reliability and usability for modern experimental designs (Jan et al., 21 Mar 2025, Gaunt et al., 2021, Elamir, 2022).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Friedman Test.