DS Tut6
DS Tut6
Tutorial 6
Data Science
Problem statement:
Find Stem-Leaf plot for the following data and provide the key to interpret the plot.
8.6, 2.5, 9.5, 7.3, 8.4, 2.1, 9, 2.5, 6.7, 7.1, 2.5, 9.4, 8.2, 2.1, 8.4, 7.5, 2.8, 7.2. 2.2
Find Box plot for the following data and provide the key to interpret the plot.
23, 67, 62, 52, 23, 25, 33, 55, 58, 44, 33, 32, 29, 39, 31, 55, 66, 45, 41, 43, 36, 43, 41, 41, 62
Find the minimum, maximum, first quartile, third quartile and median values from the plot.
# Data
data = [23, 67, 62, 52, 23, 25, 33, 55, 58, 44, 33, 32, 29, 39, 31, 55, 66, 45, 41, 43, 36, 43, 41, 41,
62]
plt.show()
Results:
Results Analysis:
The box plot analysis shows a moderate spread in the data, with values ranging from 23 to 67.
The interquartile range (IQR), which is from 33.0 to 55.0, captures the middle 50% of the
values, indicating that most of the data points are concentrated around the median of 41.0.
The relatively symmetrical placement of the median within the box suggests a somewhat
balanced distribution, with no significant skew. The whiskers extend to both the minimum (23)
and maximum (67) without any outliers, indicating that there are no unusually extreme values
in this dataset.
Overall, the data shows a fairly even spread around the center, with the majority of values
clustering between 33 and 55.