You are on page 1of 13

Instructor: Sir Sajawal

Calculating Median
What is Median?
Median = the middle value of a set of ordered data.

The median is the middle number in a sorted, ascending or descending,


list of numbers and can be more descriptive of that data set than the
average.

To determine the median value in a sequence of numbers, the numbers


must first be sorted, or arranged, in value order from lowest to highest or
highest to lowest.
Median Calculation.
• A median can be calculated but its method is different for different
cases.
Methods Formula Formula

Ungrouped Data Case- 1 : Case- 2


When its n is odd When its n is even

Grouped Data Continuous frequency Non-continuous frequency

Make cumulative frequency By using formula:


column.
Determine the median by
using cumulative frequency.
For Ungrouped Date:
• For odd:
• When n is odd.
Example:
Find the mean of marks :
79, 82, 86, 92, 93:
n= 5, it is odd, so:
~
𝑿=𝒔 𝒊𝒛𝒆 𝒐𝒇( )
𝒏+𝟏
𝟐
𝒕𝒉 𝒐𝒃𝒔 ⋅
For even:
For even
When n is even:
Example:
Find the mean of marks 2.3, 2.7, 2.5, 2.9, 3.1, 1.9 ?
1.9, 2.3, 2.5, 2.7, 2.9, 3.1,
As n= 6 so,

~ 1
[
𝑋 = 𝑠𝑖𝑧𝑒 𝑜𝑓
2 2
+(
𝑛 𝑛+2
2
obs . ) ]
Related Example:
• Find the median of .

• As n= 8 so,



For Grouped Data:
• For Continuous data:

To find median, we will follow some points:


1. We will find the cumulative frequency.
2. Then find the median by cumulative frequency distribution table, i.e.
3. Lets find the median.
For Continuous data:
Related Example:
No of Leaves 1 2 3 4 5 6 7

No of 2 11 15 20 25 18 10
Branches
Solution:
For Non-Continuous Data:

Solution:

We should follow these steps:


1. Determine the class boundaries.
2. Determine the median through cumulative frequency.
3. Use the formula:
Non-Continuous Data:
Group f
Class
Boundary
Cumulative
Frequency l= lower class boundaries=74.5
60 – 64 1 59.5 – 64.5 1 h= 5 , n=36 , c= 15.
65 – 69 5 64.5 – 69.5 6 By putting values:
70 – 74 9 69.5 – 74.5 15

75 – 79 12 74.5 – 79.5 27

80 – 84 7 79.5 – 84.5 34

85 – 89 2 84.5 – 89.5 36
Median=
Related Example:

Q: find the median of the record:

Solution:
We should follow these steps:
1. Determine the class boundaries.
2. Determine the median through cumulative frequency.
3. Use the formula:
Related Example:

Median=

You might also like