Professional Documents
Culture Documents
a. Cars speed
Solution:
i) Skewness = -0.117
Q1_a.speed.mean()
Q1_a.speed.median()
Q1_a.speed.mode()
Q1_a.speed.var()
Q1_a.speed.std()
range = max(Q1_a.speed) - min(Q1_a.speed)
range
Q1_a.speed.skew()
b. Distance
Solution:
iii) Skewness = 0.806
Q1_a.dist.mean()
Q1_a.dist.median()
Q1_a.dist.mode()
Q1_a.dist.var()
Q1_a.dist.std()
range = max(Q1_a.dist) - min(Q1_a.dist)
range
Q1_a.dist.skew()
Solution:
SP: Skewness = 1.611 Kurtosis = 2.977
WT: Skewness = -0.614 Kurtosis = 0.950
Q2) Draw inferences about the following boxplot & histogram
Solution: We shall say this is right skewed since most of the data gathered at right
with long tail. The most of the data points are concentrated in the range 50-100
with frequency 200. And least range of weight is 400 somewhere around 0-10. So
the expected value the above distribution is 75.
Solution: There are outlier on the upper side of box plot. If the distribution of data
is skewed to the right, the mode is often less than the median, which is less than
the mean and there is less data points between Q1 and bottom point.
34,36,36,38,38,39,39,40,40,41,41,41,41,42,42,45,49,56
1) Find mean, median, variance, standard deviation.
2) What can we say about the student marks?
Solution:
Mean= 41 Median= 40.5
variance= 25.529 Standard deviation= 5.052
Q5) What is the nature of skewness when mean, median of data are equal?
Solution: Symmetrical
Q6) What is the nature of skewness when mean > median?
Solution: Right skewed
Q7) What is the nature of skewness when median > mean?
Solution: Left skewed
Q8) What does positive kurtosis value indicates for a data?
Solution: indicated that the distribution has heavier tails than the normal
distribution.
Q9) What does negative kurtosis value indicates for a data?
Solution: The distribution of the data has lighter tails and a flatter peaks than the
normal distribution.
Q10) Answer the below questions using the below boxplot visualization.
Draw an Inference from the distribution of data for Boxplot 1 with respect
Boxplot 2.
Solution: By observing the both plots, the whisker level is high for boxplot 2, mean
and median are equal with different distribution. It is symmetrical. The plot 1 is
designed with range 3 while the plot 2 is range is 1.5
Q12)
Q13)