bundles / scipy 1.17.1 / scipy / stats / _stats_py / QuantileTestResult
class
scipy.stats._stats_py:QuantileTestResult
source: /scipy/stats/_stats_py.py :8922
Signature
class QuantileTestResult ( statistic : float , statistic_type : int , pvalue : float , _alternative : list[str] , _x : np.ndarray , _p : float ) → None Members
Summary
Result of scipy.stats.quantile_test.
Attributes
statistic: floatThe statistic used to calculate the p-value; either
T1, the number of observations less than or equal to the hypothesized quantile, orT2, the number of observations strictly less than the hypothesized quantile. Two test statistics are required to handle the possibility the data was generated from a discrete or mixed distribution.statistic_type: int1or2depending on which ofT1orT2was used to calculate the p-value respectively.T1corresponds to the"greater"alternative hypothesis andT2to the"less". For the"two-sided"case, the statistic type that leads to smallest p-value is used. For significant tests,statistic_type = 1means there is evidence that the population quantile is significantly greater than the hypothesized value andstatistic_type = 2means there is evidence that it is significantly less than the hypothesized value.pvalue: floatThe p-value of the hypothesis test.
Aliases
-
scipy.stats._stats_py.QuantileTestResult