{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _mstats_extras / median_cihs

function

scipy.stats._mstats_extras:median_cihs

source: /scipy/stats/_mstats_extras.py :343

Signature

def   median_cihs ( data alpha = 0.05 axis = None )

Summary

Computes the alpha-level confidence interval for the median of the data.

Extended Summary

Uses the Hettmasperger-Sheather method.

Parameters

data : array_like

Input data. Masked values are discarded. The input should be 1D only, or axis should be set to None.

alpha : float, optional

Confidence level of the intervals.

axis : int or None, optional

Axis along which to compute the quantiles. If None, use a flattened array.

Returns

: median_cihs

Alpha level confidence interval.

Aliases

  • scipy.stats._mstats_extras.median_cihs