Interpretations of Histogram
A Histogram is a variation of a bar chart in which data values are grouped together and put into different classes. This grouping enables you to see how frequently data in each class occur in the dataset.
The histogram graphically shows the following:
- Frequency of different data points in the dataset.
- Location of the center of data.
- The spread of dataset.
- Skewness/variance of dataset.
- Presence of outliers in the dataset.
The features provide a strong indication of the proper distributional model in the data. The probability plot or a goodness-of-fit test can be used to verify the distributional model.
The histogram contains the following axes:
- Vertical Axis: Frequency/count of each bin.
- Horizontal Axis: List of bins/categories.
Interpretations of Histogram:
- Normal Histogram: It is a classical bell-shaped histogram with most of the frequency counts focused in the middle with diminishing tails and there is symmetry with respect to the median. Since the normal distribution is most commonly observed in real-world scenarios, you are most likely to find these. In Normally distributed histogram mean is almost equal to median.
- Non-normal Short-tailed/ long-tailed histogram: In short-tailed distribution tail approaches 0 very fast, as we move from the median of data, In the long-tailed histogram, the tail approaches 0 slowly as we move far from the median. Here, we refer tail as the extreme regions in the histogram where most of the data is not-concentrated and this is on both sides of the peak.
- Bimodal Histogram: A mode of data represents the most common values in the histogram (i.e peak of the histogram. A bimodal histogram represents that there are two peaks in the histogram. The histogram can be used to test the unimodality of data. The bimodality (or for instance non-unimodality) in the dataset represents that there is something wrong with the process. Bimodal histogram many one or both of two characters: Bimodal normal distribution and symmetric distribution
- Skewed Left/Right Histogram: Skewed histogram are those where the one-side tail is quite clearly longer than the other-side tail. A right-skewed histogram means that the right-sided tail of the peak is more stretched than its left and vice-versa for the left-sided. In a left-skewed histogram, the mean is always lesser than the median, while in a right-skewed histogram mean is greater than the histogram.
- Uniform Histogram: In uniform histogram, each bin contains approximately the same number of counts (frequency). The example of uniform histogram is such as a die is rolled n (n>>30) number of times and record the frequency of different outcomes.
- Normal Distribution with an Outlier: This histogram is similar to normal histogram except it contains an outlier where the count/ probability of outcome is substantive. This is mostly due to some system errors in process, which led to faulty generation of products etc.
- In this implementation, we will be using Numpy, Matplotlib and Seaborn plotting libraries. These libraries are pre-installed in colab, however for local environment, you can install these easily with pip install command.
Attention reader! Don’t stop learning now. Get hold of all the important Machine Learning Concepts with the Machine Learning Foundation Course at a student-friendly price and become industry ready.