SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
1. Mean, Median and Mode
2. First Quantile, third Quantile and
Interquantile Range.
Lecture 2 – Grouped Data
Calculation
Mean – Grouped Data
Number
of order
f
10 – 12
13 – 15
16 – 18
19 – 21
4
12
20
14
n = 50
Number
of order
f x fx
10 – 12
13 – 15
16 – 18
19 – 21
4
12
20
14
11
14
17
20
44
168
340
280
n = 50 = 832
fx 832
x = = = 16.64
n 50
∑
Example: The following table gives the frequency distribution of the number
of orders received each day during the past 50 days at the office of a mail-order
company. Calculate the mean.
Solution:
X is the midpoint of the
class. It is adding the class
limits and divide by 2.
Median and Interquartile Range
– Grouped Data
Step 1: Construct the cumulative frequency distribution.
Step 2: Decide the class that contain the median.
Class Median is the first class with the value of cumulative
frequency equal at least n/2.
Step 3: Find the median by using the following formula:
M e d ia n
⎛ ⎞
⎜ ⎟
⎜ ⎟
⎜ ⎟
⎝ ⎠
m
m
n
- F
2
= L + i
f
m
L
m
f
Where:
n = the total frequency
F = the cumulative frequency before class median
i = the class width
= the lower boundary of the class median
= the frequency of the class median
Time to travel to work Frequency
1 – 10
11 – 20
21 – 30
31 – 40
41 – 50
8
14
12
9
7
Example: Based on the grouped data below, find the median:
Solution:
Time to travel
to work
Frequency Cumulative
Frequency
1 – 10
11 – 20
21 – 30
31 – 40
41 – 50
8
14
12
9
7
8
22
34
43
50
25
2
50
2
=
=
n
m
f m
L
1st Step: Construct the cumulative frequency distribution
class median is the 3rd class
So, F = 22, = 12, = 20.5 and i = 10
Therefore,
2
25 22
21 5 10
12
24
⎛ ⎞
⎜ ⎟
+ ⎜ ⎟
⎜ ⎟
⎝ ⎠
⎛ ⎞
+ ⎜ ⎟
⎝ ⎠
Median
=
=
m
m
n
- F
= L i
f
-
.
Thus, 25 persons take less than 24 minutes to travel to work and another 25 persons
take more than 24 minutes to travel to work.
1
1
1 Q
Q
n
- F
4
Q L + i
f
⎛ ⎞
⎜ ⎟
= ⎜ ⎟
⎜ ⎟
⎝ ⎠
⎛ ⎞
⎜ ⎟
= ⎜ ⎟
⎜ ⎟
⎝ ⎠
3
3
3 Q
Q
3 n
- F
4
Q L + i
f
Quartiles
Using the same method of calculation as in the Median,
we can get Q1 and Q3 equation as follows:
Time to travel to work Frequency
1 – 10
11 – 20
21 – 30
31 – 40
41 – 50
8
14
12
9
7
Example: Based on the grouped data below, find the Interquartile Range
Time to travel
to work
Frequency Cumulative
Frequency
1 – 10
11 – 20
21 – 30
31 – 40
41 – 50
8
14
12
9
7
8
22
34
43
50
1
n 50
Class Q 12 5
4 4
.
= = =
1
1
1
4
12 5 8
10 5 10
14
13 7143
⎛ ⎞
⎜ ⎟
= + ⎜ ⎟
⎜ ⎟
⎝ ⎠
⎛ ⎞
= + ⎜ ⎟
⎝ ⎠
=
Q
Q
n
- F
Q L i
f
. -
.
.
Solution:
1st Step: Construct the cumulative frequency distribution
Class Q1 is the 2nd class
Therefore,
2nd Step: Determine the Q1 and Q3
( )
3
3 50
3n
Class Q 37 5
4 4
.
= = =
3
3
3
4
37 5 34
30 5 10
9
34 3889
⎛ ⎞
⎜ ⎟
= + ⎜ ⎟
⎜ ⎟
⎝ ⎠
⎛ ⎞
= + ⎜ ⎟
⎝ ⎠
=
Q
Q
n
- F
Q L i
f
. -
.
.
IQR = Q3 – Q1
Class Q3 is the 4th class
Therefore,
Interquartile Range
IQR = Q3 – Q1
calculate the IQ
IQR = Q3 – Q1 = 34.3889 – 13.7143 = 20.6746
Mode
•Mode is the value that has the highest frequency in a data set.
•For grouped data, class mode (or, modal class) is the class with the highest frequency.
•To find mode for grouped data, use the following formula:
⎛ ⎞
⎜ ⎟
⎝ ⎠
M o d e 1
m o
1 2
Δ
= L + i
Δ + Δ
Mode – Grouped Data
mo
L
1
Δ
2
Δ
Where:
is the lower boundary of class mode
is the difference between the frequency of class mode
and the frequency of the class before the class mode
is the difference between the frequency of class mode and the frequency
of the class after the class mode
i is the class width
Calculation of Grouped Data - Mode
Time to travel to work Frequency
1 – 10
11 – 20
21 – 30
31 – 40
41 – 50
8
14
12
9
7
Example: Based on the grouped data below, find the mode
mo
L 1
Δ 2
Δ
6
1 0 5 1 0 1 7 5
6 2
⎛ ⎞
+ =
⎜ ⎟
+
⎝ ⎠
M o d e = . .
Solution:
Based on the table,
= 10.5, = (14 – 8) = 6, = (14 – 12) = 2 and
i = 10
Mode can also be obtained from a histogram.
Step 1: Identify the modal class and the bar representing it
Step 2: Draw two cross lines as shown in the diagram.
Step 3: Drop a perpendicular from the intersection of the two lines
until it touch the horizontal axis.
Step 4: Read the mode from the horizontal axis
( )
2
2
2
−
σ =
∑
∑
fx
fx
N
N
( )
2
2
2
1
−
=
−
∑
∑
fx
fx
n
s
n
2
2
σ
σ =
2
2
s
s =
Population Variance:
Variance for sample data:
Standard Deviation:
Population:
Sample:
Variance and Standard Deviation
-Grouped Data
No. of order f
10 – 12
13 – 15
16 – 18
19 – 21
4
12
20
14
Total n = 50
No. of order f x fx fx2
10 – 12
13 – 15
16 – 18
19 – 21
4
12
20
14
11
14
17
20
44
168
340
280
484
2352
5780
5600
Total n = 50 832 14216
Example: Find the variance and standard deviation for the following data:
Solution:
( )
( )
2
2
2
2
1
832
14216
50
50 1
7 5820
−
=
−
−
=
−
=
∑
∑
fx
fx
n
s
n
.
75
.
2
5820
.
7
2
=
=
= s
s
Variance,
Standard Deviation,
Thus, the standard deviation of the number of orders received at
the office of this mail-order company during the past 50 days is 2.75.

More Related Content

PDF
Matrices & Determinants
PPTX
Inter quartile range
PDF
Ratio Rates and Proportion.pdf
PPTX
Stem and leaf plot
PPS
Standard deviationnormal distributionshow
PPTX
VARIANCE AND STANDARD DEVIATION.pptx
PPTX
Median
PPTX
Mean deviation (2018)
Matrices & Determinants
Inter quartile range
Ratio Rates and Proportion.pdf
Stem and leaf plot
Standard deviationnormal distributionshow
VARIANCE AND STANDARD DEVIATION.pptx
Median
Mean deviation (2018)

What's hot (20)

PPTX
Frequency distribution
PPT
Measure of Central Tendency
PDF
SPSS introduction Presentation
PPTX
Descriptive statistics
PPT
Measures Of Central Tendencies
PPT
Central tendency
PPTX
Measures of central tendency
PPTX
frequency distribution
PPTX
Types of graphs
PPT
Mean, median, mode and range power point
PPT
Stem and-leaf plots
DOCX
Time series analysis use E-views programer
PPT
Statistical measures
PPTX
2.4 Scatterplots, correlation, and regression
PPTX
Descriptive statistics
PPT
Pie chart
PPTX
Range, quartiles, and interquartile range
PPT
Measures of dispersions
PPTX
Boxplot
PPTX
Mcqs (regression and correlation)
Frequency distribution
Measure of Central Tendency
SPSS introduction Presentation
Descriptive statistics
Measures Of Central Tendencies
Central tendency
Measures of central tendency
frequency distribution
Types of graphs
Mean, median, mode and range power point
Stem and-leaf plots
Time series analysis use E-views programer
Statistical measures
2.4 Scatterplots, correlation, and regression
Descriptive statistics
Pie chart
Range, quartiles, and interquartile range
Measures of dispersions
Boxplot
Mcqs (regression and correlation)
Ad

Similar to Grouped Data Calculation.pdf (20)

PPT
grouped data calcualtions
PPTX
Mod mean quartile
PDF
Chapter 7 statistics
PPTX
Statistics & probability lesson 8&9
DOCX
Mean Mode Median.docx
PPTX
Measures of Central Tendency probability
PPTX
625156784-MEASURES-OF-CENTRAL-TENDENCY-FOR-GROUPED-DATA-ppt (1).pptx
PPTX
MEASURES-OF-CENTRAL-TENDENCY-FOR-GROUPED-DATA-ppt.pptx
DOCX
STATISTICS
PDF
Measures of central tendency
PDF
statistics 10th (1) (3).pdf
PPT
DESCRIPTIVE STATISTICS AN INTRODUCTORY CONCEPT
PPTX
Mean-median-mode-of-grouped-data-Lyssa-Grageda.pptx
PPTX
Business statistics solved numericals
PPTX
Median and Mode used in Teaching
PPTX
Stat Chapter 3.pptx, proved detail statistical issues
PDF
Lecture 3 & 4 Measure of Central Tendency.pdf
PPTX
Measure of central tendency
PPTX
Central tendency and Variation or Dispersion
DOC
6.statistics (1)
grouped data calcualtions
Mod mean quartile
Chapter 7 statistics
Statistics & probability lesson 8&9
Mean Mode Median.docx
Measures of Central Tendency probability
625156784-MEASURES-OF-CENTRAL-TENDENCY-FOR-GROUPED-DATA-ppt (1).pptx
MEASURES-OF-CENTRAL-TENDENCY-FOR-GROUPED-DATA-ppt.pptx
STATISTICS
Measures of central tendency
statistics 10th (1) (3).pdf
DESCRIPTIVE STATISTICS AN INTRODUCTORY CONCEPT
Mean-median-mode-of-grouped-data-Lyssa-Grageda.pptx
Business statistics solved numericals
Median and Mode used in Teaching
Stat Chapter 3.pptx, proved detail statistical issues
Lecture 3 & 4 Measure of Central Tendency.pdf
Measure of central tendency
Central tendency and Variation or Dispersion
6.statistics (1)
Ad

Recently uploaded (20)

PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PDF
Introduction to Data Science and Data Analysis
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PDF
[EN] Industrial Machine Downtime Prediction
PDF
annual-report-2024-2025 original latest.
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
1_Introduction to advance data techniques.pptx
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Supervised vs unsupervised machine learning algorithms
PDF
Clinical guidelines as a resource for EBP(1).pdf
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Miokarditis (Inflamasi pada Otot Jantung)
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Introduction to Knowledge Engineering Part 1
oil_refinery_comprehensive_20250804084928 (1).pptx
Introduction to Data Science and Data Analysis
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Fluorescence-microscope_Botany_detailed content
[EN] Industrial Machine Downtime Prediction
annual-report-2024-2025 original latest.
IBA_Chapter_11_Slides_Final_Accessible.pptx
1_Introduction to advance data techniques.pptx
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
ISS -ESG Data flows What is ESG and HowHow
Supervised vs unsupervised machine learning algorithms
Clinical guidelines as a resource for EBP(1).pdf

Grouped Data Calculation.pdf

  • 1. 1. Mean, Median and Mode 2. First Quantile, third Quantile and Interquantile Range. Lecture 2 – Grouped Data Calculation
  • 2. Mean – Grouped Data Number of order f 10 – 12 13 – 15 16 – 18 19 – 21 4 12 20 14 n = 50 Number of order f x fx 10 – 12 13 – 15 16 – 18 19 – 21 4 12 20 14 11 14 17 20 44 168 340 280 n = 50 = 832 fx 832 x = = = 16.64 n 50 ∑ Example: The following table gives the frequency distribution of the number of orders received each day during the past 50 days at the office of a mail-order company. Calculate the mean. Solution: X is the midpoint of the class. It is adding the class limits and divide by 2.
  • 3. Median and Interquartile Range – Grouped Data Step 1: Construct the cumulative frequency distribution. Step 2: Decide the class that contain the median. Class Median is the first class with the value of cumulative frequency equal at least n/2. Step 3: Find the median by using the following formula: M e d ia n ⎛ ⎞ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ m m n - F 2 = L + i f m L m f Where: n = the total frequency F = the cumulative frequency before class median i = the class width = the lower boundary of the class median = the frequency of the class median
  • 4. Time to travel to work Frequency 1 – 10 11 – 20 21 – 30 31 – 40 41 – 50 8 14 12 9 7 Example: Based on the grouped data below, find the median: Solution: Time to travel to work Frequency Cumulative Frequency 1 – 10 11 – 20 21 – 30 31 – 40 41 – 50 8 14 12 9 7 8 22 34 43 50 25 2 50 2 = = n m f m L 1st Step: Construct the cumulative frequency distribution class median is the 3rd class So, F = 22, = 12, = 20.5 and i = 10
  • 5. Therefore, 2 25 22 21 5 10 12 24 ⎛ ⎞ ⎜ ⎟ + ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎛ ⎞ + ⎜ ⎟ ⎝ ⎠ Median = = m m n - F = L i f - . Thus, 25 persons take less than 24 minutes to travel to work and another 25 persons take more than 24 minutes to travel to work.
  • 6. 1 1 1 Q Q n - F 4 Q L + i f ⎛ ⎞ ⎜ ⎟ = ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎛ ⎞ ⎜ ⎟ = ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ 3 3 3 Q Q 3 n - F 4 Q L + i f Quartiles Using the same method of calculation as in the Median, we can get Q1 and Q3 equation as follows: Time to travel to work Frequency 1 – 10 11 – 20 21 – 30 31 – 40 41 – 50 8 14 12 9 7 Example: Based on the grouped data below, find the Interquartile Range
  • 7. Time to travel to work Frequency Cumulative Frequency 1 – 10 11 – 20 21 – 30 31 – 40 41 – 50 8 14 12 9 7 8 22 34 43 50 1 n 50 Class Q 12 5 4 4 . = = = 1 1 1 4 12 5 8 10 5 10 14 13 7143 ⎛ ⎞ ⎜ ⎟ = + ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎛ ⎞ = + ⎜ ⎟ ⎝ ⎠ = Q Q n - F Q L i f . - . . Solution: 1st Step: Construct the cumulative frequency distribution Class Q1 is the 2nd class Therefore, 2nd Step: Determine the Q1 and Q3
  • 8. ( ) 3 3 50 3n Class Q 37 5 4 4 . = = = 3 3 3 4 37 5 34 30 5 10 9 34 3889 ⎛ ⎞ ⎜ ⎟ = + ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎛ ⎞ = + ⎜ ⎟ ⎝ ⎠ = Q Q n - F Q L i f . - . . IQR = Q3 – Q1 Class Q3 is the 4th class Therefore, Interquartile Range IQR = Q3 – Q1 calculate the IQ IQR = Q3 – Q1 = 34.3889 – 13.7143 = 20.6746
  • 9. Mode •Mode is the value that has the highest frequency in a data set. •For grouped data, class mode (or, modal class) is the class with the highest frequency. •To find mode for grouped data, use the following formula: ⎛ ⎞ ⎜ ⎟ ⎝ ⎠ M o d e 1 m o 1 2 Δ = L + i Δ + Δ Mode – Grouped Data mo L 1 Δ 2 Δ Where: is the lower boundary of class mode is the difference between the frequency of class mode and the frequency of the class before the class mode is the difference between the frequency of class mode and the frequency of the class after the class mode i is the class width
  • 10. Calculation of Grouped Data - Mode Time to travel to work Frequency 1 – 10 11 – 20 21 – 30 31 – 40 41 – 50 8 14 12 9 7 Example: Based on the grouped data below, find the mode mo L 1 Δ 2 Δ 6 1 0 5 1 0 1 7 5 6 2 ⎛ ⎞ + = ⎜ ⎟ + ⎝ ⎠ M o d e = . . Solution: Based on the table, = 10.5, = (14 – 8) = 6, = (14 – 12) = 2 and i = 10
  • 11. Mode can also be obtained from a histogram. Step 1: Identify the modal class and the bar representing it Step 2: Draw two cross lines as shown in the diagram. Step 3: Drop a perpendicular from the intersection of the two lines until it touch the horizontal axis. Step 4: Read the mode from the horizontal axis
  • 12. ( ) 2 2 2 − σ = ∑ ∑ fx fx N N ( ) 2 2 2 1 − = − ∑ ∑ fx fx n s n 2 2 σ σ = 2 2 s s = Population Variance: Variance for sample data: Standard Deviation: Population: Sample: Variance and Standard Deviation -Grouped Data
  • 13. No. of order f 10 – 12 13 – 15 16 – 18 19 – 21 4 12 20 14 Total n = 50 No. of order f x fx fx2 10 – 12 13 – 15 16 – 18 19 – 21 4 12 20 14 11 14 17 20 44 168 340 280 484 2352 5780 5600 Total n = 50 832 14216 Example: Find the variance and standard deviation for the following data: Solution:
  • 14. ( ) ( ) 2 2 2 2 1 832 14216 50 50 1 7 5820 − = − − = − = ∑ ∑ fx fx n s n . 75 . 2 5820 . 7 2 = = = s s Variance, Standard Deviation, Thus, the standard deviation of the number of orders received at the office of this mail-order company during the past 50 days is 2.75.