Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/scipy/stats/mstats.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2023-12-12 06:31 +0000

1""" 

2=================================================================== 

3Statistical functions for masked arrays (:mod:`scipy.stats.mstats`) 

4=================================================================== 

5 

6.. currentmodule:: scipy.stats.mstats 

7 

8This module contains a large number of statistical functions that can 

9be used with masked arrays. 

10 

11Most of these functions are similar to those in `scipy.stats` but might 

12have small differences in the API or in the algorithm used. Since this 

13is a relatively new package, some API changes are still possible. 

14 

15Summary statistics 

16================== 

17 

18.. autosummary:: 

19 :toctree: generated/ 

20 

21 describe 

22 gmean 

23 hmean 

24 kurtosis 

25 mode 

26 mquantiles 

27 hdmedian 

28 hdquantiles 

29 hdquantiles_sd 

30 idealfourths 

31 plotting_positions 

32 meppf 

33 moment 

34 skew 

35 tmean 

36 tvar 

37 tmin 

38 tmax 

39 tsem 

40 variation 

41 find_repeats 

42 sem 

43 trimmed_mean 

44 trimmed_mean_ci 

45 trimmed_std 

46 trimmed_var 

47 

48Frequency statistics 

49==================== 

50 

51.. autosummary:: 

52 :toctree: generated/ 

53 

54 scoreatpercentile 

55 

56Correlation functions 

57===================== 

58 

59.. autosummary:: 

60 :toctree: generated/ 

61 

62 f_oneway 

63 pearsonr 

64 spearmanr 

65 pointbiserialr 

66 kendalltau 

67 kendalltau_seasonal 

68 linregress 

69 siegelslopes 

70 theilslopes 

71 sen_seasonal_slopes 

72 

73Statistical tests 

74================= 

75 

76.. autosummary:: 

77 :toctree: generated/ 

78 

79 ttest_1samp 

80 ttest_onesamp 

81 ttest_ind 

82 ttest_rel 

83 chisquare 

84 kstest 

85 ks_2samp 

86 ks_1samp 

87 ks_twosamp 

88 mannwhitneyu 

89 rankdata 

90 kruskal 

91 kruskalwallis 

92 friedmanchisquare 

93 brunnermunzel 

94 skewtest 

95 kurtosistest 

96 normaltest 

97 

98Transformations 

99=============== 

100 

101.. autosummary:: 

102 :toctree: generated/ 

103 

104 obrientransform 

105 trim 

106 trima 

107 trimmed_stde 

108 trimr 

109 trimtail 

110 trimboth 

111 winsorize 

112 zmap 

113 zscore 

114 

115Other 

116===== 

117 

118.. autosummary:: 

119 :toctree: generated/ 

120 

121 argstoarray 

122 count_tied_groups 

123 msign 

124 compare_medians_ms 

125 median_cihs 

126 mjci 

127 mquantiles_cimj 

128 rsh 

129 

130""" 

131from ._mstats_basic import * 

132from ._mstats_extras import * 

133# Functions that support masked array input in stats but need to be kept in the 

134# mstats namespace for backwards compatibility: 

135from scipy.stats import gmean, hmean, zmap, zscore, chisquare