This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
Normality tests like the Shapiro-Wilk test and the Anderson-Darling test determine whether a distribution follows a normal distribution. Python provides several libraries, including SciPy and Statsmodels, that offer functions for conducting normality tests.
Shapiro-Wilk Test for Normality
The Shapiro-Wilk test evaluates the null hypothesis that a sample comes from a normally distributed population. The results of the test are interpreted as follows: