Grouped Data Quartiles

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Grouped Data Quartiles

Quartile Grouped Data refers to a way of organizing a set of data into four equal parts, or
quartiles. This is often done when the data is grouped into intervals or ranges, rather than
individual values. These quartiles divide the data into four parts, each representing an equal
percentage (25%) of the total data. Quartiles are useful for understanding the spread and
distribution of the data, as well as for identifying outliers.

FORMULA

TERMS AND DEFINITION


XLB Lower Boundary of the Q1 class
N Total frequency

( )
N cfb Cumulative frequency before the Q1
−c f b
4 class
Q1= X LB + i Frequency of the Q1 class
f q1 fq1
i Size of the class interval

TERMS AND DEFINITION


XLB Lower Boundary of the Q3 class

( )
3N N Total frequency
−c f b
4
Q1= X LB + i cfb Cumulative frequency before the Q3
f q3
class
fq3 Frequency of the Q3 class
i Size of the class interval

Example #1: Solve for Q1, Q2, & Q3


x f x f cf
Analyze the data. Solve first for
80 - 87 10 the value of N and Cumulative 80 - 87 10 80
72 - 79 4 72 - 79 4 70
Frequency. To solve N, simply
64 - 71 5 64 - 71 5 66
add all of the frequency given. To
56 - 63 10 56 - 63 10 61
solve for cf, copy the frequency
46 - 55 12 46 - 55 12 51
of the lowest value in the column
40 - 45 5 40 - 45 5 39
x. Then, add the following 32 - 39 7 34
32 - 39 7
frequency, do this respectively 24 - 31 8 27
24 - 31 8
until the end. 16 - 23 10 19
16 - 23 10
8 - 15 9 8 - 15 9 9
N = 80
Do the same in finding Q2 using the given formula below.

After completing the data, we can now start solving through the given formula.

( )
2N
−c f b N
To approximately locate Q 4
1, we have to solve first.
Q2= X LB + i 4
f q2

( )
N N 80
2N −c f
2(80)  = 20
4 =b160 =40 4 4
Q 1= 
4 X LB + 4f q 1 4i

x f cf After finding out that Q1 is in between


80 - 87 10 80 cumulative frequencies 27 and 19, next is to
72 - 79 4 70 look for the value of XLB. With the
64 - 71 5 66 approximate location of Q1, the given with the
56 - 63 10 61 higher value will be our basis for Q 1 (the
48 - 55 12 51 highlighted).
40 - 47 5 39
32 - 39 7 34 From the name “lower boundary”, we will
24 - 31 8 27 subtract the given which has the lower value
16 - 23 10 19 Q1 with 0.5.
8 - 15 9 9
Note: 0.5 is constant.
N = 80
24 – 0.5 = 23.5, therefore, XLB = 23.5

Then we will solve for the interval of the data given. The numbers from a lowest value up to its
desired ending value is what you call the interval. Let’s take 8 – 15 as for example. Count the
numbers from 8 (starting value) to 15 (ending value), and you will get the value pf your
interval.
x f cf
8, 9, 10, 11, 12, 13, 14, 15; therefore, the value of the interval is 8.
80 - 87 10 80
72 - 79 4 70
x f cf Arrange everything
64 - 71 that 5 you have 66solved
80 - 87 10 80 including the56value
- 63given in10the data. 61
72 - 79 4 70 Given: 48 - 55 12 Formula: 51
64 - 71 5 66 40 - 47 5 39 Q2

( )
XLB = 23.5 32 - 39 7 N
56 - 63 10 61 −c34 f
24 - 31 8 4 27b
48 - 55 12 51 N Q1= X LB + i
40 - 47 5 39 = 20 16 - 23 10 f q 19
1 Q1
4 
32 - 39 7 34 8 - 15 9 9
24 - 31
16 - 23
8
10
27
19 Q1
cfb = 19 Q 1 =23.5+
N = 80 (
20−19
8
8)
Given: Formula: fq1 = 8 
()
( )
8 - 15 9 9 2N 1
−c f b Q1=23.5+ 8
N = 80
XLB: 48 – 0.5 = 47.5 4 i = 8 8
Q2= X LB + i 
f q2 8 Q2=47.5+.6
2N  Q 1=23.5+  Q1=23.5+1
= 40 
( )
4 40−39 8
Q 2=47.5+ 8 Q1Q=24.5
12 2=48.1
i=8 
fq2 = 12
Q2=47.5+
1
12( )
8
 8
cfb = 39 Q2=47.5+
Class Interval f Class Interval f XLB
1–5 6 1–5 6 0.5
6 – 10 19 6 – 10 19 5.5
11 – 15 13 11 – 15 13 10.5
 16 – 20 20 15.5
16 – 20 20
21 – 25 12 21 – 25 12 20.5
26 – 30 11 26 – 30 11 25.5
31 – 35 6 31 – 35 6 30.5
36 – 40 5 x – 40
36 f 5 cf 35.5
80 - 87 10 80
72 - 79 4 70
64 - 71  5 66
Class Interval f XLB 56 - 63 cf10 61 Q3
48 - 55 12 51
1–5 6 0.5 6
40 - 47 5 39 Q2
6 – 10 19 5.5 32 - 39 257 34
11 – 15 13 10.5 24 - 31 388 27
16 – 20 20 15.5 16 - 23 5810 19 Q1
21 – 25 12 20.5 8 - 15 70 9 9
26 – 30 11 25.5 N
81= 80
31 – 35 6 30.5 87
36 – 40 Do the same
5 in finding Q
35.5 3 using the given formula below.
92
N = 92

( )
3N
−c f b
4
Q3= X LB + i
f q3

Example
3 N #2:3(80)
Look for
240Q1, Q2, & Q3
 = =60
4 4 4

Given:
XLB: 56 – 0.5 = 55.5
3N
= 60
4
Formula:

( )
i=8 3N
−c f b Q3=55.5+ 7.2
4
fq3 = 10 Q3= X LB + i
f q3 
 Q3=62.7
( )
cfb = 51 60−51
Q 3=55.5+ 8
10
Interquartile Range: Q3 – Q1

Q3=55.5+ ( )
9
10
8 62.7 – 24.5 = 38.2

Q3=55.5+ ( )
72
10
 Q1

( )
N
−cf b
Solving Q1: Q = X + 4 i
1 LB
N 92 f1
= =23
4 4

Given:
XLB = 5.5
Q 1=5.5+ ( 23−6
19 )
5 Q1=5.5+ 4.5

Q =5.5+ ( ) 5
17 Q1=10
N 1
= 23 19
4
Q =5.5+ ( )
85
cfb = 6 1
19
fq1 = 19
i=5
Class Interval f Solve forXLBQ2: cf
1–5 6 0.5 6

( )
2N
6 – 10 19 5.5−cf b 25  Q1
4
11 – 15 13Q2= X LB + 10.5 i 38
16 – 20 20 15.5
f2
58  Q2
21 – 25 122 N 2(92) 20.5184 70
= = =46
26 – 30 11 4 4 25.54 81
31 – 35 6 30.5 87
36 – 40 5 35.5 92
N = 92

( )
2N
−cf b
Solving Q2: 4
Q2= X LB + i
f2

Given:
XLB = 15.5
2N
Q 2=15.5+ ( 46−38
20 )
5 Q2=15.5+ 2

= 46
Q =15.5+ ( ) 5
4 8 Q2=17.5
2
20
cfb = 38
Q =15.5+ ( )
40
fq2 = 20 2
20
i=5
Solve for Q3:
Class Interval f XLB cf

( )
3N
1–5 6 −cf
40.5 b 6
6 – 10 19Q3= X LB + 5.5fq 3
i 25  Q1
11 – 15 13 10.5 38
16 – 20 203 N = 3(92) = 276
15.5 58  Q2
=69
21 – 25 12 4 4 20.5 4 70  Q3
26 – 30 11 25.5 81
31 – 35 6 30.5 87
36 – 40 5 35.5 92
N = 92

( )
3N
−cf b
Solving Q3: 4
Q3= X LB + i
f3

Given:
XLB = 20.5
3N
Q 3=20.5+ ( 69−58
12 )
5 Q3=20.5+ 4.6

= 69
Q =20.5+ ( ) 5
4 11 Q3=25.1
3
12
cfb = 58
Q =20.5+ ( )
55
fq3 = 12 3
12
i=5
Example #3: Find Q1, Q3, and Interquartile Range

Interval f XLB cf
Range f Range f XLB cf
65 – 69 4 64.5 50
41 – 50 2 41 – 50 2 40.5 23
60 – 64 10 59.5 46
 Q3
31 – 40 7
 55 – 5931 – 40 12 7 54.5
30.5 3621

21 – 30 10 50 – 5421 – 30 9 10 49.5
20.5 2414
45 – 49 7 44.5 15  Q 1 Q1
11 – 20 3 40 – 4411 – 20 6 3 10.5
39.5 84
1 – 10 1 35 – 391 – 10 2 1 34.50.5 21
N = 50
N = 23

( )
N
−cf b
Solve for Q1: 4
Q1= X LB + i
fq 1
Q1=20.5+1.8
N 23
¿ =5.8
4 4
Q 1=20.5+( ) 5.8−4
10
10

Q =20.5+ (
10 )
1.8 Q1=22.3
XLB = 20.5 1 10

cfb = 4
Q =20.5+ ( )
18
1
fq1 = 10 10

i = 10

( )
Range f XLB cf 3N
−cf b
Solve for Q1: 4
41 – 50 2 40.5 23 Q3= X LB + i
fq 3
31 – 40 7 30.5 21 3 N 3(23) 69
 Q3 4
¿
4
= =17.3
4
21 – 30 10 20.5 14
 Q1 XLB = 30.5
11 – 20 3 10.5 4
1 – 10 1 0.5 1 cfb = 14

N = 23 fq1 = 7
i = 10

Example #4: Find the Interquartile Range of the data given below.

( )
3N
Q3= X LB +
4
−cf b
fq 3
i Q3=30.5+ ( 17.3−14
7 ) 10 Q 3=30.5+ ( 337 ) Q3=35.2
Q =30.5+ (
7 )
3.3 Q3=30.5+ 4.7
10
(
17.3−14
)
3
Q3=30.5+ 10
7
Interval
Weight (kg) f f Weight (kg) f XLB cf
40 – 49
65 – 69 5 4 40 – 49 5 39.5 5
60 – 64
50 – 59 8 10 50 – 59 8 49.5 13
55 – 59
60 – 69 12 12 60 – 69 12 59.5 25
Q1
50 – 54 9
70 – 79
45 – 49
10
7
70 – 79 10 69.5 35 Q2
80 – 89
40 – 44 5 6 80 – 89 5 79.5 40
35 – 39
90 – 99 8 2 90 – 99 8 89.5 48
100 – 109 10 100 – 109 10 99.5 58
110 – 119 4 110 – 119 4 109.5 62

( )
N
−cf b N = 62
Solve for Q1: 4
Q1= X LB + i
fq 1
Q1=44.5+3.2
N 50
¿ =12.5
4 4
Q1=44.5+( 12.5−8
7 )
5

Q =44.5+(
7 )
4.5 Q1=47.7
XLB = 44.5 1 5

cfb = 8
Q =44.5+(
7 )
22.5
1
fq1 = 7
i=5

( )
3N
−cf b
Solve for Q3: 4
Q3= X LB + i
fq 3
Example #5: Solve for Q1, Q2, & Q3
3 N 3(50) 150
4
¿
4
=
4 10 (
=37.5 Q 3=59.5+ 37.5−36 5
) Q3=59.5+ 0.8

Q =59.5+ (
10 )
XLB = 59.5 1.5 Q3=60.3
3 5
cfb = 36
Q =59.5+ (
10 )
7.5
3
fq3 = 10
i=5

Interquartile Range: Q3 – Q1
60.3−47.7=12.6

IR = 12.6

N
−cf
Q1= X LB + ( ) fq 1
i

Weight (kg) f XLB cf


40 – 49 5 39.5 5
50 – 59 8 49.5 13
60 – 69 12 59.5 25 Q1
70 – 79 10 69.5 35 Q2
80 – 89 5 79.5 40
90 – 99 8 89.5 48 Q3
100 – 109 10 99.5 58
110 – 119 4 109.5 62
N = 62

( )
3N
−cf b
Solving Q3: 4
Q3= X LB + i
fq 3

3 N 3(62) 186
4
=
4
=
4
=46.5
Q 3=8 9.5+( 46.5−40
8 ) 10 Q3=8 9.5+8.1
XLB = 89.5
Q =8 9.5+(
8 )
6 .5
3 10 Q3=97.6
cfb = 40

Q =8 9.5+( )
i = 10 65
3
8
fq3 = 8

You might also like