How to check if a distribution is normal?
Many models assumed that the distribution is normal. It is a wise idea to check if your distribution is normal before use it in the model. In this post I want to explain you, some numerical and visual methods you can use to check if a distribution is normal. 1) Boxplot-Whisker Plot and Histogram: Plotting Boxplot-whisker plot and the histogram of the distribution is a visual way you can use to see if the distribution looks normal. The Boxplot-whisker lets us check the symmetry around the mean and the histogram help us to visualize the overall shape of the distribution. Let’s see it in an example: In this example we create one normal distribution sample and one non-normal distribution sample and use the boxplot-whisker and histogram to visual them. import numpy as np import pandas as pd import scipy.stats as stats import matplotlib.pyplot as plt # Sample A: