{
  "name": "Default behaviour of the Wilcoxon signed-rank test in SciPy, R and pingouin",
  "description": "Compares documented defaults for exact versus approximate p-values, continuity correction, tie and zero handling and effect-size output across three widely used statistical packages, compiled from each package's current reference documentation.",
  "page": "https://casrai.org/guides/wilcoxon-signed-rank-test-assumptions-and-reporting",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-22T01:18:50Z",
  "temporalCoverage": "2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Tool",
      "unit": "",
      "description": ""
    },
    {
      "name": "Exact p-value rule",
      "unit": "",
      "description": ""
    },
    {
      "name": "Continuity correction default",
      "unit": "",
      "description": ""
    },
    {
      "name": "Zero-difference handling documented",
      "unit": "",
      "description": ""
    },
    {
      "name": "Effect size or interval returned",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Tool": "SciPy 1.18.0 scipy.stats.wilcoxon",
      "Exact p-value rule": "method='auto': exact if no ties/zeros and n is 50 or fewer; with ties or zeros, exhaustive permutation only at 13 or fewer differences",
      "Continuity correction default": "False",
      "Zero-difference handling documented": "zero_method 'wilcox' (default, discard), 'pratt', 'zsplit'",
      "Effect size or interval returned": "None (statistic and p-value; z-statistic only for asymptotic)"
    },
    {
      "Tool": "R stats::wilcox.test (R-devel)",
      "Exact p-value rule": "exact=NULL: exact when fewer than 50 finite values; ties handled by conditional permutation (Streitberg-Roehmel)",
      "Continuity correction default": "TRUE",
      "Zero-difference handling documented": "Not stated on the manual page",
      "Effect size or interval returned": "Optional Hodges-Lehmann pseudomedian estimate and confidence interval (conf.int=TRUE)"
    },
    {
      "Tool": "pingouin.wilcoxon",
      "Exact p-value rule": "Passes extra arguments to scipy.stats.wilcoxon",
      "Continuity correction default": "Applied by default (correction=False reproduces SciPy)",
      "Zero-difference handling documented": "Not stated; defers to SciPy",
      "Effect size or interval returned": "Matched-pairs rank-biserial correlation (RBC) and common language effect size (CLES)"
    },
    {
      "Tool": "R effectsize::rank_biserial",
      "Exact p-value rule": "Not applicable (effect size only)",
      "Continuity correction default": "Not applicable",
      "Zero-difference handling documented": "Not stated on the reference page",
      "Effect size or interval returned": "Matched-pairs rank-biserial with Fisher-transformation confidence interval"
    }
  ],
  "sources": [
    {
      "title": "scipy.stats.wilcoxon",
      "url": "https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.wilcoxon.html",
      "accessed": "2026-11-21"
    },
    {
      "title": "R stats wilcox.test",
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/stats/html/wilcox.test.html",
      "accessed": "2026-11-21"
    },
    {
      "title": "pingouin.wilcoxon",
      "url": "https://pingouin-stats.org/generated/pingouin.wilcoxon.html",
      "accessed": "2026-11-21"
    },
    {
      "title": "effectsize rank_biserial",
      "url": "https://easystats.github.io/effectsize/reference/rank_biserial.html",
      "accessed": "2026-11-21"
    }
  ]
}