Sta301 Assignment No. 1 Solution File
Sta301 Assignment No. 1 Solution File
Assignment no. 1
Course STA301
Summer semester 2024
Solution file
Answer No. 1:
2. Calculate Quartiles:
Median (Q2): Since there are 20 values, the median will be the average of the 10th and 11th
values.
Median (Q2) = 65 + 66/2 = 65.5
First Quartile (Q1): This is the median of the first half of the data.
First half: 56, 57, 58, 60, 61, 63, 63, 65, 65, 65
Q1 = 61 + 63/2 = 62
Third Quartile (Q3): This is the median of the second half of the data (values from position
11 to 20).
Second half: 66, 67, 67, 67, 68, 72, 74, 76
Q3 = 67 + 68/2 = 67.5
Answer No. 2:
To calculate the coefficient of variation (CV) for the working hours data:
X = Sum X/n
Summing the data:
Sum = 13 + 23 + 25 + 30 + 33 + 36 + 26 + 24 + 23 + 28 + 22 + 25 + 26 + 29 + 19 + 23 +
25 + 30 + 40 + 39 + 36 + 38 + 35 + 32 + 31 + 30 + 37 + 33 + 27 + 26 + 28 + 24
Sum X = 783
Mean = 24.5
Mean = 24.5
Calculate each squared deviation and sum up them:
Variance = 140.55
Standard Deviation: