Performing statistical tests

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 ...

Get Become a Python Data Analyst now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.