All Projects → aschleg → hypothetical

aschleg / hypothetical

Licence: MIT license
Hypothesis and statistical testing in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to hypothetical

Shapley regressions
Statistical inference on machine learning or general non-parametric models
Stars: ✭ 37 (-24.49%)
Mutual labels:  statistical-inference, statistical-tests
tests-as-linear
Python port of "Common statistical tests are linear models" by Jonas Kristoffer Lindeløv.
Stars: ✭ 64 (+30.61%)
Mutual labels:  statistical-tests
custom-bytecode-analyzer
Java bytecode analyzer customizable via JSON rules
Stars: ✭ 66 (+34.69%)
Mutual labels:  analysis
ldap2json
The ldap2json script allows you to extract the whole LDAP content of a Windows domain into a JSON file.
Stars: ✭ 56 (+14.29%)
Mutual labels:  analysis
Python-for-data-analysis
No description or website provided.
Stars: ✭ 18 (-63.27%)
Mutual labels:  analysis
very good analysis
Lint rules for Dart and Flutter used internally at Very Good Ventures 🦄
Stars: ✭ 194 (+295.92%)
Mutual labels:  analysis
quality-requirements
Beispiele für Qualitätsanforderungen an Software (etwa: Zur Vereinfachung von ATAM-Analysen oder Quality-Driven Software Architecture)
Stars: ✭ 61 (+24.49%)
Mutual labels:  analysis
covid19analysis
COVID-10 Analysis
Stars: ✭ 16 (-67.35%)
Mutual labels:  analysis
Texomer
Texomer: Integrating Analysis of Cancer Genome and Transcriptome Sequencing Data
Stars: ✭ 19 (-61.22%)
Mutual labels:  statistical-inference
ra
Basic Analysis, undergraduate real analysis textbook
Stars: ✭ 33 (-32.65%)
Mutual labels:  analysis
pomp
R package for statistical inference using partially observed Markov processes
Stars: ✭ 88 (+79.59%)
Mutual labels:  statistical-inference
bioinf-commons
Bioinformatics library in Kotlin
Stars: ✭ 21 (-57.14%)
Mutual labels:  hypothesis-testing
tnb-analysis
Gain insights about thenewboston digital crypto currency network by doing some analysis
Stars: ✭ 24 (-51.02%)
Mutual labels:  analysis
quackle
Quackle crossword game artificial intelligence and analysis tool
Stars: ✭ 126 (+157.14%)
Mutual labels:  analysis
jacoco-report
Github action that publishes the JaCoCo report as a comment in the Pull Request
Stars: ✭ 31 (-36.73%)
Mutual labels:  analysis
UnROOT.jl
Native Julia I/O package to work with CERN ROOT files
Stars: ✭ 52 (+6.12%)
Mutual labels:  analysis
sp-metadata
🔬 SharePoint Metadata Tracker
Stars: ✭ 12 (-75.51%)
Mutual labels:  analysis
shared-latent-space
Shared Latent Space VAE's
Stars: ✭ 15 (-69.39%)
Mutual labels:  analysis
story-generator
Budget Visualization Tool to explore and analyse major fiscal indicators across various states in India
Stars: ✭ 17 (-65.31%)
Mutual labels:  analysis
pathpy
pathpy is an OpenSource python package for the modeling and analysis of pathways and temporal networks using higher-order and multi-order graphical models
Stars: ✭ 124 (+153.06%)
Mutual labels:  analysis

hypothetical - Hypothesis and Statistical Testing in Python

Build Status Build status Coverage Status Codacy Badge Dependencies Python versions

Python library for conducting hypothesis and other group comparison tests.

Installation

The best way to install hypothetical is through pip.

pip install hypothetical

For those interested, the most recent development version of the library can also be installed by cloning or downloading the repo.

git clone [email protected]:aschleg/hypothetical.git
cd hypothetical
python setup.py install

Available Methods

Analysis of Variance

  • One-way Analysis of Variance (ANOVA)
  • One-way Multivariate Analysis of Variance (MANOVA)
  • Bartlett's Test for Homogenity of Variances
  • Levene's Test for Homogenity of Variances
  • Van Der Waerden's (normal scores) Test

Contingency Tables and Related Tests

  • Chi-square test of independence
  • Fisher's Exact Test
  • McNemar's Test of paired nominal data
  • Cochran's Q test
  • D critical value (used in the Kolomogorov-Smirnov Goodness-of-Fit test).

Critical Value Tables and Lookup Functions

  • Chi-square statistic
  • r (one-sample runs test and Wald-Wolfowitz runs test) statistic
  • Mann-Whitney U-statistic
  • Wilcoxon Rank Sum W-statistic

Descriptive Statistics

  • Kurtosis
  • Skewness
  • Mean Absolute Deviation
  • Pearson Correlation
  • Spearman Correlation
  • Covariance
    • Several algorithms for computing the covariance and covariance matrix of sample data are available
  • Variance
    • Several algorithms are also available for computing variance.
  • Simulation of Correlation Matrices
    • Multiple simulation algorithms are available for generating correlation matrices.

Factor Analysis

  • Several algorithms for performing Factor Analysis are available, including principal components, principal factors, and iterated principal factors.

Hypothesis Testing

  • Binomial Test
  • t-test
    • paired, one and two sample testing

Nonparametric Methods

  • Friedman's test for repeated measures
  • Kruskal-Wallis (nonparametric equivalent of one-way ANOVA)
  • Mann-Whitney (two sample nonparametric variant of t-test)
  • Mood's Median test
  • One-sample Runs Test
  • Wald-Wolfowitz Two-Sample Runs Test
  • Sign test of consistent differences between observation pairs
  • Wald-Wolfowitz Two-Sample Runs test
  • Wilcoxon Rank Sum Test (one sample nonparametric variant of paired and one-sample t-test)

Normality and Goodness-of-Fit Tests

  • Chi-square one-sample goodness-of-fit
  • Jarque-Bera test

Post-Hoc Analysis

  • Tukey's Honestly Significant Difference (HSD)
  • Games-Howell (nonparametric)

Helpful Functions

  • Add noise to a correlation or other matrix
  • Tie Correction for ranked variables
  • Contingency table marginal sums
  • Contingency table expected frequencies
  • Runs and count of runs

Goal

The goal of the hypothetical library is to help bridge the gap in statistics and hypothesis testing capabilities of Python closer to that of R. Python has absolutely come a long way with several popular and amazing libraries that contain a myriad of statistics functions and methods, such as numpy, pandas, and scipy; however, it is my humble opinion that there is still more that can be done to make Python an even better language for data and statistics computation. Thus, it is my hope with the hypothetical library to build on top of the wonderful Python packages listed earlier and create an easy-to-use, feature complete, statistics library. At the end of the day, if the library helps a user learn more about statistics or get the information they need in an easy way, then I consider that all the success I need!

Requirements

  • Python 3.5+
  • numpy>=1.13.0
  • numpy_indexed>=0.3.5
  • pandas>=0.22.0
  • scipy>=1.1.0
  • statsmodels>=0.9.0

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].