Lecture 2 Core Statistics 101 Mean Median Mode Distribution
Lecture 2 Core Statistics 101 Mean Median Mode Distribution
U D M M S C C O U R S E I N E D U C AT I O N & D E V E L O P M E N T
2013
N i c h o l a s S p a u l l @ g m a i l . c o m – w w w. n i c s p a u l l . c o m / t e a c h i n g
Introduction
Data
Categorical Numerical
Discrete Continuous
Types of Data
4
Data
Categorical Numerical
Examples:
Marital Status
Political Party
Eye Color
(Defined categories) Discrete Continuous
Examples: Examples:
Number of Children Weight
Defects per hour Voltage
(Counted items) (Measured characteristics)
Collecting Data
5
Print or Electronic
Observation Survey
Experimentation
Sampling
What is a sample?
A sample is “a small part or quantity intended to show
Collect data
e.g., Survey
Present data
e.g., Tables and graphs
Characterize data
e.g., Sample mean = X i
n
Measures of Central Tendency
Central Tendency
X i
X i1
n Midpoint Most
of ranked frequently
values observed
value
Mean
9
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
10 10
Mean = 3 Mean = 4
1 2 3 4 5 15 1 2 3 4 10 20
3 4
5 5 5 5
Median
10
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
10 10
Median = 3 Median = 3
n 1
Median position position in the ordered data
2
0 1 2 3 4 5 6 7 8 9 10 11 12 0 1 2 3 4 5
13 14 6
No Mode
Mode = 9
Review Example
13
$2,000 K
House Prices:
$2,000,000
500,000 $500 K
300,000 $300 K
100,000
100,000
$100 K
$100 K
Review Example: Summary Statistics
14
In cm: 160, 162, 164, 164, 165, 165, 165, 180, 190
Mean = (160+160+162+163+164+164+165+165+165+180+190)/9 = 167
Median = 160+160+162+163+164+164+165+165+165+180+190 = 164
Mode= 160+160+162+163+164+164+165+165+165+180+190 =165
Range= 190 – 160 =30
If you are still confused about how to calculate the mean, median and mode,
watch this 4min video on YouTube: http://www.youtube.com/watch?v=k3aKKasOmIw
Which measure of location is the “best”?
16
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Range = 14 - 1 = 13
Disadvantages of the Range
18
Sensitive to outliers
1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,4,5
Range = 5 - 1 = 4
1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,4,120
Range = 120 - 1 =
119
Getting from the real world to a
distribution
To create a histogram.
Ensure that your analysis module in Excel is enabled
FileOptionsAdd-InsAnalysis ToolPak (click Analysis ToolPak and click “Go” at the
bottom
Under the “Data” tab in Excel you should now have a button which says
“Data Analysis” on the far right
Negative/Left
skew
TIP: To remember if it
is positive skew or
negative skew, think of
the distribution like a
door-stop. Does the
door touch the positive
side or the negative
side of the
distribution? Positive/Right
skew
Shape of a Distribution
24
Go to http://quizstar.4teachers.org/indexs.jsp
Enter your username and password
Click on “Basic Stats 101” Quiz and complete the
quiz
If you have any questions raise your hand and I will
come and help you
Example:
Min Q1 Median Q3
Max
A Box-and-Whisker plot can be shown in either
vertical or horizontal format
Distribution Shape and Box-and-Whisker Plot
32
Q1 Q2Q3 Q1Q2Q3 Q1 Q2 Q3