MCPcopy Create free account
hub / github.com/dask/dask / normaltest

Function normaltest

dask/array/stats.py:363–372  ·  view source on GitHub ↗
(a, axis=0, nan_policy="propagate")

Source from the content-addressed store, hash-verified

361
362@derived_from(scipy.stats)
363def normaltest(a, axis=0, nan_policy="propagate"):
364 if nan_policy != "propagate":
365 raise NotImplementedError(
366 "`nan_policy` other than 'propagate' have not been implemented."
367 )
368
369 s, _ = skewtest(a, axis)
370 k, _ = kurtosistest(a, axis)
371 k2 = s * s + k * k
372 return delayed(NormaltestResult, nout=2)(k2, delayed(distributions.chi2.sf)(k2, 2))
373
374
375@derived_from(scipy.stats)

Callers

nothing calls this directly

Calls 3

delayedFunction · 0.90
skewtestFunction · 0.85
kurtosistestFunction · 0.85

Tested by

no test coverage detected