{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _hypotests / _psi1_mod

function

scipy.stats._hypotests:_psi1_mod

source: /scipy/stats/_hypotests.py :394

Signature

def   _psi1_mod ( x * xp = None )

Summary

psi1 is defined in equation 1.10 in Csörgő, S. and Faraway, J. (1996). This implements a modified version by excluding the term V(x) / 12 (here: _cdf_cvm_inf(x) / 12) to avoid evaluating _cdf_cvm_inf(x) twice in _cdf_cvm.

Extended Summary

Implementation based on MAPLE code of Julian Faraway and R code of the function pCvM in the package goftest (v1.1.1), permission granted by Adrian Baddeley. Main difference in the implementation: the code here keeps adding terms of the series until the terms are small enough.

Aliases

  • scipy.stats._hypotests._psi1_mod