Menu

stats

BHM-Bob G

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

  1. pca : func, wrap of sklearn.decomposition.PCA

sub-module

df

pandas.dataFrame utils for stats

  1. remove_simi: func for remove similar data in a pandas.Series
  2. interp: func to make two pandas.Series the same length using numpy.interp
  3. ...

reg

regression

  1. linear_reg: do linear regression using sklearn.linear_model.LinearRegression
  2. ...

test

some test func(using scipy and mostly give a support for mbapy-style data input)

  1. get_interval: func to get interval
  2. _get_x1_x2: inner tool func: get x1 and x2 from a mbapy-style data input
  3. _get_x1_x2_R: inner tool func: get x1 and ... from a mbapy-style data input
  4. ttest_1samp: scipy.stats.ttest_1samp
  5. ttest_ind: func to make scipy.stats.ttest_ind with scipy.stats.levene
  6. ttest_rel: scipy.stats.ttest_rel
  7. mannwhitneyu: scipy.stats.mannwhitneyu
  8. shapiro: scipy.stats.shapiro
  9. pearsonr: scipy.stats.pearsonr
  10. _get_observe: inner tool func: get observe table from a mbapy-style data input
  11. chi2_contingency: scipy.stats.chi2_contingency
  12. fisher_exact: scipy.stats.fisher_exact
  13. f_oneway: scipy.stats.f_oneway
  14. multicomp_turkeyHSD: do multicomp(turkeyHSD) using statsmodels(pairwise_tukeyhsd)
  15. multicomp_dunnett: do multicomp(dunnett) using scipy.stats.dunnett
  16. multicomp_bonferroni: do multicomp(bonferroni) using scikit_posthocs
  17. ...

Related

Wiki: Home
Wiki: stats df
Wiki: stats reg
Wiki: stats test

MongoDB Logo MongoDB