SlideShare a Scribd company logo
Probability and Statistics for Engineers
STAT 301
Presentation of Data
Central Tendency: Mode, Median,
Mean
Dispersion: Variance, Standard
Deviation
Chapter 1: lesson 2
Presentation of Data
• After the data have been collected, the main
tasks a statistician must accomplish are the
organization and presentation of the data
. The organization must be done in a meaningful
way and the presentation should be such that an
interested reader of the study can understand
the data distribution.
1.Frequency Table
• The researches organizes the raw data by using frequency
distribution.
• The frequency is the number of values in a specific class of
data.
• The frequency of a data value is the number of times it
occurs. A frequency table shows the frequency of each
data value. If the data is divided into intervals, the
table shows the frequency of each interval.
Example 1: Making a Frequency
Table
❖ n : total of frequency
❖ The interval must equal width.
❖Use for qualitative and discrete data.
❖You should cover all values and categories.
2.Histogram
• A histogram is a bar graph used to display the frequency of data
divided into equal intervals. The bars must be of equal width and
should touch, but not overlap.
• Histogram: A graph in which the classes are marked on the
horizontal axis and the class frequencies on the vertical axis. The
class frequencies are represented by the heights of the bars and
the bars are drawn adjacent to each other.
Example 1: Making a Histogram
Use the frequency table in Example 2 to make a histogram.
Step 1 Use the scale and interval
from the frequency table.
Step 2 Draw a bar for the number
of classes in each interval.
Number
Enrolled
Frequency
1 – 10 1
11 – 20 4
21 – 30 5
31 – 40 2
Enrollment in Western
Civilization Classes
All bars should be the same
width. The bars should touch,
but not overlap.
Example 1 Continued
Step 3 Title the graph
and label the horizontal
and vertical scales.
Example 2
Make a histogram for the number of days of
Maria’s last 15 vacations.
4, 8, 6, 7, 5, 4, 10, 6, 7, 14, 12, 8, 10, 15, 12
Interval Frequency
4 – 6 5
7 – 9 4
10 – 12 4
13 – 15 2
Number of Vacation Days
Step 1 Use the scale and interval from the frequency table.
Example 2 Continued
Step 2 Draw a bar for the number of scores in each
interval.
Step 3 Title the graph
and label the horizontal
and vertical scales.
Vacations
3. Bar chart and frequency
polygon
Bar chart
❖The scores/categories along the x-axis and the frequencies on the
y-axis.
❖When data discrete and the frequency refer to individual values we
use bar chart.
❖The bars do not touch (unlike a histogram).
❖The scores are not ordered.
❖The heights correspond to the number of times the score occurs.
The following table represents distribution of students
according to their faculties in one of universities:
Example
Faculty Students
Science 150
Medicine 100
Arts 250
Education 300
Economics 200
Total 1000
Example
3. Bar chart and frequency
polygon
frequency polygon
❖The scores/categories along the x-axis and
the frequencies on the
y-axis.
❖A frequency polygon consists of line
segments connecting the points formed
by the class midpoint and the class
frequency.
❖A frequency polygon is similar to a
histogram, except line segments are used
instead of bars – the points formed by the
intersections of the class midpoints and
the class frequencies.
Draw a polygon for the following data
Example
To draw polygon we need to compute classes midpoints
Example
Compare the Frequency Polygon
to the Histogram
To turn a histogram into a frequency polygon, just draw a line
from the top center of each bar
Pie chart
pie chart (or a circle graph) is a circular chart divided into
sectors, illustrating numerical proportion.
A pie chart is a circle that is divided into sections according to
the percentage of frequencies in each category of the
distribution.
4.Stem and Leaf Plots
• A simple graph for quantitative data
• Uses the actual numerical values of each data
point.
–Divide each measurement into two parts: the stem
and the leaf.
–List the stems in a column, with a vertical line to
their right.
–For each measurement, record the leaf portion in the
same row as its matching stem.
–Order the leaves from lowest to highest in each
stem.
–The range is the difference between the greatest and
the least value.
4.Stem and Leaf Plots
• To write 42 in a stem-and-leaf plot, write
each digit in a separate column.
Example
The prices ($) of 18 brands of walking shoes:
90 70 70 70 75 70 65 68 60
74 70 95 75 70 68 65 40 65
4 0
5
6 5 8 0 8 5 5
7 0 0 0 5 0 4 0 5 0
8
9 0 5
4 0
5
6 0 5 5 5 8 8
7 0 0 0 0 0 0 4 5 5
8
9 0 5
Reorder
Leaf unit = 1
stem unit = 10
n= 18
least value =40
greatest value=95
Range=95-40=55
Example : Creating Stem-and-Leaf Plots
Use the data in the table to make a
stem-and-leaf plot.
Test Scores
75 86 83 91 94
88 84 99 79 86
What is the least value?
What is the greatest value?
n=?
Leaf unit?
Stream unit?
Range?
Exercise
Use the data in the table to make a
stem-and-leaf plot.
Find the least value, greatest value,
range of the data.
Test Scores
72 88 64 79 61
84 83 76 74 67
1. Qualitative or categorical data
a. Pie charts
b. Bar charts
2. Quantitative data
a. Pie and bar charts
b. Stem and leaf
Presentation of Data
central tendency
Three measures of central tendency are commonly used in statistical
analysis - the mode, the median, and the mean.
The data (observations) often tend to be concentrated around the
center of the data.
Some measures of location are: the mean, median and mode.
These measures are considered as representatives (or typical values)
of the data.
Arithmetic Mean or Average
• The mean of a set of measurements is the
sum of the measurements divided by the
total number of measurements.
where n = number of measurements
The Sample Mean:
If the list is a statistical population, then the
mean of that population is called a
population mean ,denoted by µ.
If the list is a statistical sample, we call the
resulting statistic a sample mean. denoted
by .
27
Example
•The set: 2, 9, 1 1, 5, 6
If we were able to enumerate the whole
population, the population mean would be
called μ .
Arithmetic Mean or Average
• Finding the Mean?
If X = {3, 5, 10, 4, 3}
X = (3 + 5 + 10 + 4 + 3) / 5
= 25 / 5
= 5
• The median of a set of measurements is
the middle measurement when the
measurements are ranked from smallest
to largest.
• The position of the median is
Median
.5(n + 1)
once the measurements have been
ordered.
Example
• The set: 2, 4, 9, 8, 6, 5, 3 n = 7
• Sort: 2, 3, 4, 5, 6, 8, 9
• Position: .5(n + 1) = .5(7 + 1) = 4th
Median = 4th
largest measurement
• The set: 2, 4, 9, 8, 6, 5 n = 6
• Sort: 2, 4, 5, 6, 8, 9
• Position: .5(n + 1) = .5(6 + 1) = 3.5th
Median = (5 + 6)/2 = 5.5 — average of the 3rd
and 4th
measurements
Mode
• The mode is the measurement which occurs
most frequently.
• The set: 2, 4, 9, 8, 8, 5, 3
– The mode is 8, which occurs twice
• The set: 2, 2, 9, 8, 8, 5, 3
– There are two modes—8 and 2 (bimodal)
• The set: 2, 4, 9, 8, 5, 3
– There is no mode (each value is unique).
Example
• Mean?
• Median?
• Mode?
The number of quarts of milk purchased by
25 households:
0 0 1 1 1 1 1 2 2 2 2 2 2 2 2
2 3 3 3 3 3 4 4 4 5
Exercise
• Find the Median , mode, mean?
❖ 4 5 6 6 7 8 9 10 12
❖ 5 6 6 7 8 9 10 12
❖ 4, 5, 8, 7
•For what value of X will 8 and X have the same
sample mean as 27 and 5?
Solution:
First, find the mean of 27 and 5:
Now, find the X value, knowing that the sample
mean of X and 8 must be 16 :
cross multiply and solve: 32 = X + 8 X
=24 35
Exercise
• On his first 5 Stat. tests, Omer received the
following marks : 72, 86, 92, 63, and 77. What
test mark must Omer earn on his sixth test so
that his average for all six tests will be 80? .
• Solution
Set up an equation to represent the situation.
Omer must get a 90 on the sixth test.
X= 90
36
Exercise
37
Measures of Dispersion
The variation or dispersion in a set of data refers to
how spread out the observations are from each
other.
The variation is small when the observations are
close together. There is no variation if the
observations are the same.
Measures of dispersion are important for describing
the spread of the data, or its variation around a
central value . or express quantitatively the degree of
variation or dispersion of values.
There are various methods that can be used to
measure the dispersion of a data set, each with its
own set of advantages and disadvantages.
38
Measures of Dispersion
The Range
The difference between the largest and smallest
sample values
If X1,X2,………..,Xn are the values of
observations in a sample then range is given by:
39
find The range of (12, 24, 19, 20, 7) .
Solution:
40
The Range (Example):
One of the simplest measures of variability to calculate.
Depends only on extreme values and provides no
information about how the remaining data is distributed.
Mean Absolute
Deviation(M.A.D.)
The key concept for describing normal distributions
and making predictions from them is called
deviation from the mean.
We could just calculate the average distance between each
observation and the mean.
• We must take the absolute value of the distance, otherwise
they would just cancel out to zero!
Formula:
Mean Deviation: An Example
1. Compute X (Average)
2. Compute X – X and take
the Absolute Value to get
Absolute Deviations
3. Sum the Absolute
Deviations
4. Divide the sum of the
absolute deviations by N
X – Xi Abs. Dev.
7 – 6 1
7 – 10 3
7 – 5 2
7 – 4 3
7 – 9 2
7 – 8 1
Data: X = {6, 10, 5, 4, 9, 8} X = 42 / 6 = 7
Total: 12 12 / 6 = 2
If X1,X2,………..,XN are the population values, then the
population variance is:
43
The Population Variance:
Using summation form:
Where μ is population mean
If X1,X2,………..,Xn are the population values, then the
sample variance is:
44
The Sample Variance:
Using summation form:
45
The Sample Variance:
Where:
is the sample mean.
(n −1) : is called the degrees of freedom (df) associated with
the sample variance S2.
Note:
46
The Sample Standard Deviation :
The standard deviation is another
measure of variation. It is the square
root of the variance, i.e., it is:
Compute the sample variance and standard
deviation of the following observations
(ages in year): 10, 21, 33, 53, 54.
Example 1 :
Solution
(year)
Example 1 :
The sample standard deviation is:
(It is simple and more accurate)
The Sample Variance(another formula):
Another Formula for Calculating S2
:
10 21 33 53 54
100 441 1089 2809 2916
The Sample Variance(another formula):
For the previous Example,
Calculate the Sample
Variance
5 -4 16
12 3 9
6 -3 9
8 -1 1
14 5 25
Sum 45 0 60
Use the Definition Formula:
Exercise
• Compute the Range, sample variance
and standard deviation of the following
observations :5,12,6,8,14
5 25
12 144
6 36
8 64
14 196
Sum 45 465
Exercise
InterQuartile Range (1/7)
(The Range of the middle 50% of scores)
IQR = Q3 – Q1
What are Q3 and Q1?
Q1 is the lower quartile of 25th
percentile.
Q3 is the upper quartile of 75th
percentile.
Example 1
1, 3, 5, 6, 7, 8, 8
Median = 6
Q3 =
Middle of
top half.
8 Q1 =
Middle of
lower half.
3
IQR = Q3 - Q1
= 8 - 3
= 5
Inter-quartile Range
Example 2
2, 3, 6, 6, 7, 8.
Median =6
Q3 =
Middle of
top half.
7 Q1 =
Middle of
lower half.
3 IQR = Q3 - Q1
= 7 - 3
= 4
Example 3
2, 3, 5, 6, 7, 9, 9, 10.
Median =6.5
Q3 =
Middle of
top half.
9 Q1 =
Middle of
lower half.
4 IQR = Q3 - Q1
= 9 - 4
= 5
Inter-quartile Range and Dot Plots
0 1 2 3 4 5 6 7 8
Median
Q1 Q3
IQR = Q3 – Q1
= 5 – 2
= 3
Lower
Quartile
= 5½
Q1
Upper
Quartile
= 9
Q3
Median
= 8
Q2
4 5 6 7 8 9 10 11 12
4, 4, 5, 6, 8, 8, 8, 9, 9, 9, 10, 12
Example 1: Draw a Box plot for the data below
Drawing a Box Plot.
Upper
Quartile
= 10
Q3
Lower
Quartile
= 4
Q1
Median
= 8
Q2
3, 4, 4, 6, 8, 8, 8, 9, 10, 10, 15,
Example 2: Draw a Box plot for the data below
Drawing a Box Plot.
3 4 5 6 7 8 9 10 11 12 13 14 15
Question: Stuart recorded the heights in cm of boys in his
class as shown below. Draw a box plot for this data.
Drawing a Box Plot.
137, 148, 155, 158, 165, 166, 166, 171, 171, 173, 175, 180, 184, 186, 186
Upper
Quartile
= 180
Qu
Lower
Quartile
= 158
QL
Median
= 171
Q2
Question: Stuart recorded the heights in cm of boys in his
class as shown below. Draw a box plot for this data.
Drawing a Box Plot.
137, 148, 155, 158, 165, 166, 166, 171, 171, 173, 175, 180, 184, 186, 186
130 140 150 160 170 180 190
cm
Exercises
Exercises
Exercises
Exercises
Exercises

More Related Content

PPTX
Lesson3 lpart one - Measures mean [Autosaved].pptx
PPTX
Lesson2 lecture two in Measures mean.pptx
PDF
Lesson2 - lecture two Measures mean.pdf
PDF
Biostatistic ( descriptive statistics) MOHS
PPTX
Basic biostatistics dr.eezn
PPTX
Educational Statistics with Software Application.pptx
PPT
Statistics.ppt
PPTX
Health statics chapter three.pptx for students
Lesson3 lpart one - Measures mean [Autosaved].pptx
Lesson2 lecture two in Measures mean.pptx
Lesson2 - lecture two Measures mean.pdf
Biostatistic ( descriptive statistics) MOHS
Basic biostatistics dr.eezn
Educational Statistics with Software Application.pptx
Statistics.ppt
Health statics chapter three.pptx for students

Similar to Lesson2 - chapter two Measures of Tendency.pptx.pdf (20)

PPT
Class1.ppt Class StructureBasics of Statistics
PPT
STATISTICS BASICS INCLUDING DESCRIPTIVE STATISTICS
PPT
Class1.ppt
PPT
Class1.ppt
PPT
Introduction to Statistics - Basics of Data - Class 1
PPT
Introduction to statistics covering the basics
PPT
Class1.ppt
PPT
Class1.ppt
PDF
Chapter 4 MMW.pdf
PPTX
Biostatistics mean median mode unit 1.pptx
PPT
Statistics
PDF
Day2 session i&ii - spss
PDF
1.0 Descriptive statistics.pdf
PPTX
Biostatistics_descriptive stats.pptx
PPTX
RVO-STATISTICS_Statistics_Introduction To Statistics IBBI.pptx
PPT
Statistical Method for engineers and science
PPT
presentation
PPT
Student’s presentation
PPTX
Descriptive Statistics.pptx
PPTX
CO1_Session_6 Statistical Angalysis.pptx
Class1.ppt Class StructureBasics of Statistics
STATISTICS BASICS INCLUDING DESCRIPTIVE STATISTICS
Class1.ppt
Class1.ppt
Introduction to Statistics - Basics of Data - Class 1
Introduction to statistics covering the basics
Class1.ppt
Class1.ppt
Chapter 4 MMW.pdf
Biostatistics mean median mode unit 1.pptx
Statistics
Day2 session i&ii - spss
1.0 Descriptive statistics.pdf
Biostatistics_descriptive stats.pptx
RVO-STATISTICS_Statistics_Introduction To Statistics IBBI.pptx
Statistical Method for engineers and science
presentation
Student’s presentation
Descriptive Statistics.pptx
CO1_Session_6 Statistical Angalysis.pptx
Ad

More from hebaelkouly (20)

PDF
Lesson3 chapter 3Sample space events.pptx.pdf
PDF
Lesson1- chapter one Data Definitions.pptx.pdf
PDF
keep215 lecture of satstical type of data .pdf
PDF
Grouped Data Calculation type of data .pdf
PDF
Lesson2 - chapter 2 Measures of Tendency.pptx.pdf
PDF
Lesson one Data Definitions type .pptx.pdf
PDF
book print satatistical of all chapter .pdf
PDF
ch1-2 principle of statistical and data .pdf
PPTX
Lesson5 chapterfive Random Variable.pptx
PDF
Lesson4 Probability of an event [Autosaved].pdf
PDF
Lessonpart 2 lesson 3 Sample space events.pdf
PPTX
Lesson1lecture 1 in Data Definitions.pptx
PPTX
Lesson3 part one Sample space events.pptx
PPTX
Lesson1 lecture one Data Definitions.pptx
PPTX
Lesson6 Mathmatical Expectations, mean of rv.pptx
PPTX
Lessonfour -Probability of an event.pptx
PDF
Lesson4 Probability of an event.pptx.pdf
PDF
Lessontwo - Measures of Tendency.pptx.pdf
PDF
Lessonone one - Data Definitions.pptx.pdf
PDF
Lessonthree Sample space events.pptx.pdf
Lesson3 chapter 3Sample space events.pptx.pdf
Lesson1- chapter one Data Definitions.pptx.pdf
keep215 lecture of satstical type of data .pdf
Grouped Data Calculation type of data .pdf
Lesson2 - chapter 2 Measures of Tendency.pptx.pdf
Lesson one Data Definitions type .pptx.pdf
book print satatistical of all chapter .pdf
ch1-2 principle of statistical and data .pdf
Lesson5 chapterfive Random Variable.pptx
Lesson4 Probability of an event [Autosaved].pdf
Lessonpart 2 lesson 3 Sample space events.pdf
Lesson1lecture 1 in Data Definitions.pptx
Lesson3 part one Sample space events.pptx
Lesson1 lecture one Data Definitions.pptx
Lesson6 Mathmatical Expectations, mean of rv.pptx
Lessonfour -Probability of an event.pptx
Lesson4 Probability of an event.pptx.pdf
Lessontwo - Measures of Tendency.pptx.pdf
Lessonone one - Data Definitions.pptx.pdf
Lessonthree Sample space events.pptx.pdf
Ad

Recently uploaded (20)

PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Sustainable Sites - Green Building Construction
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Geodesy 1.pptx...............................................
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
PPT on Performance Review to get promotions
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
web development for engineering and engineering
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Sustainable Sites - Green Building Construction
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Geodesy 1.pptx...............................................
Model Code of Practice - Construction Work - 21102022 .pdf
additive manufacturing of ss316l using mig welding
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPT on Performance Review to get promotions
Arduino robotics embedded978-1-4302-3184-4.pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Structs to JSON How Go Powers REST APIs.pdf
Foundation to blockchain - A guide to Blockchain Tech
UNIT 4 Total Quality Management .pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
web development for engineering and engineering

Lesson2 - chapter two Measures of Tendency.pptx.pdf

  • 1. Probability and Statistics for Engineers STAT 301
  • 2. Presentation of Data Central Tendency: Mode, Median, Mean Dispersion: Variance, Standard Deviation Chapter 1: lesson 2
  • 3. Presentation of Data • After the data have been collected, the main tasks a statistician must accomplish are the organization and presentation of the data . The organization must be done in a meaningful way and the presentation should be such that an interested reader of the study can understand the data distribution.
  • 4. 1.Frequency Table • The researches organizes the raw data by using frequency distribution. • The frequency is the number of values in a specific class of data. • The frequency of a data value is the number of times it occurs. A frequency table shows the frequency of each data value. If the data is divided into intervals, the table shows the frequency of each interval.
  • 5. Example 1: Making a Frequency Table ❖ n : total of frequency ❖ The interval must equal width. ❖Use for qualitative and discrete data. ❖You should cover all values and categories.
  • 6. 2.Histogram • A histogram is a bar graph used to display the frequency of data divided into equal intervals. The bars must be of equal width and should touch, but not overlap. • Histogram: A graph in which the classes are marked on the horizontal axis and the class frequencies on the vertical axis. The class frequencies are represented by the heights of the bars and the bars are drawn adjacent to each other.
  • 7. Example 1: Making a Histogram Use the frequency table in Example 2 to make a histogram. Step 1 Use the scale and interval from the frequency table. Step 2 Draw a bar for the number of classes in each interval. Number Enrolled Frequency 1 – 10 1 11 – 20 4 21 – 30 5 31 – 40 2 Enrollment in Western Civilization Classes All bars should be the same width. The bars should touch, but not overlap.
  • 8. Example 1 Continued Step 3 Title the graph and label the horizontal and vertical scales.
  • 9. Example 2 Make a histogram for the number of days of Maria’s last 15 vacations. 4, 8, 6, 7, 5, 4, 10, 6, 7, 14, 12, 8, 10, 15, 12 Interval Frequency 4 – 6 5 7 – 9 4 10 – 12 4 13 – 15 2 Number of Vacation Days Step 1 Use the scale and interval from the frequency table.
  • 10. Example 2 Continued Step 2 Draw a bar for the number of scores in each interval. Step 3 Title the graph and label the horizontal and vertical scales. Vacations
  • 11. 3. Bar chart and frequency polygon Bar chart ❖The scores/categories along the x-axis and the frequencies on the y-axis. ❖When data discrete and the frequency refer to individual values we use bar chart. ❖The bars do not touch (unlike a histogram). ❖The scores are not ordered. ❖The heights correspond to the number of times the score occurs.
  • 12. The following table represents distribution of students according to their faculties in one of universities: Example Faculty Students Science 150 Medicine 100 Arts 250 Education 300 Economics 200 Total 1000
  • 14. 3. Bar chart and frequency polygon frequency polygon ❖The scores/categories along the x-axis and the frequencies on the y-axis. ❖A frequency polygon consists of line segments connecting the points formed by the class midpoint and the class frequency. ❖A frequency polygon is similar to a histogram, except line segments are used instead of bars – the points formed by the intersections of the class midpoints and the class frequencies.
  • 15. Draw a polygon for the following data Example To draw polygon we need to compute classes midpoints
  • 17. Compare the Frequency Polygon to the Histogram To turn a histogram into a frequency polygon, just draw a line from the top center of each bar
  • 18. Pie chart pie chart (or a circle graph) is a circular chart divided into sectors, illustrating numerical proportion. A pie chart is a circle that is divided into sections according to the percentage of frequencies in each category of the distribution.
  • 19. 4.Stem and Leaf Plots • A simple graph for quantitative data • Uses the actual numerical values of each data point. –Divide each measurement into two parts: the stem and the leaf. –List the stems in a column, with a vertical line to their right. –For each measurement, record the leaf portion in the same row as its matching stem. –Order the leaves from lowest to highest in each stem. –The range is the difference between the greatest and the least value.
  • 20. 4.Stem and Leaf Plots • To write 42 in a stem-and-leaf plot, write each digit in a separate column.
  • 21. Example The prices ($) of 18 brands of walking shoes: 90 70 70 70 75 70 65 68 60 74 70 95 75 70 68 65 40 65 4 0 5 6 5 8 0 8 5 5 7 0 0 0 5 0 4 0 5 0 8 9 0 5 4 0 5 6 0 5 5 5 8 8 7 0 0 0 0 0 0 4 5 5 8 9 0 5 Reorder Leaf unit = 1 stem unit = 10 n= 18 least value =40 greatest value=95 Range=95-40=55
  • 22. Example : Creating Stem-and-Leaf Plots Use the data in the table to make a stem-and-leaf plot. Test Scores 75 86 83 91 94 88 84 99 79 86 What is the least value? What is the greatest value? n=? Leaf unit? Stream unit? Range?
  • 23. Exercise Use the data in the table to make a stem-and-leaf plot. Find the least value, greatest value, range of the data. Test Scores 72 88 64 79 61 84 83 76 74 67
  • 24. 1. Qualitative or categorical data a. Pie charts b. Bar charts 2. Quantitative data a. Pie and bar charts b. Stem and leaf Presentation of Data
  • 25. central tendency Three measures of central tendency are commonly used in statistical analysis - the mode, the median, and the mean. The data (observations) often tend to be concentrated around the center of the data. Some measures of location are: the mean, median and mode. These measures are considered as representatives (or typical values) of the data.
  • 26. Arithmetic Mean or Average • The mean of a set of measurements is the sum of the measurements divided by the total number of measurements. where n = number of measurements
  • 27. The Sample Mean: If the list is a statistical population, then the mean of that population is called a population mean ,denoted by µ. If the list is a statistical sample, we call the resulting statistic a sample mean. denoted by . 27
  • 28. Example •The set: 2, 9, 1 1, 5, 6 If we were able to enumerate the whole population, the population mean would be called μ .
  • 29. Arithmetic Mean or Average • Finding the Mean? If X = {3, 5, 10, 4, 3} X = (3 + 5 + 10 + 4 + 3) / 5 = 25 / 5 = 5
  • 30. • The median of a set of measurements is the middle measurement when the measurements are ranked from smallest to largest. • The position of the median is Median .5(n + 1) once the measurements have been ordered.
  • 31. Example • The set: 2, 4, 9, 8, 6, 5, 3 n = 7 • Sort: 2, 3, 4, 5, 6, 8, 9 • Position: .5(n + 1) = .5(7 + 1) = 4th Median = 4th largest measurement • The set: 2, 4, 9, 8, 6, 5 n = 6 • Sort: 2, 4, 5, 6, 8, 9 • Position: .5(n + 1) = .5(6 + 1) = 3.5th Median = (5 + 6)/2 = 5.5 — average of the 3rd and 4th measurements
  • 32. Mode • The mode is the measurement which occurs most frequently. • The set: 2, 4, 9, 8, 8, 5, 3 – The mode is 8, which occurs twice • The set: 2, 2, 9, 8, 8, 5, 3 – There are two modes—8 and 2 (bimodal) • The set: 2, 4, 9, 8, 5, 3 – There is no mode (each value is unique).
  • 33. Example • Mean? • Median? • Mode? The number of quarts of milk purchased by 25 households: 0 0 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 4 4 4 5
  • 34. Exercise • Find the Median , mode, mean? ❖ 4 5 6 6 7 8 9 10 12 ❖ 5 6 6 7 8 9 10 12 ❖ 4, 5, 8, 7
  • 35. •For what value of X will 8 and X have the same sample mean as 27 and 5? Solution: First, find the mean of 27 and 5: Now, find the X value, knowing that the sample mean of X and 8 must be 16 : cross multiply and solve: 32 = X + 8 X =24 35 Exercise
  • 36. • On his first 5 Stat. tests, Omer received the following marks : 72, 86, 92, 63, and 77. What test mark must Omer earn on his sixth test so that his average for all six tests will be 80? . • Solution Set up an equation to represent the situation. Omer must get a 90 on the sixth test. X= 90 36 Exercise
  • 37. 37 Measures of Dispersion The variation or dispersion in a set of data refers to how spread out the observations are from each other. The variation is small when the observations are close together. There is no variation if the observations are the same.
  • 38. Measures of dispersion are important for describing the spread of the data, or its variation around a central value . or express quantitatively the degree of variation or dispersion of values. There are various methods that can be used to measure the dispersion of a data set, each with its own set of advantages and disadvantages. 38 Measures of Dispersion
  • 39. The Range The difference between the largest and smallest sample values If X1,X2,………..,Xn are the values of observations in a sample then range is given by: 39
  • 40. find The range of (12, 24, 19, 20, 7) . Solution: 40 The Range (Example): One of the simplest measures of variability to calculate. Depends only on extreme values and provides no information about how the remaining data is distributed.
  • 41. Mean Absolute Deviation(M.A.D.) The key concept for describing normal distributions and making predictions from them is called deviation from the mean. We could just calculate the average distance between each observation and the mean. • We must take the absolute value of the distance, otherwise they would just cancel out to zero! Formula:
  • 42. Mean Deviation: An Example 1. Compute X (Average) 2. Compute X – X and take the Absolute Value to get Absolute Deviations 3. Sum the Absolute Deviations 4. Divide the sum of the absolute deviations by N X – Xi Abs. Dev. 7 – 6 1 7 – 10 3 7 – 5 2 7 – 4 3 7 – 9 2 7 – 8 1 Data: X = {6, 10, 5, 4, 9, 8} X = 42 / 6 = 7 Total: 12 12 / 6 = 2
  • 43. If X1,X2,………..,XN are the population values, then the population variance is: 43 The Population Variance: Using summation form: Where μ is population mean
  • 44. If X1,X2,………..,Xn are the population values, then the sample variance is: 44 The Sample Variance: Using summation form:
  • 45. 45 The Sample Variance: Where: is the sample mean. (n −1) : is called the degrees of freedom (df) associated with the sample variance S2. Note:
  • 46. 46 The Sample Standard Deviation : The standard deviation is another measure of variation. It is the square root of the variance, i.e., it is:
  • 47. Compute the sample variance and standard deviation of the following observations (ages in year): 10, 21, 33, 53, 54. Example 1 : Solution (year)
  • 48. Example 1 : The sample standard deviation is:
  • 49. (It is simple and more accurate) The Sample Variance(another formula): Another Formula for Calculating S2 :
  • 50. 10 21 33 53 54 100 441 1089 2809 2916 The Sample Variance(another formula): For the previous Example,
  • 51. Calculate the Sample Variance 5 -4 16 12 3 9 6 -3 9 8 -1 1 14 5 25 Sum 45 0 60 Use the Definition Formula:
  • 52. Exercise • Compute the Range, sample variance and standard deviation of the following observations :5,12,6,8,14
  • 53. 5 25 12 144 6 36 8 64 14 196 Sum 45 465 Exercise
  • 54. InterQuartile Range (1/7) (The Range of the middle 50% of scores) IQR = Q3 – Q1 What are Q3 and Q1? Q1 is the lower quartile of 25th percentile. Q3 is the upper quartile of 75th percentile. Example 1 1, 3, 5, 6, 7, 8, 8 Median = 6 Q3 = Middle of top half. 8 Q1 = Middle of lower half. 3 IQR = Q3 - Q1 = 8 - 3 = 5
  • 55. Inter-quartile Range Example 2 2, 3, 6, 6, 7, 8. Median =6 Q3 = Middle of top half. 7 Q1 = Middle of lower half. 3 IQR = Q3 - Q1 = 7 - 3 = 4 Example 3 2, 3, 5, 6, 7, 9, 9, 10. Median =6.5 Q3 = Middle of top half. 9 Q1 = Middle of lower half. 4 IQR = Q3 - Q1 = 9 - 4 = 5
  • 56. Inter-quartile Range and Dot Plots 0 1 2 3 4 5 6 7 8 Median Q1 Q3 IQR = Q3 – Q1 = 5 – 2 = 3
  • 57. Lower Quartile = 5½ Q1 Upper Quartile = 9 Q3 Median = 8 Q2 4 5 6 7 8 9 10 11 12 4, 4, 5, 6, 8, 8, 8, 9, 9, 9, 10, 12 Example 1: Draw a Box plot for the data below Drawing a Box Plot.
  • 58. Upper Quartile = 10 Q3 Lower Quartile = 4 Q1 Median = 8 Q2 3, 4, 4, 6, 8, 8, 8, 9, 10, 10, 15, Example 2: Draw a Box plot for the data below Drawing a Box Plot. 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 59. Question: Stuart recorded the heights in cm of boys in his class as shown below. Draw a box plot for this data. Drawing a Box Plot. 137, 148, 155, 158, 165, 166, 166, 171, 171, 173, 175, 180, 184, 186, 186
  • 60. Upper Quartile = 180 Qu Lower Quartile = 158 QL Median = 171 Q2 Question: Stuart recorded the heights in cm of boys in his class as shown below. Draw a box plot for this data. Drawing a Box Plot. 137, 148, 155, 158, 165, 166, 166, 171, 171, 173, 175, 180, 184, 186, 186 130 140 150 160 170 180 190 cm