Sunteți pe pagina 1din 6

Statistics for Data Analysis @NikB 6/13/2014

Measure of Center Tendency

Measure of Center Tendency Typical
Mean, Mod, Median Average?

Nikesh Bajaj
Asst. Prof., ECE Dept.
Lovely Professional University 50 By Nikesh Bajaj

Average : Mean (Commonly used)

Health club pride to have class for everybody
Mean: sum up all the numbers and divide it
Average age in each class?
by number of they are


51 By Nikesh Bajaj 52 By Nikesh Bajaj

Find out Mean and say about it Find out Mean

Age in class :
19 20 20 20 21 22 18 18 17 19 20
Math's marks if a class
39, 33, 33, 36, 31, 40, 35, 34, 38, 31, 39, 32, 30,

53 By Nikesh Bajaj 54 By Nikesh Bajaj


Statistics for Data Analysis @NikB 6/13/2014

Mean New Customer to Health club

Tuesday Evening
Class Mean age
Class 1 : 17
Class 2 : 25
Class 3 : 38

Which class new customer

should attend??

55 By Nikesh Bajaj 56 By Nikesh Bajaj

Class 3? Lets try see what happened?

What went wrong??

57 By Nikesh Bajaj 58 By Nikesh Bajaj

Outliers Skewed Data

Outliers: extreme values
Check Effect of outlier
What should be done?
Outlier just pulled the mean to higher?
Data is skewed
Skewed to right

59 By Nikesh Bajaj 60 By Nikesh Bajaj

Statistics for Data Analysis @NikB 6/13/2014

Symmetric Data Question to Think (HW)

Ideal What should be possible solution for
skewed data?
Do you think mean can be highest value of
given set of data ever?

61 By Nikesh Bajaj 62 By Nikesh Bajaj

Average: Median Average: Median

When mean is misleading because of outliers What is median of Kunfu class??
Typical value: by taking middle value

63 By Nikesh Bajaj 64 By Nikesh Bajaj

Median Question

Consider the number of students in different classes:

Class/Standard # of Students
1 15 What is the average number of
2 18 students per class?
3 16
4 14
5 15
6 15
7 12
8 17
9 95
10 90
65 By Nikesh Bajaj

Statistics for Data Analysis @NikB 6/13/2014

So Business of
HW Health Club now
Plot everything Business is booming all are getting class of
you can same age
Compute So Mean and Median work
everything you
Come with

67 By Nikesh Bajaj 68 By Nikesh Bajaj

New Customer Can anything be wrong?? ?

Class of swimming Class of swimming
mean :17 Here parents come with their very young
median : 17 children to teach them how to swim.
Good match

69 By Nikesh Bajaj 70 By Nikesh Bajaj

Fix it What went wrong?

With Mean and Median
Fix the ages in right category to have
mean and median as 17 Even numbers (mean =median =17)

Odd numbers

Mean and Median : Misleading

71 By Nikesh Bajaj 72 By Nikesh Bajaj

Statistics for Data Analysis @NikB 6/13/2014

What went wrong? What to do?

Why both mean and median fails?
If one age has to be represent class,
what would be that?
If you can choose two age to represent

73 By Nikesh Bajaj 74 By Nikesh Bajaj

Average?? Average: Mode

Mode: Most popular value or value with high
Here is another average problem? frequency
liking of 10 people is recorded as There can be more than one Mode, for two
mode: Bimodal
It more like to tell trends in data
It works for categorical data as well
What is average of this (center
Add them, or put in order
75 By Nikesh Bajaj 76 By Nikesh Bajaj

Mode Solution to

No more issues

77 By Nikesh Bajaj 78 By Nikesh Bajaj

Statistics for Data Analysis @NikB 6/13/2014

Find out the mode of following data set

79 By Nikesh Bajaj 80 By Nikesh Bajaj

Conclude: Home Work

Submit it tomorrow on one page Scenario, Whats going on?
In a company staff has issue with there salary,
most of them are getting $500 per week, and
CEO gets $50,000 per week
All the Staff ask for raise in salary saying
Staff: Average salary is $2500 we are less paid
Manager: Average salary is $10,000 and I get
$4000, I want raise
CEO you all are wrong average salary is
$500, Now go back to work
81 By Nikesh Bajaj 82 By Nikesh Bajaj