Professional Documents
Culture Documents
04 - Descriptive Statistics
04 - Descriptive Statistics
04 - Descriptive Statistics
Mathematical
Methods
Dr. Asim Khwaja
Lecture 04
CASE STUDY
Dr Death!
Harold Shipman
• It is a process in which we
1. Collect data
2. Summarize & visualize data
3. Interpret data
• Inferential Statistics
• These involve methods concerned with finding out something about a
population
• A decision, estimate, prediction, or generalization about a population based
on a sample
• Also known as inductive statistics
• Underlying inferential statistics is probability
Parameters vs Statistics
• What we are typically after in a study is the parameter.
• To extend the example above, we could catch 100 bald eagles and
then measure the wingspan of each of these. The mean wingspan of
the 100 eagles that we caught is a statistic.
35
Parameters vs Statistics
• The value of a parameter is a fixed number.
36
Parameters vs Statistics
• A parameter measures something in a population.
37
Census or Sample
• Census
• Collecting data for every member of the group we are interested in
(whole population)
• Sample
• Collecting data just for selected members of the group
Census or Sample - Example
• There are 120 people in your local cricket club.
• You can ask everyone (all 120) what their age is – this is census.
• Or you could just choose the people that are there that particular
afternoon – that is a sample.
Quantitative data:
• Numerical information (numbers)
• Math operations are meaningful
Quantitative Data
Discrete data:
• Can only take certain values (like whole numbers)
• Counted
• Ordinal data
• Interval data
• Ratio data
Nominal (aka Categories)
• This level is the most primitive, lowest or the most limited type
of measurement
• Nominal data are items are that are just names or categories
• This may appear ordinal but is not – numbers are used only to
simplify capturing and referencing
• The numbers on a wall clock are on an interval scale since they are
equidistant and measurable. For example, the difference between 1
o’clock and 2 o’clock is the same as that between 2 o’clock and 3 o’clock.
• IQ test score. You can not have a zero IQ but otherwise measured along a
fixed scale.
• Proportion
• Obtained by dividing the frequency by the total number of events (i.e.
how often something happened divided by how often it could happen)
• Percentage
Nominal Data
Ordinal Data
• Same visualization methods as for nominal.
Numerical Data
Nature of Statistical Data
Measures of Central Tendency
Summarizing Statistical Data
• There is a need for a single measurement which may describe
the chief characteristics of the entire data set.
• We then have to choose an average that is best suitable for the problem at
hand.
Average
• Types of averages (based on how we define the concept of a
center)
• Mean
• Median
• Mode
Mean
• A mean is a number that can be used in place of each number
in a set, for which the NET effect will be the same as that of the
original set of numbers.
• Geometric mean.
• Harmonic mean.
Arithmetic Mean
• For example, if you are looking for a mean amount of rainfall,
you note the total amount of rain, which affects crop growth etc.,
by ADDING the daily numbers.
• So, if you add them up and divide by the number of days, the
resulting ARITHMETIC Mean is the amount of rain you could
have had on EACH of those days to get the same total.
Arithmetic Mean - Example
• 10-year monthly rainfall data in inches or rain:
3.2 3.1 2.9 3.7 2.9 4.1 3.5 2.8 2.9 1.7
3.2 + 3.1 + 2.9 + 3.7 + 2.9 + 4.1 + 3.5 + 2.8 + 2.9 + 1.7 = 30.8 ~ 31
Average = 31 / 10 = 3.1
3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1
3.1 + 3.1 + 3.1 + 3.1 + 3.1 + 3.1 + 3.1 + 3.1 + 3.1 + 3.1 = 31
Arithmetic Mean - Example
• Money spent (Rs) each day for a week:
10 20 25 15 30 27 31
10 + 20 + 25 + 15 + 30 + 27 + 31 = 158
Average = 158 / 7 = 22.6
• That is, each resister can be replaced by the mean value to achieve
the same net effect of 100
Arithmetic Mean
• It serves as a smoothing operation.
• The arithmetic mean can only make sense if the data set is
perfectly homogeneous.
• Would you cross the river from that point without a boat or
a bridge by stepping into the water?
How Many
Jellybeans are
in the Jar?
The End
127