SlideShare a Scribd company logo
Topic 1
An Introduction to Statistics
Dr Luke Kane
April 2014
Topic 1: An Introduction to Statistics 1
OK… Rules – Very serious!
• YOU MUST ASK QUESTIONS
• If you dont understand - let's work it out!
• Otherwise – no rules
Topic 1: An Introduction to Statistics 2
What is Statistics?
• Statistics is the science of learning from data,
and of measuring, controlling, and
communicating uncertainty;
• it thereby provides the navigation essential for
controlling the course of scientific and societal
advances
Topic 1: An Introduction to Statistics 3
Outline
• Describing variables and data
• Descriptive statistics
– Tables
– Charts
– Shapes
Topic 1: An Introduction to Statistics 4
Objectives
• Define variable
• Define data
• Classify variables in quantitative or categorical
• Sub-classify quantitative variables into discrete or
continuous
• Sub-classify categorical variables into nominal or
ordinal
• Use the type of variable to determine which table and
chart to display it
• Understand the normal distribution and other shapes
Topic 1: An Introduction to Statistics 5
What is a Variable?
• A variable is something whose value can vary
• Examples (many!):
Topic 1: An Introduction to Statistics 6
What is Data?
• Data are the values you get when you
measure variables
• Example:
Topic 1: An Introduction to Statistics 7
Types of Variable
• Lots of different ways of thinking about
variables:
– Categorical vs. Metric
– Continuous vs. Categorical
I like this one:
Quantitative Vs Categorical
Topic 1: An Introduction to Statistics 8
Categorical Variables - "What type?”
• "Categories"
• Nominal:
– Unordered, order not important
– Male or female, dead/alive, Blood group A B AB O
• Ordinal:
– Ordered, order is important
– type of breast cancer, agree  neither agree nor
disagree disagree
Topic 1: An Introduction to Statistics 9
Categorical Variables
– Types of houses
– Days of the week
– Opinions/viewpoints
– Hair colour
– Malaria positive or negative
Topic 1: An Introduction to Statistics 10
Quantitative Variables - " How much?"
• Also known as metric
• Quantitative variables can be:
• Continuous:
– The variables come from measuring
– Have units of measurement
– Good for analysis
• Discrete:
– The variables come from counting
– The values are usually integer (whole number)
Topic 1: An Introduction to Statistics 11
Quantitative Variables
• Weight, Height
• Number of cigarettes per day
• Blood pressure
• How many malaria parasites in the blood
• Number of workers with malaria
Topic 1: An Introduction to Statistics 12
Variables: A Summary Table
Quantitative
Continuous Discrete
Blood pressure, height, weight, age Number of children
Number of asthma attacks per child
Categorical
Ordinal Nominal
Grade of breast cancer
Better, same, worse
Disagree, neutral, agree
Sex – male or female
Alive or dead
Blood group
Topic 1: An Introduction to Statistics 13
Variables – more!
• It is easy to summarise categorical variables
• You can convert quantitative variables into categorical variables
– For example, in diabetes it is dangerous when sugar is very low
– So a blood sugar of 1.6mmol/l is the quantitative measurement
– You can place this in a low, normal or high range (which makes it a categorical
variable)
– 1.6 is low - patient needs treatment (sugar!)
• Continuous variables allow better analysis as they are the real numbers
• Tests have more power if used on continuous variables
• So it is better to use continuous variables for statistical analysis
• Better to use categorical variables for summarising results and
presentation
Topic 1: An Introduction to Statistics 14
Descriptive Statistics
• This is taking the raw data and consolidating it
into a table or chart
Topic 1: An Introduction to Statistics 15
Descriptive Statistics
• Frequency tables
• Relative frequency tables
• Grouping the data
• Open ended groups
• Cumulative frequency
• Cross tabulation
Topic 1: An Introduction to Statistics 16
Frequency Tables
• Nominal Categorical Variables
• Start with largest
• Tell reader what the total number is (n = X)
Category
Hair Colour
Frequency (number of adults)
n=116
Black 85
Brown 17
Blonde 8
Red / Ginger 4
Other (e.g. blue, green) 2
Topic 1: An Introduction to Statistics 17
Relative Frequency
Category
Hair Colour
Frequency (number of adults)
n=116
Relative Frequency (%)
Black 85 73.3
Brown 17 14.7
Blonde 8 6.8
Red / Ginger 4 3.5
Other (e.g. blue, green) 2 1.7
Topic 1: An Introduction to Statistics 18
Ordinal Categorical Variables
• Hair colour is a nominal categorical variable so
does not need to be ordered.
• Satisfaction is an ordinal categorical variable so
you can make a frequency table but you must put
the categories in order.
• For example: How would you put these in order?
• Unsatisfied
• Very satisfied
• Satisfied
• Extremely unsatisfied
Topic 1: An Introduction to Statistics 19
Continuous Data
• Not practical to display all of
the raw data
• The table is too big even with
the small sample size.
• Easier to group the data
• Then make a frequency table
Pig Number (n =
21)
Weight of pigs at market / Kg
1 120
2 210
3 110
4 209
5 205
6 164
7 145
8 177
9 185
10 184
11 180
12 183
13 182
14 190
15 198
16 134
17 140
18 156
19 154
20 201
Topic 1: An Introduction to Statistics 20
Grouped Frequency Table
• So if we group the data into groups of equal
width you get a grouped frequency
distribution
Weight of pigs at market / kg Number of pigs (Frequency)
n =21
110-130 2
131-150 3
151 - 170 3
171- 190 7
191-210 6
Topic 1: An Introduction to Statistics 21
Outliers
• This is fine if all the data is close
together
– i.e. if all the pigs weigh about the
same
– But what do you do if there are
some giant pigs and some tiny pigs?
– Like if you added two extra pigs to
our data set:
• a pig weighing 54kg
• one big one weighing 327kg
Weight of pigs
at market / kg
Number of pigs
(Frequency) n =21
51-70 1
71-90 0
91-110 0
111-130 2
131-150 3
151 – 170 3
171- 190 7
191-210 0
211-230 0
231-250 0
251-270 0
271 – 290 0
291 – 310 0
311 – 330 1
Topic 1: An Introduction to Statistics 22
Open Ended Groups
• The big and small pig are called Outliers.
• To make things easier you can use open ended
groups at the top and bottom
Weight of pigs at market / kg Number of pigs (Frequency) n =21
≤110 1
111-130 2
131-150 3
151 - 170 3
171- 190 7
191-210 6
≥211 1
Topic 1: An Introduction to Statistics 23
Symbols
• > More than
• < Less than
• ≥ Equal to or more than
• ≤ Equal to or more than
Topic 1: An Introduction to Statistics 24
Cumulative Frequency
• Adding up (cumulate) the frequencies as you
go along
• Enables you to make a nice chart - see later
• For example, the lengths of snakes below
Length of snake / cm Frequency (number of
snakes) n = 61
Cumulative frequency
of snakes
<30 10 10
31-60 17 27 (=10+17)
61-90 19 46 (=10+17+19)
91-120 12 58 (=10+17+19+12)
>121 3 61 (10+17=+19+12+3)Topic 1: An Introduction to Statistics 25
Cross-Tabulation
• Everything so far has been a table of a single
variable
• Sometimes you want to look at how two
variables influence one sample
• Crosstab - is the combination of two variables
Topic 1: An Introduction to Statistics 26
Cross Tab Example
• Does drinking alcohol affect the number of
accidents people have on motorbikes?
• What are the two variables?
• The two variables are accidents and drinking
• If there was a big party and you breathalysed
500 people leaving, you could determine if
they were above or below the drink-drive
limit. You could then ask them the next day if
there was an accident on their way home.
Topic 1: An Introduction to Statistics 27
Cross Tab Example
Accident on way
home?
Above the alcohol limit?
Yes No
Yes 40 2
No 116 342
Total 156 344
Topic 1: An Introduction to Statistics 28
Cross Tab Example
• You can then convert this into percentages by adding up
the columns and rows.
• It is very easy to see that over 99% of the sober drivers did
not have accidents and more than 1 in 4 of the drunk
drivers had accidents
• Dont drink and drive!
Accident on way
home?
Above the alcohol limit?
Yes No
Yes 25.6% 0.6%
No 74.4% 99.4%
Topic 1: An Introduction to Statistics 29
Charts
• Charts are a good way of describing data
• Categorical data is easily plotted as:
– Pie chart
– Bar chart
– Clustered bar chart
– Stacked bar chart
Topic 1: An Introduction to Statistics 30
Pie Charts
• Good: for categorical nominal data, easy to
make, easy to understand
• Bad: Can only use one variable - need
separate pie chart for each variable, confusing
if many categories used
Topic 1: An Introduction to Statistics 31
Simple Bar Chart
• Good: for
categorical
nominal data, easy
to make, easy to
understand
• Bad: only one
variable
• Note must have
spaces between
bars, equal bars
Topic 1: An Introduction to Statistics 32
Clustered Bar Chart
• Very similar to a simple bar chart but allows
you to compare sub-groups, e.g. boys and girls
• Good for comparing category sizes between
groups, e.g. blonde boys and blonde girls
Topic 1: An Introduction to Statistics 33
Stacked Bar Chart
• Good for comparing total number of subjects
in each group, e.g. all boys and all girls
Topic 1: An Introduction to Statistics 34
Quantitative Charts
• Bar Charts can also be used to graph discrete
quantitative data
• But for continuous quantitative data it is
better to use a histogram
• Cumulative quantitative data can be charted
with a step chart or a frequency curve
Topic 1: An Introduction to Statistics 35
Histograms
• Frequency Histogram
• Uses data that is
grouped together to
save space
• There are no gaps
between the bars - it is
a continuous variable
• Bad: only use one
variable at a time
Topic 1: An Introduction to Statistics 36
Frequency Curve
• For cumulative data you can
make a frequency curve
• Continuous quantitative data
is assumed to have a smooth
continuum of values
• This should make a nice,
smooth curve - the cumulative
frequency curve
• This is also known as an ogive
Topic 1: An Introduction to Statistics 37
Frequency Curve - Snakes
• So if we take the snakes:
Length of snake / cm Frequency (number of
snakes) n = 61
Cumulative frequency
of snakes
% Cumulative
frequency of snakes
<30 10 10 10/61 = 16.4%
31-60 17 27 27/61 = 44.3%
61-90 19 46 75.4%
91-120 12 58 95.1%
>121 3 61 100%
0.00%
20.00%
40.00%
60.00%
80.00%
100.00%
120.00%
<30 31-60 61-90 91-120 >121Topic 1: An Introduction to Statistics 38
Shapes
• OK now we have charts
– how do you describe data from the shape of the
graph?
• A uniform distribution is evenly distributed
– "A normal curve represents perfectly symmetrical
distribution"
– Also known as a "bell shape"
• Then you have "skews" to the left or right
– Left skews are negatively skewed
– Right skews are positively skewed
• Bimodal distributions have two humps
Topic 1: An Introduction to Statistics 39
Normal distribution
Topic 1: An Introduction to Statistics 40
Skew
• A measure of the asymmetry
Topic 1: An Introduction to Statistics 41
Bimodal distribution
Topic 1: An Introduction to Statistics 42
Summary so far…
• Types of data and variables
• Ways to put this data in tables
• Ways to put this data in charts
• Ways to examine the shape of the data
• Next: TOPIC 2
– Using numbers to summarise the data
– Prevalence and Incidence
Topic 1: An Introduction to Statistics 43
References
• This lecture is based on David Bowers
“Medical statistics from Scratch: An
introduction for health professionals”
• Bowers, D. (2008) Medical Statistics from
Scratch: An Introduction for Health
Professionals. USA: Wiley-Interscience.
Topic 1: An Introduction to Statistics 44
Ad

More Related Content

What's hot (20)

Basic Concepts of Statistics - Lecture Notes
Basic Concepts of Statistics - Lecture NotesBasic Concepts of Statistics - Lecture Notes
Basic Concepts of Statistics - Lecture Notes
Dr. Nirav Vyas
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
Andi Koentary
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
Dr. Senthilvel Vasudevan
 
Basics of statistics
Basics of statisticsBasics of statistics
Basics of statistics
donthuraj
 
What is Statistics
What is StatisticsWhat is Statistics
What is Statistics
sidra-098
 
Statistics 1
Statistics 1Statistics 1
Statistics 1
Saed Jama
 
Univariate Analysis
Univariate AnalysisUnivariate Analysis
Univariate Analysis
christineshearer
 
Statistics for the Health Scientist: Basic Statistics II
Statistics for the Health Scientist: Basic Statistics IIStatistics for the Health Scientist: Basic Statistics II
Statistics for the Health Scientist: Basic Statistics II
DrLukeKane
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
ScholarsPoint1
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
Anjan Mahanta
 
Grade 7 Statistics
Grade 7 StatisticsGrade 7 Statistics
Grade 7 Statistics
Gizzelle Pangilinan
 
Conceptual foundations statistics and probability
Conceptual foundations   statistics and probabilityConceptual foundations   statistics and probability
Conceptual foundations statistics and probability
Ankit Katiyar
 
How to Analyse Data
How to Analyse DataHow to Analyse Data
How to Analyse Data
Amit Sharma
 
Biostatistics khushbu
Biostatistics khushbuBiostatistics khushbu
Biostatistics khushbu
khushbu mishra
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
Kapil Dev Ghante
 
Basic Statistics
Basic  StatisticsBasic  Statistics
Basic Statistics
Chie Pegollo
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
aan786
 
Understanding statistics in research
Understanding statistics in researchUnderstanding statistics in research
Understanding statistics in research
Dr. Senthilvel Vasudevan
 
Introduction of biostatistics
Introduction of biostatisticsIntroduction of biostatistics
Introduction of biostatistics
khushbu
 
Simple understanding of biostatistics
Simple understanding of biostatisticsSimple understanding of biostatistics
Simple understanding of biostatistics
Hamdi Alhakimi
 
Basic Concepts of Statistics - Lecture Notes
Basic Concepts of Statistics - Lecture NotesBasic Concepts of Statistics - Lecture Notes
Basic Concepts of Statistics - Lecture Notes
Dr. Nirav Vyas
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
Andi Koentary
 
Basics of statistics
Basics of statisticsBasics of statistics
Basics of statistics
donthuraj
 
What is Statistics
What is StatisticsWhat is Statistics
What is Statistics
sidra-098
 
Statistics 1
Statistics 1Statistics 1
Statistics 1
Saed Jama
 
Statistics for the Health Scientist: Basic Statistics II
Statistics for the Health Scientist: Basic Statistics IIStatistics for the Health Scientist: Basic Statistics II
Statistics for the Health Scientist: Basic Statistics II
DrLukeKane
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
ScholarsPoint1
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
Anjan Mahanta
 
Conceptual foundations statistics and probability
Conceptual foundations   statistics and probabilityConceptual foundations   statistics and probability
Conceptual foundations statistics and probability
Ankit Katiyar
 
How to Analyse Data
How to Analyse DataHow to Analyse Data
How to Analyse Data
Amit Sharma
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
Kapil Dev Ghante
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
aan786
 
Introduction of biostatistics
Introduction of biostatisticsIntroduction of biostatistics
Introduction of biostatistics
khushbu
 
Simple understanding of biostatistics
Simple understanding of biostatisticsSimple understanding of biostatistics
Simple understanding of biostatistics
Hamdi Alhakimi
 

Viewers also liked (20)

Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)
abfisho
 
Introduction To Statistics
Introduction To StatisticsIntroduction To Statistics
Introduction To Statistics
albertlaporte
 
Introduction to statistics...ppt rahul
Introduction to statistics...ppt rahulIntroduction to statistics...ppt rahul
Introduction to statistics...ppt rahul
Rahul Dhaker
 
Understanding Malaysian Health Statistics
Understanding Malaysian Health StatisticsUnderstanding Malaysian Health Statistics
Understanding Malaysian Health Statistics
Azmi Mohd Tamil
 
Vital statistics
Vital statisticsVital statistics
Vital statistics
Soumya Ranjan Parida
 
Vital statistics and demography
Vital statistics  and demographyVital statistics  and demography
Vital statistics and demography
wrigveda
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
madan kumar
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
akbhanj
 
Introduction to Elementary statistics
Introduction to Elementary statisticsIntroduction to Elementary statistics
Introduction to Elementary statistics
krizza joy dela cruz
 
Federal Social Statistics
Federal Social StatisticsFederal Social Statistics
Federal Social Statistics
kingv
 
World Health Statistics 2014 - A Wealth of Information on Global Public Healt...
World Health Statistics 2014 - A Wealth of Information on Global Public Healt...World Health Statistics 2014 - A Wealth of Information on Global Public Healt...
World Health Statistics 2014 - A Wealth of Information on Global Public Healt...
MedicReS
 
Physician Dispensing Key in Reducing Billions to US Healthcare Costs
Physician Dispensing Key in Reducing Billions to US Healthcare CostsPhysician Dispensing Key in Reducing Billions to US Healthcare Costs
Physician Dispensing Key in Reducing Billions to US Healthcare Costs
BRP Pharmaceuticals
 
Jujie and saima introduction of statistical concept
Jujie and saima introduction of statistical conceptJujie and saima introduction of statistical concept
Jujie and saima introduction of statistical concept
JUJIE ATILANO
 
Introduction to dispensing and medication counseling
Introduction to dispensing and medication counselingIntroduction to dispensing and medication counseling
Introduction to dispensing and medication counseling
Ivory Diane Amancio
 
Open Textbook Summit - Collaborative Statistics & Introductory Statistics
Open Textbook Summit - Collaborative Statistics & Introductory StatisticsOpen Textbook Summit - Collaborative Statistics & Introductory Statistics
Open Textbook Summit - Collaborative Statistics & Introductory Statistics
BCcampus
 
What is statistics
What is statisticsWhat is statistics
What is statistics
Raj Teotia
 
t test in spss - introductory statistics
t test in spss - introductory statisticst test in spss - introductory statistics
t test in spss - introductory statistics
quantitative_specialists
 
Introductory Statistics
Introductory StatisticsIntroductory Statistics
Introductory Statistics
Brian Wells, MD, MS, MPH
 
Bar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentationBar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentation
sheiblu
 
Test of hypothesis (z)
Test of hypothesis (z)Test of hypothesis (z)
Test of hypothesis (z)
Marlon Gomez
 
Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)
abfisho
 
Introduction To Statistics
Introduction To StatisticsIntroduction To Statistics
Introduction To Statistics
albertlaporte
 
Introduction to statistics...ppt rahul
Introduction to statistics...ppt rahulIntroduction to statistics...ppt rahul
Introduction to statistics...ppt rahul
Rahul Dhaker
 
Understanding Malaysian Health Statistics
Understanding Malaysian Health StatisticsUnderstanding Malaysian Health Statistics
Understanding Malaysian Health Statistics
Azmi Mohd Tamil
 
Vital statistics and demography
Vital statistics  and demographyVital statistics  and demography
Vital statistics and demography
wrigveda
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
madan kumar
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
akbhanj
 
Introduction to Elementary statistics
Introduction to Elementary statisticsIntroduction to Elementary statistics
Introduction to Elementary statistics
krizza joy dela cruz
 
Federal Social Statistics
Federal Social StatisticsFederal Social Statistics
Federal Social Statistics
kingv
 
World Health Statistics 2014 - A Wealth of Information on Global Public Healt...
World Health Statistics 2014 - A Wealth of Information on Global Public Healt...World Health Statistics 2014 - A Wealth of Information on Global Public Healt...
World Health Statistics 2014 - A Wealth of Information on Global Public Healt...
MedicReS
 
Physician Dispensing Key in Reducing Billions to US Healthcare Costs
Physician Dispensing Key in Reducing Billions to US Healthcare CostsPhysician Dispensing Key in Reducing Billions to US Healthcare Costs
Physician Dispensing Key in Reducing Billions to US Healthcare Costs
BRP Pharmaceuticals
 
Jujie and saima introduction of statistical concept
Jujie and saima introduction of statistical conceptJujie and saima introduction of statistical concept
Jujie and saima introduction of statistical concept
JUJIE ATILANO
 
Introduction to dispensing and medication counseling
Introduction to dispensing and medication counselingIntroduction to dispensing and medication counseling
Introduction to dispensing and medication counseling
Ivory Diane Amancio
 
Open Textbook Summit - Collaborative Statistics & Introductory Statistics
Open Textbook Summit - Collaborative Statistics & Introductory StatisticsOpen Textbook Summit - Collaborative Statistics & Introductory Statistics
Open Textbook Summit - Collaborative Statistics & Introductory Statistics
BCcampus
 
What is statistics
What is statisticsWhat is statistics
What is statistics
Raj Teotia
 
Bar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentationBar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentation
sheiblu
 
Test of hypothesis (z)
Test of hypothesis (z)Test of hypothesis (z)
Test of hypothesis (z)
Marlon Gomez
 
Ad

Similar to Statistics for the Health Scientist: Basic Statistics I (20)

Bst322week1
Bst322week1Bst322week1
Bst322week1
Howard Realubit
 
Biostatistics
Biostatistics Biostatistics
Biostatistics
Vaibhav Ambashikar
 
Statistics.pdf.pdf for Research Physiotherapy and Occupational Therapy
Statistics.pdf.pdf for Research Physiotherapy and Occupational TherapyStatistics.pdf.pdf for Research Physiotherapy and Occupational Therapy
Statistics.pdf.pdf for Research Physiotherapy and Occupational Therapy
SakhileKhoza2
 
Lecture lecture lecture lecture lecturen
Lecture lecture lecture lecture lecturenLecture lecture lecture lecture lecturen
Lecture lecture lecture lecture lecturen
zaeme05
 
Week 2 measures of disease occurence
Week 2  measures of disease occurenceWeek 2  measures of disease occurence
Week 2 measures of disease occurence
Hamdi Alhakimi
 
Experimental Design Scientific Method and GraphingREVISED.ppt
Experimental Design Scientific Method and GraphingREVISED.pptExperimental Design Scientific Method and GraphingREVISED.ppt
Experimental Design Scientific Method and GraphingREVISED.ppt
MathandScienced
 
EXPLORATORY DATA ANALYSIS and ANALYSIS.ppt
EXPLORATORY DATA ANALYSIS and ANALYSIS.pptEXPLORATORY DATA ANALYSIS and ANALYSIS.ppt
EXPLORATORY DATA ANALYSIS and ANALYSIS.ppt
ABIGESH1
 
EXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTS
EXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTSEXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTS
EXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTS
hemalatha909597
 
statisticsintroductionofbusinessstats.ppt
statisticsintroductionofbusinessstats.pptstatisticsintroductionofbusinessstats.ppt
statisticsintroductionofbusinessstats.ppt
voore ajay
 
classX_Data Science_Teacher_Presentation.pptx
classX_Data Science_Teacher_Presentation.pptxclassX_Data Science_Teacher_Presentation.pptx
classX_Data Science_Teacher_Presentation.pptx
vishalkumar238357
 
module-5-session- and methodologies 1.pptx
module-5-session- and methodologies 1.pptxmodule-5-session- and methodologies 1.pptx
module-5-session- and methodologies 1.pptx
Venkat Ramana
 
module-5-session-1.pptx module 5 session
module-5-session-1.pptx module 5 sessionmodule-5-session-1.pptx module 5 session
module-5-session-1.pptx module 5 session
sadiariasat10
 
Data Analytics key concepts with tools for da
Data Analytics key concepts with tools for daData Analytics key concepts with tools for da
Data Analytics key concepts with tools for da
vadiraja6
 
igdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgoj
igdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgojigdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgoj
igdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgoj
AkKumar43
 
Biostatistics ppt
Biostatistics  pptBiostatistics  ppt
Biostatistics ppt
santhoshikayithi
 
Class_1._Introduction.pptx
Class_1._Introduction.pptxClass_1._Introduction.pptx
Class_1._Introduction.pptx
Hongtu Nguyen
 
Lecture-2{This tell us about the statics basic info}_JIH.pptx
Lecture-2{This tell us about the statics basic info}_JIH.pptxLecture-2{This tell us about the statics basic info}_JIH.pptx
Lecture-2{This tell us about the statics basic info}_JIH.pptx
fahimhasan1217
 
1. Introduction To Statistics in computing.pptx
1. Introduction To Statistics in computing.pptx1. Introduction To Statistics in computing.pptx
1. Introduction To Statistics in computing.pptx
IsuriUmayangana
 
2. Descriptive Statistics.pdf
2. Descriptive Statistics.pdf2. Descriptive Statistics.pdf
2. Descriptive Statistics.pdf
YomifDeksisaHerpa
 
Data Display and Summary
Data Display and SummaryData Display and Summary
Data Display and Summary
DrZahid Khan
 
Statistics.pdf.pdf for Research Physiotherapy and Occupational Therapy
Statistics.pdf.pdf for Research Physiotherapy and Occupational TherapyStatistics.pdf.pdf for Research Physiotherapy and Occupational Therapy
Statistics.pdf.pdf for Research Physiotherapy and Occupational Therapy
SakhileKhoza2
 
Lecture lecture lecture lecture lecturen
Lecture lecture lecture lecture lecturenLecture lecture lecture lecture lecturen
Lecture lecture lecture lecture lecturen
zaeme05
 
Week 2 measures of disease occurence
Week 2  measures of disease occurenceWeek 2  measures of disease occurence
Week 2 measures of disease occurence
Hamdi Alhakimi
 
Experimental Design Scientific Method and GraphingREVISED.ppt
Experimental Design Scientific Method and GraphingREVISED.pptExperimental Design Scientific Method and GraphingREVISED.ppt
Experimental Design Scientific Method and GraphingREVISED.ppt
MathandScienced
 
EXPLORATORY DATA ANALYSIS and ANALYSIS.ppt
EXPLORATORY DATA ANALYSIS and ANALYSIS.pptEXPLORATORY DATA ANALYSIS and ANALYSIS.ppt
EXPLORATORY DATA ANALYSIS and ANALYSIS.ppt
ABIGESH1
 
EXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTS
EXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTSEXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTS
EXPLORATORY DATA ANALYSIS FOR BEGINNERS AND STUDENTS
hemalatha909597
 
statisticsintroductionofbusinessstats.ppt
statisticsintroductionofbusinessstats.pptstatisticsintroductionofbusinessstats.ppt
statisticsintroductionofbusinessstats.ppt
voore ajay
 
classX_Data Science_Teacher_Presentation.pptx
classX_Data Science_Teacher_Presentation.pptxclassX_Data Science_Teacher_Presentation.pptx
classX_Data Science_Teacher_Presentation.pptx
vishalkumar238357
 
module-5-session- and methodologies 1.pptx
module-5-session- and methodologies 1.pptxmodule-5-session- and methodologies 1.pptx
module-5-session- and methodologies 1.pptx
Venkat Ramana
 
module-5-session-1.pptx module 5 session
module-5-session-1.pptx module 5 sessionmodule-5-session-1.pptx module 5 session
module-5-session-1.pptx module 5 session
sadiariasat10
 
Data Analytics key concepts with tools for da
Data Analytics key concepts with tools for daData Analytics key concepts with tools for da
Data Analytics key concepts with tools for da
vadiraja6
 
igdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgoj
igdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgojigdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgoj
igdfabjfjdfjfnjnngfsdkjfjjgjgjjgjdjjgdopjgoj
AkKumar43
 
Class_1._Introduction.pptx
Class_1._Introduction.pptxClass_1._Introduction.pptx
Class_1._Introduction.pptx
Hongtu Nguyen
 
Lecture-2{This tell us about the statics basic info}_JIH.pptx
Lecture-2{This tell us about the statics basic info}_JIH.pptxLecture-2{This tell us about the statics basic info}_JIH.pptx
Lecture-2{This tell us about the statics basic info}_JIH.pptx
fahimhasan1217
 
1. Introduction To Statistics in computing.pptx
1. Introduction To Statistics in computing.pptx1. Introduction To Statistics in computing.pptx
1. Introduction To Statistics in computing.pptx
IsuriUmayangana
 
2. Descriptive Statistics.pdf
2. Descriptive Statistics.pdf2. Descriptive Statistics.pdf
2. Descriptive Statistics.pdf
YomifDeksisaHerpa
 
Data Display and Summary
Data Display and SummaryData Display and Summary
Data Display and Summary
DrZahid Khan
 
Ad

Recently uploaded (20)

Valvular-Heart-Diseases-A-Comprehensive-Overview.pdf
Valvular-Heart-Diseases-A-Comprehensive-Overview.pdfValvular-Heart-Diseases-A-Comprehensive-Overview.pdf
Valvular-Heart-Diseases-A-Comprehensive-Overview.pdf
Assist. Prof. Radhwan Hazem Alkhashab
 
TESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptx
TESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptxTESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptx
TESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptx
DHANASHREE KOLHEKAR
 
Lung ultrasound essential for BLUE protocol
Lung ultrasound essential for BLUE protocolLung ultrasound essential for BLUE protocol
Lung ultrasound essential for BLUE protocol
MessahVDiana
 
Physiology of Pain and thermal sensations
Physiology of Pain and thermal sensationsPhysiology of Pain and thermal sensations
Physiology of Pain and thermal sensations
MedicoseAcademics
 
Advanced trauma life support for medical students
Advanced trauma life support for medical studentsAdvanced trauma life support for medical students
Advanced trauma life support for medical students
Abdelraouf Abheiri
 
Pathophysiology of obesity - Rawa Muhsin
Pathophysiology of obesity - Rawa MuhsinPathophysiology of obesity - Rawa Muhsin
Pathophysiology of obesity - Rawa Muhsin
Rawa Muhsin
 
TH'e Oncology Meds for Medicine Services
TH'e Oncology Meds for Medicine ServicesTH'e Oncology Meds for Medicine Services
TH'e Oncology Meds for Medicine Services
Theoncologymeds
 
Ophthalmological notes for dental students
Ophthalmological notes for dental studentsOphthalmological notes for dental students
Ophthalmological notes for dental students
KafrELShiekh University
 
Physiology of Defense System - B-Cell Immunity
Physiology of Defense System - B-Cell ImmunityPhysiology of Defense System - B-Cell Immunity
Physiology of Defense System - B-Cell Immunity
MedicoseAcademics
 
UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...
UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...
UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...
DHANASHREE KOLHEKAR
 
1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx
1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx
1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx
DHANASHREE KOLHEKAR
 
MSUS musculoskeletal ultrasound On The wrist basic level Marwa Abo ELmaaty Be...
MSUS musculoskeletal ultrasound On The wrist basic level Marwa Abo ELmaaty Be...MSUS musculoskeletal ultrasound On The wrist basic level Marwa Abo ELmaaty Be...
MSUS musculoskeletal ultrasound On The wrist basic level Marwa Abo ELmaaty Be...
Internal medicine department, faculty of Medicine Beni-Suef University Egypt
 
Physiology of Central Nervous System - Somatosensory Cortex
Physiology of Central Nervous System - Somatosensory CortexPhysiology of Central Nervous System - Somatosensory Cortex
Physiology of Central Nervous System - Somatosensory Cortex
MedicoseAcademics
 
PARTNER 2 TRIAL five year outcomes .pptx
PARTNER 2 TRIAL five year outcomes .pptxPARTNER 2 TRIAL five year outcomes .pptx
PARTNER 2 TRIAL five year outcomes .pptx
Aparanji Gopidi
 
Update on Percutaneous Left Atrial Appendage Occlusion
Update on Percutaneous Left Atrial Appendage OcclusionUpdate on Percutaneous Left Atrial Appendage Occlusion
Update on Percutaneous Left Atrial Appendage Occlusion
Duke Heart
 
ASD ( Atrial Septal Defect)... An Overview
ASD ( Atrial Septal Defect)... An OverviewASD ( Atrial Septal Defect)... An Overview
ASD ( Atrial Septal Defect)... An Overview
dramiraaref
 
MIZAN 8 May 2025 Probabation period special.pdf
MIZAN 8  May 2025 Probabation period special.pdfMIZAN 8  May 2025 Probabation period special.pdf
MIZAN 8 May 2025 Probabation period special.pdf
Government Tibbi College and Hospital, Patna
 
Acute Myocarditis and Management in children.pptx
Acute Myocarditis and Management  in children.pptxAcute Myocarditis and Management  in children.pptx
Acute Myocarditis and Management in children.pptx
Mohammad ALktifan
 
Evidence-based Management of Atrial Septal Defects and Patent Foramen Ovale
Evidence-based Management of Atrial Septal Defects and Patent Foramen OvaleEvidence-based Management of Atrial Septal Defects and Patent Foramen Ovale
Evidence-based Management of Atrial Septal Defects and Patent Foramen Ovale
Duke Heart
 
BLOOD SUPPLY OF HEART- Prof.Dr.N.Mugunthan.pdf
BLOOD SUPPLY OF HEART- Prof.Dr.N.Mugunthan.pdfBLOOD SUPPLY OF HEART- Prof.Dr.N.Mugunthan.pdf
BLOOD SUPPLY OF HEART- Prof.Dr.N.Mugunthan.pdf
Kanyakumari Medical Mission Research Center, Muttom
 
TESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptx
TESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptxTESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptx
TESTING OF NATURAL PRODUCTS AND DRUGS- DHANASHREE GIRIDHAR KOLHEKAR.pptx
DHANASHREE KOLHEKAR
 
Lung ultrasound essential for BLUE protocol
Lung ultrasound essential for BLUE protocolLung ultrasound essential for BLUE protocol
Lung ultrasound essential for BLUE protocol
MessahVDiana
 
Physiology of Pain and thermal sensations
Physiology of Pain and thermal sensationsPhysiology of Pain and thermal sensations
Physiology of Pain and thermal sensations
MedicoseAcademics
 
Advanced trauma life support for medical students
Advanced trauma life support for medical studentsAdvanced trauma life support for medical students
Advanced trauma life support for medical students
Abdelraouf Abheiri
 
Pathophysiology of obesity - Rawa Muhsin
Pathophysiology of obesity - Rawa MuhsinPathophysiology of obesity - Rawa Muhsin
Pathophysiology of obesity - Rawa Muhsin
Rawa Muhsin
 
TH'e Oncology Meds for Medicine Services
TH'e Oncology Meds for Medicine ServicesTH'e Oncology Meds for Medicine Services
TH'e Oncology Meds for Medicine Services
Theoncologymeds
 
Ophthalmological notes for dental students
Ophthalmological notes for dental studentsOphthalmological notes for dental students
Ophthalmological notes for dental students
KafrELShiekh University
 
Physiology of Defense System - B-Cell Immunity
Physiology of Defense System - B-Cell ImmunityPhysiology of Defense System - B-Cell Immunity
Physiology of Defense System - B-Cell Immunity
MedicoseAcademics
 
UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...
UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...
UNIT 5- Metabolite Identification. IN VITRO-IN VIVO Approaches, Protocols & S...
DHANASHREE KOLHEKAR
 
1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx
1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx
1D-2D NMR- dhanashree kolhekar- BBAU, Lucknow.pptx
DHANASHREE KOLHEKAR
 
Physiology of Central Nervous System - Somatosensory Cortex
Physiology of Central Nervous System - Somatosensory CortexPhysiology of Central Nervous System - Somatosensory Cortex
Physiology of Central Nervous System - Somatosensory Cortex
MedicoseAcademics
 
PARTNER 2 TRIAL five year outcomes .pptx
PARTNER 2 TRIAL five year outcomes .pptxPARTNER 2 TRIAL five year outcomes .pptx
PARTNER 2 TRIAL five year outcomes .pptx
Aparanji Gopidi
 
Update on Percutaneous Left Atrial Appendage Occlusion
Update on Percutaneous Left Atrial Appendage OcclusionUpdate on Percutaneous Left Atrial Appendage Occlusion
Update on Percutaneous Left Atrial Appendage Occlusion
Duke Heart
 
ASD ( Atrial Septal Defect)... An Overview
ASD ( Atrial Septal Defect)... An OverviewASD ( Atrial Septal Defect)... An Overview
ASD ( Atrial Septal Defect)... An Overview
dramiraaref
 
Acute Myocarditis and Management in children.pptx
Acute Myocarditis and Management  in children.pptxAcute Myocarditis and Management  in children.pptx
Acute Myocarditis and Management in children.pptx
Mohammad ALktifan
 
Evidence-based Management of Atrial Septal Defects and Patent Foramen Ovale
Evidence-based Management of Atrial Septal Defects and Patent Foramen OvaleEvidence-based Management of Atrial Septal Defects and Patent Foramen Ovale
Evidence-based Management of Atrial Septal Defects and Patent Foramen Ovale
Duke Heart
 

Statistics for the Health Scientist: Basic Statistics I

  • 1. Topic 1 An Introduction to Statistics Dr Luke Kane April 2014 Topic 1: An Introduction to Statistics 1
  • 2. OK… Rules – Very serious! • YOU MUST ASK QUESTIONS • If you dont understand - let's work it out! • Otherwise – no rules Topic 1: An Introduction to Statistics 2
  • 3. What is Statistics? • Statistics is the science of learning from data, and of measuring, controlling, and communicating uncertainty; • it thereby provides the navigation essential for controlling the course of scientific and societal advances Topic 1: An Introduction to Statistics 3
  • 4. Outline • Describing variables and data • Descriptive statistics – Tables – Charts – Shapes Topic 1: An Introduction to Statistics 4
  • 5. Objectives • Define variable • Define data • Classify variables in quantitative or categorical • Sub-classify quantitative variables into discrete or continuous • Sub-classify categorical variables into nominal or ordinal • Use the type of variable to determine which table and chart to display it • Understand the normal distribution and other shapes Topic 1: An Introduction to Statistics 5
  • 6. What is a Variable? • A variable is something whose value can vary • Examples (many!): Topic 1: An Introduction to Statistics 6
  • 7. What is Data? • Data are the values you get when you measure variables • Example: Topic 1: An Introduction to Statistics 7
  • 8. Types of Variable • Lots of different ways of thinking about variables: – Categorical vs. Metric – Continuous vs. Categorical I like this one: Quantitative Vs Categorical Topic 1: An Introduction to Statistics 8
  • 9. Categorical Variables - "What type?” • "Categories" • Nominal: – Unordered, order not important – Male or female, dead/alive, Blood group A B AB O • Ordinal: – Ordered, order is important – type of breast cancer, agree  neither agree nor disagree disagree Topic 1: An Introduction to Statistics 9
  • 10. Categorical Variables – Types of houses – Days of the week – Opinions/viewpoints – Hair colour – Malaria positive or negative Topic 1: An Introduction to Statistics 10
  • 11. Quantitative Variables - " How much?" • Also known as metric • Quantitative variables can be: • Continuous: – The variables come from measuring – Have units of measurement – Good for analysis • Discrete: – The variables come from counting – The values are usually integer (whole number) Topic 1: An Introduction to Statistics 11
  • 12. Quantitative Variables • Weight, Height • Number of cigarettes per day • Blood pressure • How many malaria parasites in the blood • Number of workers with malaria Topic 1: An Introduction to Statistics 12
  • 13. Variables: A Summary Table Quantitative Continuous Discrete Blood pressure, height, weight, age Number of children Number of asthma attacks per child Categorical Ordinal Nominal Grade of breast cancer Better, same, worse Disagree, neutral, agree Sex – male or female Alive or dead Blood group Topic 1: An Introduction to Statistics 13
  • 14. Variables – more! • It is easy to summarise categorical variables • You can convert quantitative variables into categorical variables – For example, in diabetes it is dangerous when sugar is very low – So a blood sugar of 1.6mmol/l is the quantitative measurement – You can place this in a low, normal or high range (which makes it a categorical variable) – 1.6 is low - patient needs treatment (sugar!) • Continuous variables allow better analysis as they are the real numbers • Tests have more power if used on continuous variables • So it is better to use continuous variables for statistical analysis • Better to use categorical variables for summarising results and presentation Topic 1: An Introduction to Statistics 14
  • 15. Descriptive Statistics • This is taking the raw data and consolidating it into a table or chart Topic 1: An Introduction to Statistics 15
  • 16. Descriptive Statistics • Frequency tables • Relative frequency tables • Grouping the data • Open ended groups • Cumulative frequency • Cross tabulation Topic 1: An Introduction to Statistics 16
  • 17. Frequency Tables • Nominal Categorical Variables • Start with largest • Tell reader what the total number is (n = X) Category Hair Colour Frequency (number of adults) n=116 Black 85 Brown 17 Blonde 8 Red / Ginger 4 Other (e.g. blue, green) 2 Topic 1: An Introduction to Statistics 17
  • 18. Relative Frequency Category Hair Colour Frequency (number of adults) n=116 Relative Frequency (%) Black 85 73.3 Brown 17 14.7 Blonde 8 6.8 Red / Ginger 4 3.5 Other (e.g. blue, green) 2 1.7 Topic 1: An Introduction to Statistics 18
  • 19. Ordinal Categorical Variables • Hair colour is a nominal categorical variable so does not need to be ordered. • Satisfaction is an ordinal categorical variable so you can make a frequency table but you must put the categories in order. • For example: How would you put these in order? • Unsatisfied • Very satisfied • Satisfied • Extremely unsatisfied Topic 1: An Introduction to Statistics 19
  • 20. Continuous Data • Not practical to display all of the raw data • The table is too big even with the small sample size. • Easier to group the data • Then make a frequency table Pig Number (n = 21) Weight of pigs at market / Kg 1 120 2 210 3 110 4 209 5 205 6 164 7 145 8 177 9 185 10 184 11 180 12 183 13 182 14 190 15 198 16 134 17 140 18 156 19 154 20 201 Topic 1: An Introduction to Statistics 20
  • 21. Grouped Frequency Table • So if we group the data into groups of equal width you get a grouped frequency distribution Weight of pigs at market / kg Number of pigs (Frequency) n =21 110-130 2 131-150 3 151 - 170 3 171- 190 7 191-210 6 Topic 1: An Introduction to Statistics 21
  • 22. Outliers • This is fine if all the data is close together – i.e. if all the pigs weigh about the same – But what do you do if there are some giant pigs and some tiny pigs? – Like if you added two extra pigs to our data set: • a pig weighing 54kg • one big one weighing 327kg Weight of pigs at market / kg Number of pigs (Frequency) n =21 51-70 1 71-90 0 91-110 0 111-130 2 131-150 3 151 – 170 3 171- 190 7 191-210 0 211-230 0 231-250 0 251-270 0 271 – 290 0 291 – 310 0 311 – 330 1 Topic 1: An Introduction to Statistics 22
  • 23. Open Ended Groups • The big and small pig are called Outliers. • To make things easier you can use open ended groups at the top and bottom Weight of pigs at market / kg Number of pigs (Frequency) n =21 ≤110 1 111-130 2 131-150 3 151 - 170 3 171- 190 7 191-210 6 ≥211 1 Topic 1: An Introduction to Statistics 23
  • 24. Symbols • > More than • < Less than • ≥ Equal to or more than • ≤ Equal to or more than Topic 1: An Introduction to Statistics 24
  • 25. Cumulative Frequency • Adding up (cumulate) the frequencies as you go along • Enables you to make a nice chart - see later • For example, the lengths of snakes below Length of snake / cm Frequency (number of snakes) n = 61 Cumulative frequency of snakes <30 10 10 31-60 17 27 (=10+17) 61-90 19 46 (=10+17+19) 91-120 12 58 (=10+17+19+12) >121 3 61 (10+17=+19+12+3)Topic 1: An Introduction to Statistics 25
  • 26. Cross-Tabulation • Everything so far has been a table of a single variable • Sometimes you want to look at how two variables influence one sample • Crosstab - is the combination of two variables Topic 1: An Introduction to Statistics 26
  • 27. Cross Tab Example • Does drinking alcohol affect the number of accidents people have on motorbikes? • What are the two variables? • The two variables are accidents and drinking • If there was a big party and you breathalysed 500 people leaving, you could determine if they were above or below the drink-drive limit. You could then ask them the next day if there was an accident on their way home. Topic 1: An Introduction to Statistics 27
  • 28. Cross Tab Example Accident on way home? Above the alcohol limit? Yes No Yes 40 2 No 116 342 Total 156 344 Topic 1: An Introduction to Statistics 28
  • 29. Cross Tab Example • You can then convert this into percentages by adding up the columns and rows. • It is very easy to see that over 99% of the sober drivers did not have accidents and more than 1 in 4 of the drunk drivers had accidents • Dont drink and drive! Accident on way home? Above the alcohol limit? Yes No Yes 25.6% 0.6% No 74.4% 99.4% Topic 1: An Introduction to Statistics 29
  • 30. Charts • Charts are a good way of describing data • Categorical data is easily plotted as: – Pie chart – Bar chart – Clustered bar chart – Stacked bar chart Topic 1: An Introduction to Statistics 30
  • 31. Pie Charts • Good: for categorical nominal data, easy to make, easy to understand • Bad: Can only use one variable - need separate pie chart for each variable, confusing if many categories used Topic 1: An Introduction to Statistics 31
  • 32. Simple Bar Chart • Good: for categorical nominal data, easy to make, easy to understand • Bad: only one variable • Note must have spaces between bars, equal bars Topic 1: An Introduction to Statistics 32
  • 33. Clustered Bar Chart • Very similar to a simple bar chart but allows you to compare sub-groups, e.g. boys and girls • Good for comparing category sizes between groups, e.g. blonde boys and blonde girls Topic 1: An Introduction to Statistics 33
  • 34. Stacked Bar Chart • Good for comparing total number of subjects in each group, e.g. all boys and all girls Topic 1: An Introduction to Statistics 34
  • 35. Quantitative Charts • Bar Charts can also be used to graph discrete quantitative data • But for continuous quantitative data it is better to use a histogram • Cumulative quantitative data can be charted with a step chart or a frequency curve Topic 1: An Introduction to Statistics 35
  • 36. Histograms • Frequency Histogram • Uses data that is grouped together to save space • There are no gaps between the bars - it is a continuous variable • Bad: only use one variable at a time Topic 1: An Introduction to Statistics 36
  • 37. Frequency Curve • For cumulative data you can make a frequency curve • Continuous quantitative data is assumed to have a smooth continuum of values • This should make a nice, smooth curve - the cumulative frequency curve • This is also known as an ogive Topic 1: An Introduction to Statistics 37
  • 38. Frequency Curve - Snakes • So if we take the snakes: Length of snake / cm Frequency (number of snakes) n = 61 Cumulative frequency of snakes % Cumulative frequency of snakes <30 10 10 10/61 = 16.4% 31-60 17 27 27/61 = 44.3% 61-90 19 46 75.4% 91-120 12 58 95.1% >121 3 61 100% 0.00% 20.00% 40.00% 60.00% 80.00% 100.00% 120.00% <30 31-60 61-90 91-120 >121Topic 1: An Introduction to Statistics 38
  • 39. Shapes • OK now we have charts – how do you describe data from the shape of the graph? • A uniform distribution is evenly distributed – "A normal curve represents perfectly symmetrical distribution" – Also known as a "bell shape" • Then you have "skews" to the left or right – Left skews are negatively skewed – Right skews are positively skewed • Bimodal distributions have two humps Topic 1: An Introduction to Statistics 39
  • 40. Normal distribution Topic 1: An Introduction to Statistics 40
  • 41. Skew • A measure of the asymmetry Topic 1: An Introduction to Statistics 41
  • 42. Bimodal distribution Topic 1: An Introduction to Statistics 42
  • 43. Summary so far… • Types of data and variables • Ways to put this data in tables • Ways to put this data in charts • Ways to examine the shape of the data • Next: TOPIC 2 – Using numbers to summarise the data – Prevalence and Incidence Topic 1: An Introduction to Statistics 43
  • 44. References • This lecture is based on David Bowers “Medical statistics from Scratch: An introduction for health professionals” • Bowers, D. (2008) Medical Statistics from Scratch: An Introduction for Health Professionals. USA: Wiley-Interscience. Topic 1: An Introduction to Statistics 44