Before performing a statistical test, let's look at some of the statistical functions that we can use to perform tests using the scipy package listed as follows:
- kurtosistest(a[, axis, nan_policy]): This package is used to test whether a dataset has normal kurtosis
- normaltest(a[, axis, nan_policy]): This package is used to test whether a sample differs from a normal distribution
- skewtest(a[, axis, nan_policy]): This package is used to tests whether the skew is different from the normal distribution
- pearsonr(x, y): This package is used to calculates a Pearson correlation coefficient and the p-value for testing non-correlation
- ttest_1samp(a, popmean[, axis, nan_policy]): This package is used to calculates the ...