Docsity

Calculating Mean, Median, Mode, Quartiles, and IQR from Grouped Data, Lecture notes of Statistics

Partial preview of the text

Download Calculating Mean, Median, Mode, Quartiles, and IQR from Grouped Data and more Lecture notes Statistics in PDF only on Docsity!

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

(^4122014) n = 50

Number^ of order

f^

x^

fx

n^ = 50

fx^

832

x =^

=^

= 1 6 .6 4 n^

5 0

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 theclass. It is adding the classlimits and divide by 2.

Time to travel to work

Frequency

Example: Based on the grouped data below, find the median: Solution:

Time to travel^ to work

Frequency

CumulativeFrequency

n =

f^ m

Lm

st^1 Step:

Construct the cumulative frequency distribution

class median is the 3

rd^ class

So,^

F^ = 22,

= 20.5 and

i^ = 10

Therefore,

2 25

22

21 5

10 12 24

โŽ›^

โŽž โŽœ^

โŽŸ

  • โŽœ^

โŽŸ โŽœ^

โŽŸ โŽ^

โŽ  โŽ›^

โŽž

  • โŽœ^

โŽŸ โŽ^

โŽ 

Median

= = m

n - F m = 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.

Time to travel^ to work

Frequency

CumulativeFrequency

1

n^

Class Q

=^

=^

1

1

1

4

12 5

8 10 5

10 14 โŽ›^ 13 7143

โŽž โŽœ^

โŽŸ

=^

  • โŽœ^

โŽŸ โŽœ^

โŽŸ โŽ^

โŽ  โŽ›

โŽž

=^

  • โŽœ^

โŽŸ โŽ^

โŽ 

Q =

n - F Q

Q^

L^

i f

. - ..

Solution:st^1 Step:

Construct the cumulative frequency distribution Class Q

is the 2 1

nd^ class

nd^2 Step: Determine the Q^ Therefore,

and Q 1

3

(^

)

3

3n

Class Q

=^

=^

=^

3

3

3

4

37 5 34 30 5

10 9 โŽ›^ 34 3889

โŽž โŽœ^

โŽŸ

=^

  • โŽœ^

โŽŸ โŽœ^

โŽŸ โŽ^

โŽ  โŽ›

โŽž

=^

  • โŽœ^

โŽŸ โŽ^

โŽ 

Q =

n - F Q

Q^

L^

i f

. - ..

IQR = Q

โ€“ Q 3

1

Class Q

is the 4 3

th^ class

Therefore,^ Interquartile Range

IQR = Q

โ€“ Q 3

1

calculate the IQ IQR = Q

โ€“ Q 3

Calculation of Grouped Data -

Mode

Time to travel to work

Frequency

Example: Based on the grouped data below, find the mode

L^ mo

ฮ”^1

ฮ”^2 6 1 0 5

1 0^

1 7 5

6

2 โŽ›^

โŽž +^

=

โŽœ^

โŽŸ +โŽ

โŽ 

M o d e

=^

.^

.

Solution: Based on the table,

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

No. of order

f

Total

n = 50

No. of order

f^

x^

fx^

(^2) fx

Total

n = 50

Example: Find the variance and standard deviation for the following data:^ Solution:

(^

) (^

(^2) )

2 2

2 (^1832) 14216

50 50

1 7 5820

โˆ’ =^

โˆ’ โˆ’ =^

โˆ’

โˆ‘ โˆ‘^

fx fx^

n

s^

n .

2

=^ ss

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.