

Same on both the ends then the data is Normally Distributed.ī) If the Median lies closer to the First Quartile and if the whisker at the lower end is shorter (as in the above example) then it has a Positive Skew (Right Skew).Ĭ) If the Median lies closer to the Third Quartile and if the whisker at the upper end is shorter then it has a Negative Skew (Left Skew).

To find the First Quartile we take the first six values and find their median. Median (Q2) = (120+130)/2 = 125 Since there were even values To draw a box plot for the given data first we need to arrange the data in ascending order and then find the minimum, first quartile, median, third quartile and the maximum.
How to make box and whisker plot how to#
Let us take a sample data to understand how to create a box plot. The values below and above these limits are considered outliers and the minimum and maximum values are calculated from the points which lie under the lower and upper limit. The lower and upper limit is calculated as – Lower Limit = Q1 - 1.5*IQR Outliers are the data points below and above the lower and upper limit.

The area inside the box (50% of the data) is known as the Inter Quartile Range. The plots can have skewness and the median might not be at the center of the box. Note: The box plot shown in the above diagram is a perfect plot with no skewness. Maximum – It is the maximum value in the dataset excluding the outliers.Third Quartile (Q3) – 75% of the data lies below the Third (Upper) Quartile.Half of the values lie below it and half above. Median (Q2) – It is the mid-point of the dataset.First Quartile (Q1) – 25% of the data lies below the First (lower) Quartile.Minimum – It is the minimum value in the dataset excluding the outliers.ML | Label Encoding of datasets in Python.ML | One Hot Encoding to treat Categorical data parameters.Introduction to Hill Climbing | Artificial Intelligence.Best Python libraries for Machine Learning.

Activation functions in Neural Networks.Elbow Method for optimal value of k in KMeans.Decision Tree Introduction with example.Linear Regression (Python Implementation).Removing stop words with NLTK in Python.ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.
