This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _morestats / _anderson_ksamp_midrank

function

scipy.stats._morestats:_anderson_ksamp_midrank

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_morestats.py:2670

Signature

def _anderson_ksamp_midrank(samples, Z, Zstar, k, n, N)

Summary

Compute A2akN equation 7 of Scholz and Stephens.

Parameters

samples : sequence of 1-D array_like

Array of sample arrays.

Z : array_like

Sorted array of all observations.

Zstar : array_like

Sorted array of unique observations.

k : int

Number of samples.

n : array_like

Number of observations in each sample.

N : int

Total number of observations.

Returns

A2aKN : float

The A2aKN statistics of Scholz and Stephens 1987.

Aliases

  • scipy.stats._morestats._anderson_ksamp_midrank