@@ -1884,22 +1884,29 @@ def boxplot_stats(X, whis=1.5, bootstrap=None, labels=None):
1884
1884
-------
1885
1885
bxpstats : A list of dictionaries containing the results for each column
1886
1886
of data. Keys of each dictionary are the following:
1887
- - label = tick label for the boxplot
1888
- - mean = mean value (can plot as a line or point)
1889
- - median = 50th percentile
1890
- - q1 = first quartile (25th pctl)
1891
- - q3 = third quartile (75 (pctl)
1892
- - cilo = lower notch around the median
1893
- - ciho = upper notch around the median
1894
- - whislo = end of the lower whisker
1895
- - whishi = end of the upper whisker
1896
- - fliers = outliers
1887
+
1888
+ ======== ===================================
1889
+ Key Value Description
1890
+ ======== ===================================
1891
+ label tick label for the boxplot
1892
+ mean arithemetic mean value
1893
+ median 50th percentile
1894
+ q1 first quartile (25th percentile)
1895
+ q3 third quartile (75th percentile)
1896
+ cilo lower notch around the median
1897
+ ciho upper notch around the median
1898
+ whislo end of the lower whisker
1899
+ whishi end of the upper whisker
1900
+ fliers outliers
1901
+ ======== ===================================
1897
1902
1898
1903
1899
1904
Notes
1900
1905
-----
1901
1906
Non-bootstrapping approach to confidence interval uses Gaussian-based
1902
- asymptotic approximation.
1907
+ asymptotic approximation:
1908
+
1909
+ .. math:: \mathrm{med} \pm 1.57 \t imes \f rac{\mathrm{iqr}}{\sqrt{N}}
1903
1910
1904
1911
General approach from:
1905
1912
McGill, R., Tukey, J.W., and Larsen, W.A. (1978) "Variations of
0 commit comments