Mean, median and mode are measures to find the center value.
Following are Number of kilometers for 1 week of my walking(Rounded to nearest integer).
Day 1: 11
Day 2:0
Day 3:5
Day 4:5
Day 5:7
Day 6:8
Day 7:6
Mean:
Sum = 42
Number of values(n) = 7
Mean = sum/n = (42/7) = 6
Median:
Sorted values: [0,5,5,6,7,8,11]
Median is at the position:(7+1)/2 = 4
4th value in the sorted values.(middle value)
Median = 6
Mode:
Mode = 5 (Most frequent number)
What is the median if n is even?
If n is even then median is the mean of values at the position(n/2 and (n/2) +1)
Day 8:5
Then sorted values: [0,5,5,5,6,7,8,11]
n/2 = 8/2 = 4
(n/2)+1 = 5
Then median is mean of 5 and 6
Median = 11/2 = 5.5
Following are Number of kilometers for 1 week of my walking(Rounded to nearest integer).
Day 1: 11
Day 2:0
Day 3:5
Day 4:5
Day 5:7
Day 6:8
Day 7:6
Mean:
Sum = 42
Number of values(n) = 7
Mean = sum/n = (42/7) = 6
Median:
Sorted values: [0,5,5,6,7,8,11]
Median is at the position:(7+1)/2 = 4
4th value in the sorted values.(middle value)
Median = 6
Mode:
Mode = 5 (Most frequent number)
What is the median if n is even?
If n is even then median is the mean of values at the position(n/2 and (n/2) +1)
Day 8:5
Then sorted values: [0,5,5,5,6,7,8,11]
n/2 = 8/2 = 4
(n/2)+1 = 5
Then median is mean of 5 and 6
Median = 11/2 = 5.5
Comments
Post a Comment