SlideShare una empresa de Scribd logo
1 de 13
Lecture 2
Topics: Histogram, Box-and-Whisker Plot or Box
Plot
SADAF SALEEM
Department of Computer Sciences
GIFT University, Pakistan
Course Title: Probability Theory
Course Code: MATH-313
Program: BS MATH
Semester: Spring 2023
Histogram
• Histogram is used for quantitative data is similar to the bar chart showing
the distribution of qualitative data.
• Horizontal axis is marked as classes
• Vertical axis is marked as class frequencies
• The heights of the bars are represent the class frequencies
• Class interval should be the same
• It look like this
Histogram
Example 1:
Below is the frequency distribution of the profits on vehicle sales last month at
the Applewood Auto Group. Construct a histogram.
Solution:
• The class frequencies are scaled along the vertical axis (Y-axis)
• either the class limits or the class midpoints along the horizontal axis.
Histogram
Example 2
Plot the histogram for the given data
Solution:
Histogram
Example 3:
Molly’s Candle Shop has several retail stores in the coastal areas of North and
South Carolina. Many of Molly’s customers ask her to ship their purchases.
The following chart shows the number of packages shipped per day for the
last 100 days.
a. What is this chart called?
b. What is the total number of frequencies?
c. What is the class interval?
d. What is the class frequency for the 10 up to 15 class?
e. What is the relative frequency of the 10 up to 15 class?
f. What is the midpoint of the 10 up to 15 class?
g. On how many days were there 25 or more packages shipped?
Histogram
Example 3:
Solution:
Histogram
Example 4:
What observations can you reach based on the information presented in the
histogram?
Solution:
we can make the following statement:
1. The profit from a vehicle ranged from about $200 up to about $3,400.
2. The profits are concentrated between $1,000 and $3,000. The profit on
157 vehicles, or 87 percent, was within this range.
3. The largest concentration, or highest frequency, is in the $1,800 up to
$2,20 class. The middle of this class is $2,000. So we say that the typical
profit on selling a vehicle is $2,000.
Histogram
Histogram Vs Bar Chart:
• Bar char are used to represent the frequency distribution of the qualitative
data. Histograms are used to represent the frequency distribution of
quantitative data.
Shape of Histogram:
• Symmetric: if it can be folded along a vertical axis so that the two sides
coincide.
• A distribution that lacks symmetry with respect to a vertical axis is said to be
skewed.
• skewed to the right: if has a long right tail and a much shorter left tail.
• skewed to the left: if has a long left tail and a much shorter right tail.
Box-and-Whisker Plot or Box Plot
• Box-and-Whisker Plot or Box Plot
• A box plot is a graphical display, based on quartiles, that helps us picture a
set of data. To construct a box plot, we need only five statistics: the
minimum value, Q1 (the first quartile), the median, Q3 (the third quartile),
and the maximum value. An example will help to explain.
• Steps to follow:
• Extract min and maximum value of the data
• Then find Q1, Q2 and Q3.
• Then plot the following shape and mark x-axis properly.
Box-and-Whisker Plot
Example 1
Construct the box and whisker plot for the following data
12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25
Solution
First, arrange the data in ascending order:
• Median (middle value) = 22
• Lower quartile (middle value of the lower half) = 12
• Upper quartile (middle value of the upper half) = 36
Box-and-Whisker Plot
Example 2:
Construct the box and whisker plot for the following data
12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25, 65
Solution:
First, arrange the data in ascending order:
Box-and-Whisker Plot
Plot: Example 2
SADAF SALEEM
Department of Computer Sciences
GIFT University, Pakistan

Más contenido relacionado

Similar a lecture 2 Slides.pptx

3.5 Exploratory Data Analysis
3.5 Exploratory Data Analysis3.5 Exploratory Data Analysis
3.5 Exploratory Data Analysis
mlong24
 
Quality Journey -- Box Plot.pdf
Quality Journey -- Box Plot.pdfQuality Journey -- Box Plot.pdf
Quality Journey -- Box Plot.pdf
NileshJajoo2
 
Chapter 2: Frequency Distribution and Graphs
Chapter 2: Frequency Distribution and GraphsChapter 2: Frequency Distribution and Graphs
Chapter 2: Frequency Distribution and Graphs
Mong Mara
 
Graphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptx
Graphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptxGraphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptx
Graphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptx
RanggaMasyhuriNuur
 
Algebra Alternative.pptx
Algebra Alternative.pptxAlgebra Alternative.pptx
Algebra Alternative.pptx
WillS36
 
Source of DATA
Source of DATASource of DATA
Source of DATA
Nahid Amin
 
Box And Whisker Plots
Box And Whisker PlotsBox And Whisker Plots
Box And Whisker Plots
WendiBrown
 

Similar a lecture 2 Slides.pptx (20)

Types of graphs
Types of graphsTypes of graphs
Types of graphs
 
3.5 Exploratory Data Analysis
3.5 Exploratory Data Analysis3.5 Exploratory Data Analysis
3.5 Exploratory Data Analysis
 
1.0 Descriptive statistics.pdf
1.0 Descriptive statistics.pdf1.0 Descriptive statistics.pdf
1.0 Descriptive statistics.pdf
 
Numerical and statistical methods new
Numerical and statistical methods newNumerical and statistical methods new
Numerical and statistical methods new
 
Data organization
Data organizationData organization
Data organization
 
Revisionf2
Revisionf2Revisionf2
Revisionf2
 
graphic representations in statistics
 graphic representations in statistics graphic representations in statistics
graphic representations in statistics
 
Quality Journey -- Box Plot.pdf
Quality Journey -- Box Plot.pdfQuality Journey -- Box Plot.pdf
Quality Journey -- Box Plot.pdf
 
Chapter 2: Frequency Distribution and Graphs
Chapter 2: Frequency Distribution and GraphsChapter 2: Frequency Distribution and Graphs
Chapter 2: Frequency Distribution and Graphs
 
1) Chapter#02 Presentation of Data.ppt
1) Chapter#02 Presentation of Data.ppt1) Chapter#02 Presentation of Data.ppt
1) Chapter#02 Presentation of Data.ppt
 
Bba 2001
Bba 2001Bba 2001
Bba 2001
 
Graphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptx
Graphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptxGraphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptx
Graphical Presentation of Data - Rangga Masyhuri Nuur LLU 27.pptx
 
Basic Concepts of Statistics - Lecture Notes
Basic Concepts of Statistics - Lecture NotesBasic Concepts of Statistics - Lecture Notes
Basic Concepts of Statistics - Lecture Notes
 
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
What is Descriptive Statistics and How Do You Choose the Right One for Enterp...
 
Algebra Alternative.pptx
Algebra Alternative.pptxAlgebra Alternative.pptx
Algebra Alternative.pptx
 
Source of DATA
Source of DATASource of DATA
Source of DATA
 
Chapter Two (PART ONE).pptx
Chapter Two (PART ONE).pptxChapter Two (PART ONE).pptx
Chapter Two (PART ONE).pptx
 
Box And Whisker Plots
Box And Whisker PlotsBox And Whisker Plots
Box And Whisker Plots
 
Data analysis, statistics, and probability review
Data analysis, statistics, and probability reviewData analysis, statistics, and probability review
Data analysis, statistics, and probability review
 
Lecture-2 Descriptive Statistics-Box Plot Descriptive Measures.pdf
Lecture-2 Descriptive Statistics-Box Plot  Descriptive Measures.pdfLecture-2 Descriptive Statistics-Box Plot  Descriptive Measures.pdf
Lecture-2 Descriptive Statistics-Box Plot Descriptive Measures.pdf
 

Último

Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Sérgio Sacani
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Silpa
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
levieagacer
 
Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.
Silpa
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
Silpa
 

Último (20)

Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.
 
Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfChemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdf
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
Atp synthase , Atp synthase complex 1 to 4.
Atp synthase , Atp synthase complex 1 to 4.Atp synthase , Atp synthase complex 1 to 4.
Atp synthase , Atp synthase complex 1 to 4.
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
 
Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptx
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
 
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 

lecture 2 Slides.pptx

  • 1. Lecture 2 Topics: Histogram, Box-and-Whisker Plot or Box Plot SADAF SALEEM Department of Computer Sciences GIFT University, Pakistan Course Title: Probability Theory Course Code: MATH-313 Program: BS MATH Semester: Spring 2023
  • 2. Histogram • Histogram is used for quantitative data is similar to the bar chart showing the distribution of qualitative data. • Horizontal axis is marked as classes • Vertical axis is marked as class frequencies • The heights of the bars are represent the class frequencies • Class interval should be the same • It look like this
  • 3. Histogram Example 1: Below is the frequency distribution of the profits on vehicle sales last month at the Applewood Auto Group. Construct a histogram. Solution: • The class frequencies are scaled along the vertical axis (Y-axis) • either the class limits or the class midpoints along the horizontal axis.
  • 4. Histogram Example 2 Plot the histogram for the given data Solution:
  • 5. Histogram Example 3: Molly’s Candle Shop has several retail stores in the coastal areas of North and South Carolina. Many of Molly’s customers ask her to ship their purchases. The following chart shows the number of packages shipped per day for the last 100 days. a. What is this chart called? b. What is the total number of frequencies? c. What is the class interval? d. What is the class frequency for the 10 up to 15 class? e. What is the relative frequency of the 10 up to 15 class? f. What is the midpoint of the 10 up to 15 class? g. On how many days were there 25 or more packages shipped?
  • 7. Histogram Example 4: What observations can you reach based on the information presented in the histogram? Solution: we can make the following statement: 1. The profit from a vehicle ranged from about $200 up to about $3,400. 2. The profits are concentrated between $1,000 and $3,000. The profit on 157 vehicles, or 87 percent, was within this range. 3. The largest concentration, or highest frequency, is in the $1,800 up to $2,20 class. The middle of this class is $2,000. So we say that the typical profit on selling a vehicle is $2,000.
  • 8. Histogram Histogram Vs Bar Chart: • Bar char are used to represent the frequency distribution of the qualitative data. Histograms are used to represent the frequency distribution of quantitative data. Shape of Histogram: • Symmetric: if it can be folded along a vertical axis so that the two sides coincide. • A distribution that lacks symmetry with respect to a vertical axis is said to be skewed. • skewed to the right: if has a long right tail and a much shorter left tail. • skewed to the left: if has a long left tail and a much shorter right tail.
  • 9. Box-and-Whisker Plot or Box Plot • Box-and-Whisker Plot or Box Plot • A box plot is a graphical display, based on quartiles, that helps us picture a set of data. To construct a box plot, we need only five statistics: the minimum value, Q1 (the first quartile), the median, Q3 (the third quartile), and the maximum value. An example will help to explain. • Steps to follow: • Extract min and maximum value of the data • Then find Q1, Q2 and Q3. • Then plot the following shape and mark x-axis properly.
  • 10. Box-and-Whisker Plot Example 1 Construct the box and whisker plot for the following data 12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25 Solution First, arrange the data in ascending order: • Median (middle value) = 22 • Lower quartile (middle value of the lower half) = 12 • Upper quartile (middle value of the upper half) = 36
  • 11. Box-and-Whisker Plot Example 2: Construct the box and whisker plot for the following data 12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25, 65 Solution: First, arrange the data in ascending order:
  • 13. SADAF SALEEM Department of Computer Sciences GIFT University, Pakistan