stats.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.stats` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'gmean', 'hmean', 'pmean', 'mode', 'tmean', 'tvar',
  7. 'tmin', 'tmax', 'tstd', 'tsem', 'moment',
  8. 'skew', 'kurtosis', 'describe', 'skewtest', 'kurtosistest',
  9. 'normaltest', 'jarque_bera',
  10. 'scoreatpercentile', 'percentileofscore',
  11. 'cumfreq', 'relfreq', 'obrientransform',
  12. 'sem', 'zmap', 'zscore', 'gzscore', 'iqr', 'gstd',
  13. 'median_abs_deviation',
  14. 'sigmaclip', 'trimboth', 'trim1', 'trim_mean',
  15. 'f_oneway',
  16. 'pearsonr', 'fisher_exact',
  17. 'spearmanr', 'pointbiserialr',
  18. 'kendalltau', 'weightedtau', 'multiscale_graphcorr',
  19. 'linregress', 'siegelslopes', 'theilslopes', 'ttest_1samp',
  20. 'ttest_ind', 'ttest_ind_from_stats', 'ttest_rel',
  21. 'kstest', 'ks_1samp', 'ks_2samp',
  22. 'chisquare', 'power_divergence',
  23. 'tiecorrect', 'ranksums', 'kruskal', 'friedmanchisquare',
  24. 'rankdata',
  25. 'combine_pvalues', 'wasserstein_distance', 'energy_distance',
  26. 'brunnermunzel', 'alexandergovern', 'distributions',
  27. 'mstats_basic',
  28. ]
  29. def __dir__():
  30. return __all__
  31. def __getattr__(name):
  32. return _sub_module_deprecation(sub_package="stats", module="stats",
  33. private_modules=["_stats_py", "_mgc"], all=__all__,
  34. attribute=name)