At first we neet to sort the initial data
5,9,12,12,15,18,24 To calculate quartile deviation
Qdev=2Q3/4−Q1/4 We need to calculate the 1/4 quartile and 3/4 quartile. Because the number of elements in our list is odd, the 1/4 quartile is defined as the average of the median of the 2n−1 smallest elements and the median of the 2n+1 smalles elements. The median of the first 3 smalles elements 5,9,12 is 9 and the median of the first 4 smalles elements 5,9,12,12 is 29+12=10.5 . Thus Q1/4=29+10.5=9.75 . The same procedure we shall do for the 3/4 quartile (but we shall use largest instead smallest). I.e. The median of the first 3 largest elements 15,18,24 is 18 and The median of the first 4 largest elements 12,15,18,24 is 215+18=16.5 . Thus Q3/4=216.5+18=17.25 . Now we can calculate the quartile deviation
Qdev=2Q3/4−Q1/4=217.25−9.75=3.75 And we can calculate quartive variation coefficient
Qvar=Q3/4+Q1/4Q3/4−Q1/4⋅100[%]=185⋅100[%]≈27.778[%]
Comments