Brief
Since mbapy gets it's special parameters passing way in sci-plot field, stats sub-module re-uses some APIs in plot sub-module for processing pandas.dataFrame to wrap some stats APIs' parameters passing way in scipy to work like mbapy.
APIs
- pca : func, wrap of sklearn.decomposition.PCA
sub-module
pandas.dataFrame utils for stats
- remove_simi: func for remove similar data in a pandas.Series
- interp: func to make two pandas.Series the same length using numpy.interp
- ...
regression
- linear_reg: do linear regression using sklearn.linear_model.LinearRegression
- ...
some test func(using scipy and mostly give a support for mbapy-style data input)
- get_interval: func to get interval
- _get_x1_x2: inner tool func: get x1 and x2 from a mbapy-style data input
- _get_x1_x2_R: inner tool func: get x1 and ... from a mbapy-style data input
- ttest_1samp: scipy.stats.ttest_1samp
- ttest_ind: func to make scipy.stats.ttest_ind with scipy.stats.levene
- ttest_rel: scipy.stats.ttest_rel
- mannwhitneyu: scipy.stats.mannwhitneyu
- shapiro: scipy.stats.shapiro
- pearsonr: scipy.stats.pearsonr
- _get_observe: inner tool func: get observe table from a mbapy-style data input
- chi2_contingency: scipy.stats.chi2_contingency
- fisher_exact: scipy.stats.fisher_exact
- f_oneway: scipy.stats.f_oneway
- multicomp_turkeyHSD: do multicomp(turkeyHSD) using statsmodels(pairwise_tukeyhsd)
- multicomp_dunnett: do multicomp(dunnett) using scipy.stats.dunnett
- multicomp_bonferroni: do multicomp(bonferroni) using scikit_posthocs
- ...