vdoc

03.05.2023 Views

202 Part IV: Quality AssuranceEXAMPLE 18.2The following data give the ages of all the employees in a hardware store.22, 25, 26, 36, 26, 29, 26, 26Find the mean age of the employees in the hardware store.Solution:Since the data give the ages of all the employees of the hardware store, we have a population.Thus, we haveSo the population mean isN = 8x i = 22 + 25 + 26 + 36 + 26 + 29 + 26 + 26 = 216.xi 216m = = = 27 years.N 8In this example, the mean age of the employees in the hardware store is 27 years.Part IV.A.1Note that even though the formulas for calculating sample mean and populationmean are very similar, it is important to make a very clear distinction betweenthe sample mean x – and the population mean m for all application purposes.Sometimes a data set may include a few observations or measurements thatare very small or very large. For example, the salaries of a group of engineers in abig corporation may also include the salary of its CEO, who also happens to be anengineer and whose salary is much larger than the other engineers in the group.In such cases where there are some very small and/or very large observations,these values are referred to as extreme values. If extreme values are present in thedata set then their mean is not an appropriate measure of centrality. It is importantto note that any extreme value, large or small, adversely affects the mean value. Insuch cases the median is a better measure of centrality since the median is unaffectedby a few extreme values. Next we discuss the method of calculating themedian of a data set.Median. We denote the median of a data set by M d . To determine the median of adata set we take the following steps:Step 1. Arrange the measurements in the data set in ascending order andrank them from 1 to n.Step 2. Find the rank of the median, which is equal to (n +1)/2.Step 3. Find the value corresponding to the rank (n + 1)/2 of the median.This value represents the median of the data set.It is important to note that the median may or may not be one of the values of thedata set. Whenever the sample size is odd, the median is the center value, andwhenever it is even, the median is always the average of the two middle valueswhere the data are arranged in ascending order.

Chapter 18: A. Basic Statistics and Applications 203EXAMPLE 18.3To illustrate this method we consider a simple example. The following data give thelength of an alignment pin for a printer shaft in a batch of production:Find the median alignment pin length.Solution:30, 24, 34, 28, 32, 35, 29, 26, 36, 30, 33Step 1. Write the data in ascending order and rank them from 1 to 11 sincen = 11.Observations in ascending order: 24 26 28 29 30 30 32 33 34 35 36Ranks: 1 2 3 4 5 6 7 8 9 10 11Step 2. Find the rank of the median.Rank of the median = (n + 1)/2 = (11 + 1)/2 = 6Step 3. Find the value corresponding to rank 6 (this is the rank ofthe median).The value corresponding to rank 6 is 30.Thus, the median alignment pin length is M d = 30. This means that at the most 50percent of alignment pins are of length less than 30 and at the most 50 percent are oflength greater than 30.EXAMPLE 18.4The following data describe the sales (in thousands of dollars) for 16 randomly selectedsales personnel distributed throughout the United States:10, 8, 15, 12, 17, 7, 20, 19, 22, 25, 16, 15, 18, 250, 300, 12Find the median sales of these individuals.Solution:Step 1. Observations in ascending order: 7 8 10 12 12 15 15 16 17 18 19 20 2225 250 300Ranks: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16Step 2. Rank of the median = (16+1)/2 = 8.5Step 3. Find the value corresponding to the 8.5th rank. Since the rank of themedian is not a whole number, in this case the median is defined asthe average of the values that correspond to the ranks 8 and 9 (sincerank 8.5 is located between the ranks 8 and 9).The median of the above data is M d = (16 + 17)/2 = 16.5.Thus, the median sales of the given individuals is sixteen thousand and five hundreddollars.Part IV.A.1

202 Part IV: Quality Assurance

EXAMPLE 18.2

The following data give the ages of all the employees in a hardware store.

22, 25, 26, 36, 26, 29, 26, 26

Find the mean age of the employees in the hardware store.

Solution:

Since the data give the ages of all the employees of the hardware store, we have a population.

Thus, we have

So the population mean is

N = 8

x i = 22 + 25 + 26 + 36 + 26 + 29 + 26 + 26 = 216.

xi 216

m = = = 27 years.

N 8

In this example, the mean age of the employees in the hardware store is 27 years.

Part IV.A.1

Note that even though the formulas for calculating sample mean and population

mean are very similar, it is important to make a very clear distinction between

the sample mean x – and the population mean m for all application purposes.

Sometimes a data set may include a few observations or measurements that

are very small or very large. For example, the salaries of a group of engineers in a

big corporation may also include the salary of its CEO, who also happens to be an

engineer and whose salary is much larger than the other engineers in the group.

In such cases where there are some very small and/or very large observations,

these values are referred to as extreme values. If extreme values are present in the

data set then their mean is not an appropriate measure of centrality. It is important

to note that any extreme value, large or small, adversely affects the mean value. In

such cases the median is a better measure of centrality since the median is unaffected

by a few extreme values. Next we discuss the method of calculating the

median of a data set.

Median. We denote the median of a data set by M d . To determine the median of a

data set we take the following steps:

Step 1. Arrange the measurements in the data set in ascending order and

rank them from 1 to n.

Step 2. Find the rank of the median, which is equal to (n +1)/2.

Step 3. Find the value corresponding to the rank (n + 1)/2 of the median.

This value represents the median of the data set.

It is important to note that the median may or may not be one of the values of the

data set. Whenever the sample size is odd, the median is the center value, and

whenever it is even, the median is always the average of the two middle values

where the data are arranged in ascending order.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!