0% found this document useful (0 votes)
9 views8 pages

Week 5 Assignment Social Statistics

The document outlines a statistical analysis of circle diameters, including calculations for mean, standard deviation, quartiles, and interquartile range based on given frequency data. It also specifies the number of circles below the first quartile and above the third quartile, along with instructions for drawing an ogive to visualize the data. Key results include a mean diameter of 43.5 mm, a median of approximately 43.93 mm, and an interquartile range of 9.65 mm.

Uploaded by

samwelelisha18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views8 pages

Week 5 Assignment Social Statistics

The document outlines a statistical analysis of circle diameters, including calculations for mean, standard deviation, quartiles, and interquartile range based on given frequency data. It also specifies the number of circles below the first quartile and above the third quartile, along with instructions for drawing an ogive to visualize the data. Key results include a mean diameter of 43.5 mm, a median of approximately 43.93 mm, and an interquartile range of 9.65 mm.

Uploaded by

samwelelisha18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Assignment

1. The diameters of circles (in mm) drawn in a design are given below:
Diameters 33 – 36 37 – 40 41 – 44 45 – 48 49 – 52

No.of circles 15 17 21 22 25

Required
Calculate the
a) (i) mean and the standard deviation.
(ii) the 1st quartile, the median and the 3rd quartile
(iii) the interquartile range
b) How many circles are
(i) on and below the 1st quartile?
(ii) Above the 3rd quartile? (20 Marks)
2. Using the above data, draw an ogive/ histogram/pie chart and show by marking the
1st, the 2nd and the 3rd quartiles. (10
marks)
1. Calculations
First, we need to create a table to organize the data for easier calculations:

Diameters (Class Frequency Midpoint Cumulative


fx
Interval) (f)number o (x) Frequency (cf)

33 – 36 15 34.5 517.5 15

37 – 40 17 38.5 654.5 32

41 – 44 21 42.5 892.5 53

45 – 48 22 46.5 1023 75

49 – 52 25 50.5 1262.5 100

Total 100 4350

a) (i) Mean and Standard Deviation:


 Mean (x̄ ): x̄ = Σfx / Σf = 4350 / 100 = 43.5 mm
 Standard Deviation (s): We'll use the formula for standard deviation of grouped data:
s = sqrt[ Σf(x - x̄ )² / (N - 1) ]

x x - x̄ (x - x̄ )² f(x - x̄ )²
34.5 -9 81 1215

38.5 -5 25 425

42.5 -1 1 21

46.5 3 9 198

50.5 7 49 1225

3084

s = sqrt(3084 / 99) = sqrt(31.15)

a) ii) Quartiles and Median:


The quartiles divide the data into four equal parts. Q1 is the 25th
percentile, Q2 (the median) is the 50th percentile, and Q3 is the 75th
percentile. Because we're working with grouped data, we use a formula
that involves interpolation to estimate the quartile values.
1. Median (Q2):
 N/2: First, we find the position of the median. N is the total
frequency (100 in this case), so N/2 = 100/2 = 50. This tells us the
median is the 50th value in the ordered dataset.
 Locating the Median Class: We look at the cumulative frequency
(cf) column to find the class interval that contains the 50th value.
We see that the cumulative frequency reaches 32 at the end of the
37-40 class and jumps to 53 at the end of the 41-44 class.
Therefore, the median falls within the 41-44 class. This is our
median class.
 Interpolation Formula: The formula for the median with
grouped data is:
Q2 = L + [(N/2 - cf) / f] * h
Q2= 40.5+ (50-32)21) 4
Where:
o L: Lower class boundary of the median class. In our case, the
median class is 41-44, so L = 40.5 (we use 40.5 because the
class boundaries are technically 32.5-36.5, 36.5-40.5, etc.)
o N/2: We already calculated this as 50.
o cf: Cumulative frequency of the class before the median
class. The class before the median class is 37-40, and its
cumulative frequency is 32.
o f: Frequency of the median class. The median class (41-44)
has a frequency of 21.
o h: Class width (or class size). The class width is the
difference between the upper and lower class boundaries. In
our case, it's 4 (e.g., 44 - 40 = 4).
 Calculation: Plugging in the values:
Q2 = 40.5 + [(50 - 32) / 21] * 4
= 40.5 + [18/21] * 4
= 40.5 + 3.43 ≈ 43.93 mm

2. 1st Quartile (Q1):


 N/4: For Q1, we find N/4 = 100/4 = 25.
 Locating the Q1 Class: The cumulative frequency reaches 15 at the
end of the 33-36 class and jumps to 32 at the end of the 37-40
class. So, Q1 falls within the 37-40 class.
 Interpolation Formula: We use the same formula as for the median,
but with N/4 instead of N/2:
Q1 = L + [(N/4 - cf) / f] * h
Where:
o L: Lower class boundary of the Q1 class (36.5)
o N/4: 25
o cf: Cumulative frequency of the class before the Q1 class
(15)
o f: Frequency of the Q1 class (17)
o h: Class width (4)
 Calculation:
Q1 = 36.5 + [(25 - 15) / 17] * 4
= 36.5 + [10/17] * 4
= 36.5 + 2.35 ≈ 38.85 mm
3. 3rd Quartile (Q3):
 3N/4: For Q3, we find (3N/4) = (3 * 100) / 4 = 75.
 Locating the Q3 Class: The cumulative frequency reaches 75 at the
end of the 45-48 class. So, Q3 falls within the 45-48 class.
 Interpolation Formula:
Q3 = L + [(3N/4 - cf) / f] * h
Where:
o L: Lower class boundary of the Q3 class (44.5)
o 3N/4: 75
o cf: Cumulative frequency of the class before the Q3 class
(53)
o f: Frequency of the Q3 class (22)
o h: Class width (4)
 Calculation:
Q3 = 44.5 + [(75 - 53) / 22] * 4
= 44.5 + [22/22] * 4
= 44.5 + 4 = 48.5 mm

a) iii) Interquartile Range (IQR):


The interquartile range is simply the difference between the third and
first quartiles:
IQR = Q3 - Q1 = 48.5 - 38.85 = 9.65 mm

b) Number of Circles:
 (i) On and below the 1st quartile: The 1st quartile is approximately 38.85 mm. The
cumulative frequency up to the 37-40 class (which contains the 1st quartile value) is 32.
So, there are 32 circles on or below the first quartile.
 (ii) Above the 3rd quartile: The 3rd quartile is approximately 48.5 mm. The cumulative
frequency up to the 45-48 class (which contains the 3rd quartile value) is 75. So, there are
100 - 75 = 25 circles above the 3rd quartile.
3. Ogive and Quartiles:

To draw the ogive, you'll plot the upper class boundaries against
the cumulative frequencies. The points to plot are:
 (36, 15)
 (40, 32)
 (44, 53)
 (48, 75)
 (52, 100)
1. Draw your axes: The x-axis is the diameter (from approximately
32 to 53), and the y-axis is the cumulative frequency (from 0 to
100).
2. Plot the points.
3. Connect the points with a smooth curve. This is your ogive.
To mark the quartiles on the ogive:
1. Draw horizontal lines from the cumulative frequency values of 25
(Q1), 50 (Q2), and 75 (Q3) on the y-axis to intersect the ogive
curve.
2. Draw vertical lines down from these intersection points to the x-
axis. The points where these vertical lines meet the x-axis are the
approximate values of Q1, Q2, and Q3.
The ogive shows the cumulative frequency distribution of circle diameters. The curve illustrates
the steady increase in cumulative frequency as the diameter increases. The median diameter,
represented by Q2, is approximately 43.93 mm, indicating that half of the circles have a diameter
of 43.93 mm or less. The interquartile range (IQR) of 9.65 mm reflects the spread of the middle
50% of the data. From the ogive, we can also see that 32 circles have a diameter on or below the
first quartile (38.85 mm), and 25 circles have a diameter above the third quartile (48.5 mm)."

You might also like