Quick reference to some statistical hypothesis tests, with sample code in Python.
(to check if the data has a Gaussian distribution)
- Shapiro-Wilk Test
- Anderson-Darling Test
- D’Agostino’s K^2 Test
(to check whether two data samples are related)
- Pearson’s Correlation Coefficient
- Spearman’s Rank Correlation
- Kendall’s Rank Correlation
- Chi-Squared Test
(to compare data samples)
- Student’s t-test
- Paired Student’s t-test
- Analysis of Variance Test (ANOVA)
- Repeated Measures ANOVA Test
(to compare data samples)
- Mann-Whitney U Test
- Kruskal-Wallis H Test
(to check if a time series is stationary or not)
- Augmented Dickey-Fuller