2 Lecture 2 Organizing and Displaying of Data
2 Lecture 2 Organizing and Displaying of Data
2 Lecture 2 Organizing and Displaying of Data
By:
Mr. Ihsan Ullah Wazir
Presentation of Data
Statistical data are generally presented by:
Tables
- Frequency table
- Cross tabulation
Graphs
- Qualitative data
- Quantitative data
Classification, Summarization &
Organization of Qualitative Data
________________________________________________________________
Frequency_
Tally Number of
Marks Patients Proportion
Never II 2 2/20=0.10
Few Times III 3 3/20=0.15
Often IIII IIII 9 9/20=0.45
Always IIII I 6 6/20=0.30
_________________________________________________________________
Total 20 1.00
0 II 2 2
1 III 3 5
2 IIII 5 10
3 IIII 5 15
4 IIII I 6 21
5 IIII 4 25
6 II 2 27
7 II 2 29
8 I 1 30
_______________________________________________
Total 30
4
Frequency Distribution Table
• A frequency distribution is a table that includes a set of intervals and
displays the number of measurement in each interval.
9
Example 2
Suppose we need to construct a similar frequency table for age
of Diabetic patients coming to a clinic. The following data has
been collected based on random sample of n = 30.
The measurements are:
42,38,51,53,40,68,62,36,32,45,51,67,53,59,47,63,52,64,61,43,56,
58,66,54,56,52,40,55,71,69
10
Decide the number of classes
The number of classes or intervals depends on the
number of observations but in general should range
from 5 to 15.
11
Frequency Distribution Table
Class Frequency Relative Cumulative Cumulative Rel.
(Number of Frequency Frequency Frequency
Living
Children)
12
Cross tabulation (or crosstabs for short)
+ _
14
• Gender (Male, Female) • Smoking (Smoker, Non-smoker )
1. Male
1. Smoker
2. Female
2. Non-smoker
3. Male
3. Non-smoker
4. Female
4. Smoker
5. Male
5. Smoker
6. Female
6. Non-smoker
7. Male
7. Smoker
8. Female
8. Non-smoker
9. Male
9. Smoker
10. Female
10. Non-smoker
Gender
Male Female
Smoking Smoker 4 1 5
Non-smoker 1 4 5
total 5 5 10
Smoking
smoker Non-smoker
Gender Male 4 1 5
Female 1 4 5
total 5 5 10
Cross-Tabulation
18
Graphical representation of data
• It gives the reader a nice overview of the essential features of the
data. Graphs are designed to give an intuitive feeling of the data at a
glace.
• Therefore graphs:
• Should be self explanatory
• Must have title
• Must have labeled axis
• Should mention unit of observation
• Should be simple & clean
19
Graphical Presentation
• Graphs often make it easier to see certain characteristics and trends
in a set of data.
20
Histogram
22
Frequency polygon
25
Tree and leaf or stem and leaf
• Bar graphs have spaces between adjacent bars to represent distinct categories
• The height of each bar is equal to the frequency of item for that category.
28
MULTIPLE BAR CHART (VERTICAL)
60
50
ASCITES
40
30
Ascites
20
Yes
10 No
Male Female
GENDER
29
BAR CHART (HORIZONTAL)
Figure 2.2 Bar graph showing the number of students of each category 30
SLIDING BAR CHART
31
Pie chart
32
Conti…
There are some other graphs that are used for presentation of
Quantitative data:
• Dot Plot
• Scattered Dot Plot
• Box Plot
DOT PLOT
A
A
15
Frequency A
10
A A
A A A A
5
A A
A A
A A A A A A
A A A A AA A A A AA A A A A AA A A
0
20 40 60 80
Age
34
SCATTER PLOT
80
70
60
50
40
Age
30
40 50 60 70 80 90
Weight
35
Thank you