Statistics Pages
Statistics Pages
() Introduction 1 / 178
Probability and Statistics
Spring Semester 2025
() Introduction 3 / 178
Statistics is the science of collecting, organizing, analyzing and
interpreting data to assist in making decisions.
Types of Statistics
() Introduction 3 / 178
Statistics is the science of collecting, organizing, analyzing and
interpreting data to assist in making decisions.
Types of Statistics
() Introduction 3 / 178
Population and Sample
Example
sample
() Introduction 4 / 178
We introduce few more definitions and new terms in statistical
language.
Variable
() Introduction 5 / 178
There are two types of quantitative variables:
Discrete Variable
Continuous Variable
Data: Values of a variable for one or more people or things yield
data.
Qualitative data : Values of a qualitative variable
Quantitative data: Values of a quantitative variable
Discrete data: Values of a discrete variable
Continuous data: Values of a continuous variable
Each individual piece of data is called an observation, and the
collection of all observations for a particular variable is called a
data set.
() Introduction 6 / 178
Data Representation
Frequency Distribution
There are several methods of organization and presentation of
observed data which facilitate its interpretation and evaluation.
Example: The responses of the 40 students in the class for their
political party are recorded as follows:
P N O N N N N N
P O N P O O N P
P N O P N N O N
P O P P P N O P
O N P N N N N P
() Introduction 7 / 178
A class frequency table is given as follows:
Class Frequency Cumulative Relative
intervals x f frequency frequency frel (x)
P 13 13 13/40=0.325
N 18 31 18/40=0.450
O 9 40 9/40=0.225
40 1
() Introduction 8 / 178
Pie Chart
A pie chart is a disk divided into wedge-shaped pieces
proportional to the relative frequencies of the qualitative data.
() Introduction 9 / 178
Pie Chart
A pie chart is a disk divided into wedge-shaped pieces
proportional to the relative frequencies of the qualitative data.
The main steps for the construction of pie chart are as follows:
Obtain a relative-frequency distribution of the data.
Divide a disk into wedge-shaped pieces proportional to the
relative frequencies.
Label the slices with the distinct values and their relative
frequencies.
() Introduction 9 / 178
Pie Chart
A pie chart is a disk divided into wedge-shaped pieces
proportional to the relative frequencies of the qualitative data.
The main steps for the construction of pie chart are as follows:
Obtain a relative-frequency distribution of the data.
Divide a disk into wedge-shaped pieces proportional to the
relative frequencies.
Label the slices with the distinct values and their relative
frequencies.
() Introduction 9 / 178
Bar Chart
A bar chart displays the distinct values of the qualitative data on
a horizontal axis and the relative frequencies (or frequencies or
percents) of those values on a vertical axis. The relative frequency
of each distinct value is represented by a vertical bar whose height
is equal to the relative frequency of that value. The bars should
be positioned so that they do not touch each other.
() Introduction 10 / 178
Bar Chart
A bar chart displays the distinct values of the qualitative data on
a horizontal axis and the relative frequencies (or frequencies or
percents) of those values on a vertical axis. The relative frequency
of each distinct value is represented by a vertical bar whose height
is equal to the relative frequency of that value. The bars should
be positioned so that they do not touch each other.
The main steps for the construction of bar chart are as follows:
Obtain a relative-frequency distribution of the data.
Draw a horizontal axis on which to place the bars and a
vertical axis on which to display the relative frequencies.
For each distinct value, construct a vertical bar whose height
equals the relative frequency of that value.
Label the bars with the distinct values, the horizontal axis
with the name of the variable, and the vertical axis with
Relative frequency.
() Introduction 10 / 178
Bar Charts
() Introduction 11 / 178
Exercise
Find relative frequency, and express this data set in a pie and bar
chart.
() Introduction 12 / 178
Data Representation
() Introduction 13 / 178
Single value grouping
() Introduction 14 / 178
Single value grouping
() Introduction 14 / 178
Limit grouping
70 64 99 55 64 89 87 65
62 38 67 70 60 69 78 39
75 56 71 51 99 68 95 86
57 53 47 50 55 81 80 98
51 36 63 66 85 79 83 70
() Introduction 15 / 178
Cutpoint grouping
() Introduction 16 / 178
Examples
() Introduction 17 / 178
Examples
() Introduction 18 / 178
Example: The following table gives the speeds, in miles per
hour, over 14 mile for 35 cheetahs. Use cutpoint grouping with 52
as the first cutpoint and classes of equal width 2.
() Introduction 19 / 178
Simple Bar Chart
A simple bar chart consist of horizontal or vertical bar of equal
widths and lengths equal to value represented by frequency.
Example:Draw a simple bar diagram to represent the turnover of
a company for 5 years
() Introduction 20 / 178
Multiple Bar Chart
() Introduction 21 / 178
Multiple Bar Chart
() Introduction 22 / 178
Component Bar Chart
() Introduction 23 / 178
() Introduction 24 / 178
Class Boundary
() Introduction 25 / 178
Class Boundary
These numbers are used to separate the classes so that there are
no gaps in the frequency distribution.
() Introduction 26 / 178
Graphical Display for Quantitative Data
Histogram
A histogram displays the classes of the quantitative data on a
horizontal axis and the frequencies (relative frequencies, percents)
of those classes on a vertical axis. The frequency (relative
frequency, percent) of each class is represented by a vertical bar
whose height is equal to the frequency (relative frequency,
percent) of that class. The bars should be positioned so that they
touch each other.
() Introduction 27 / 178
Graphical Display for Quantitative Data
Histogram
A histogram displays the classes of the quantitative data on a
horizontal axis and the frequencies (relative frequencies, percents)
of those classes on a vertical axis. The frequency (relative
frequency, percent) of each class is represented by a vertical bar
whose height is equal to the frequency (relative frequency,
percent) of that class. The bars should be positioned so that they
touch each other.
For single-value grouping, we use the distinct values of the
observations to label the bars, with each such value centered
under its bar
For limit grouping or cutpoint grouping, we use the lower
class limits (or, equivalently, lower class cutpoints) to label
the bars.
() Introduction 27 / 178
Graphical Display for Quantitative Data
Histogram
A histogram displays the classes of the quantitative data on a
horizontal axis and the frequencies (relative frequencies, percents)
of those classes on a vertical axis. The frequency (relative
frequency, percent) of each class is represented by a vertical bar
whose height is equal to the frequency (relative frequency,
percent) of that class. The bars should be positioned so that they
touch each other.
For single-value grouping, we use the distinct values of the
observations to label the bars, with each such value centered
under its bar
For limit grouping or cutpoint grouping, we use the lower
class limits (or, equivalently, lower class cutpoints) to label
the bars.
Note: Some statisticians and technologies use class marks or
class midpoints centered under the bars.
() Introduction 27 / 178
Graphical Display for Quantitative Data
() Introduction 28 / 178
Graphical Display for Quantitative Data
Examples
() Introduction 29 / 178
Graphical Display for Quantitative Data
Examples
() Introduction 30 / 178
Graphical Display for Quantitative Data
Examples
() Introduction 31 / 178
Graphical Display for Quantitative Data
Dotplots
Dotplots are particularly useful for showing the relative positions
of the data in a data set.
() Introduction 32 / 178
Graphical Display for Quantitative Data
Dotplots
Dotplots are particularly useful for showing the relative positions
of the data in a data set.
Prices, in dollar, of 16 DVD players
() Introduction 32 / 178
Graphical Display for Quantitative Data
Frequency Polygon
() Introduction 33 / 178
Graphical Display for Quantitative Data
Frequency Polygon
112 100 127 120 134 118 105 110 109 112
110 118 117 116 118 122 114 114 105 109
107 112 114 115 118 117 118 122 106 110
116 108 110 121 113 120 119 111 104 111
120 113 120 117 105 110 118 112 114 114
() Introduction 33 / 178
Graphical Display for Quantitative Data
Frequency Polygon
() Introduction 34 / 178
Graphical Display for Quantitative Data
Frequency Polygon
() Introduction 35 / 178
Graphical Display for Quantitative Data
Cumulative frequency
Less than 99.5 0
Less than 104.5 2
Less than 109.5 10
Less than 114.5 28
Less than 119.5 41
Less than 124.5 48
Less than 129.5 49
Less than 134.5 50
() Introduction 36 / 178
Graphical Display for Quantitative Data
() Introduction 37 / 178
Graphical Display for Quantitative Data
() Introduction 38 / 178
Graphical Display for Quantitative Data
() Introduction 39 / 178
Graphical Display for Quantitative Data
() Introduction 40 / 178
Graphical Display for Quantitative Data
Example
() Introduction 41 / 178
Graphical Display for Quantitative Data
() Introduction 42 / 178
Measurement
Levels of measurement
() Introduction 43 / 178
Measurement
Stem-and-Leaf Diagrams
() Introduction 44 / 178
Measurement
Stem-and-Leaf Diagrams
() Introduction 44 / 178
Measurement
Example1
() Introduction 45 / 178
Measurement
Example2
() Introduction 46 / 178
Measurement
Sometimes a data set may contain too many stems, with each
stem containing only a few leaves. In such cases, we may want to
condense the stem and leaf display by grouping the stems.
() Introduction 47 / 178
Measurement
Sometimes a data set may contain too many stems, with each
stem containing only a few leaves. In such cases, we may want to
condense the stem and leaf display by grouping the stems.
() Introduction 47 / 178
Measurement
Example3
The following stem and leaf display is prepared for the number of
hours that 25 students spent working on computers during the
past month.
0 | 6
1 | 179
2 | 26
3 | 2478
4 | 15699
5 | 368
6 | 24457
7 |
8 | 56
() Introduction 48 / 178
Measurement
() Introduction 49 / 178
Measurement
() Introduction 49 / 178
Measurement
() Introduction 49 / 178
Measurement
() Introduction 49 / 178
Measurement
Example4
3 | 1123334478999
4 | 0001111112222233667
() Introduction 50 / 178