{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _ksstats / kolmognp

function

scipy.stats._ksstats:kolmognp

source: /scipy/stats/_ksstats.py :542

Signature

def   kolmognp ( n x )

Summary

Computes the PDF for the two-sided Kolmogorov-Smirnov distribution.

Parameters

n : integer, array_like

the number of samples

x : float, array_like

The K-S statistic, float between 0 and 1

Returns

pdf : ndarray

The PDF at the specified locations

: The return value has shape the result of numpy broadcasting n and x.

Aliases

  • scipy.stats._continuous_distns.kolmognp