Docsity

Central Tendency & Dispersion: Mean, Median, Mode, Range, Variance, & Deviation, Study notes of Statistics

Toggle sidebar
bg1
Chapter 3
Numerically
Summarizing
Data
Section 3.1
Measures of
Central Tendency
Measures of Central Tendency
Mean
Median
Mode
Midrange
Measures of central tendency are numeric values that locate, in some sense,
the middle of a data set.
We have all heard the term average. Most generally when this term is used
it is referring to the mean, but one must be careful, because it can refer to the
mean, the median, or the mode. Each measure gives very different
information.
Recall
A parameter is a descriptive measure of a population.
A statistic is a descriptive measure of a sample.
The arithmetic mean of a variable is computed by determining the sum of
all the values of the variable in the data set, divided by the number of
observations. The population mean, , is computed using all the
individuals in a population. The population mean is a parameter. The
sample mean,
x
, is computed using the sample data. The sample mean is a
statistic.
32
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Central Tendency & Dispersion: Mean, Median, Mode, Range, Variance, & Deviation and more Study notes Statistics in PDF only on Docsity!

Chapter 3

Numerically

Summarizing

Data

Section 3.

Measures of

Central Tendency

Measures of Central Tendency  Mean  Median  Mode  Midrange Measures of central tendency are numeric values that locate, in some sense, the middle of a data set. We have all heard the term average. Most generally when this term is used it is referring to the mean, but one must be careful, because it can refer to the mean, the median, or the mode. Each measure gives very different information. Recall A parameter is a descriptive measure of a population. A statistic is a descriptive measure of a sample. The arithmetic mean of a variable is computed by determining the sum of all the values of the variable in the data set, divided by the number of observations. The population mean , , is computed using all the individuals in a population. The population mean is a parameter. The sample mean , x^ , is computed using the sample data. The sample mean is a statistic.

  1. Mean If x 1 , x 2 , …, x N are the N observations of a variable from a population, then the population mean, , is N x N x x x N i i N

      1 2 ... 1  If x 1 , x 2 , …, x n are the n observations of a variable from a sample, then the sample mean, x^ , is n x n x x x x n i i n

 1 ^2 ...^  ^1

  1. Median The median of a variable is the value that lies in the middle of the data when arranged in ascending order. That is, half the data are below the median and half the data are above the median. We use M to represent the median. Steps in Computing the Median of a Data Set
  1. Arrange the data in ascending order.
  2. Determine the number of observations, n.
  3. Determine the observation in the middle of the data set. a. If the number of observations is odd , then the median is the data value that is exactly in the middle of the data set. That is, the median is the observation that lies in the 2 n  1 position. b. If the number of observations is even , then the median is the mean of the two middle observations in the data set. That is, the median is the mean of the data values that lie in the 2 n and 1 2  n positions.
  1. Mode

When do we use the mean, median, and mode? Mean When the data are quantitative and the frequency distribution is roughly symmetric Median When the data are quantitative and the frequency distribution is skewed left or skewed right Mode When most frequent observation is desired measure of central tendency or the data are qualitative

Section 3.

Measures of Dispersion

Measures of Dispersion/Spread 1) Range 2) Interquartile Range (Sec 3.4) 3) Variance 4) Standard Deviation In completely describing a distribution, we need more than just the center of the distribution. Measures of dispersion give an indication of how much variability there exists in a data set.

  1. Range The range , R , of a variable is the difference between the largest value and the smallest data value. That is, Range = R = (Largest Data Value – Smallest Data Value)
  2. Interquartile Range The interquartile range , IQR, is the difference between the third and first quartile. IQR = Q 3 – Q 1
  3. Variance The variance is based upon the difference between each observation and the mean. It is calculated as a mean of the squared deviations. The divisor used in the calculation of this mean is dependent upon whether we are calculating the population variance or the sample variance. Deviation about the mean xi   orxix What would be the value if I were to add all the deviations? Why?

1 ... 1 2 2 2 2 1 1 2 2           

n x x x x x x n x x s n n i i where x 1 , x 2 , … , x n are the n observations in the sample and x is the sample mean. Notice that the sample variance, s 2 , is a statistic. An algebraically equivalent formula for computing the sample variance is 1 1 2 2 1 2         

  n n x x s n i n i i i

where  x i

2 means to square each observation and then sum these

squared values, and ( x i)

2 means to add all the observations and then square the sum. Notice that s 2 explains the variance of a sample and is therefore a statistic. Notice that the sample variance is obtained by dividing by n – 1. If we divided by n , as we would expect, the sample variance would consistently underestimate the population variance. Whenever a statistic consistently overestimates or underestimates a parameter, it is called biased. To obtain an unbiased estimate of the population variance, divide the sum of the squared deviations about the mean by n – 1. Hence, we have n – 1 degrees of freedom in the computation of s 2 because an unknown parameter, , is estimated with x^.

  1. Standard Deviation The population standard deviation , , is obtained by taking the square root of the population variance. That is,   ^2 Notice that  is a parameter since it is describing a measure of the population.

The sample standard deviation , s, is obtained by taking the square root of the sample variance. That is, ss^2 Notice that s is a statistic since it is describing a measure of the sample. If the standard deviation is just the square root of the variance, what information is the standard deviation giving us that the variance is not? Can you think of a reason why we use the standard deviation over the variance? Understanding Standard Deviation Recall the data set from Chapter 2 on the three-year rate of return on a mutual fund. Suppose we are comparing two mutual funds that have the same mean, but one has a standard deviation of 8% and the other a standard deviation of 20%. Which would you invest your money in? Why? Example: Nine randomly selected students from a section of STAT 104 measured their pulse. The following data were obtained: 76, 60, 60, 81, 72, 80, 80, 68, 73. Find the range, variance, and standard deviation. Range Variance

The Empirical Rule If a distribution is roughly bell shaped, then  Approximately 68% of the data will lie within one standard deviation of the mean.  Approximately 95% of the data will lie within two standard deviations of the mean.  Approximately 99.7% of the data will lie within three standard deviations of the mean.

Section 3.

Measures of Position

Measures of position are used to describe the relative position of a certain data value with the entire set of data. The z-score represents the number of standard deviation that a data value is from the mean. It is obtained by subtracting the mean from the data value and dividing this result by the standard deviation. There is both a population z-score and a sample z-score; their formulas are as follows: Population z-score     x z Sample z-score s x x z   The z-score is unitless; it has a mean of 0 and a standard deviation of 1. Z-scores provide a way of comparing “apples” to “oranges” by converting variables with different centers and/or spreads to variables with the same center and spread. Example: The average 20-29 year old man is 69.9 inches tall, with a standard deviation of 3.0 inches. The average 20-29 year old woman is 64. inches tall with a standard deviation of 2.8 inches. Who is relatively taller, a 75-inch man or a 70-inch woman?

  • 100 ( ) n Numberof datavalueslessthan x Percentile of x   Round this number to the nearest integer Quartiles are the most common percentiles. They divide the data into four equal parts.  Q 1 represents the 1st^ quartile. It is also the 25th^ percentile.  Q 2 represents the 2nd^ quartile. It is also the 50th^ percentile. Note: This is also the median.  Q 3 represents the 3 rd quartile. It is also the 75 th percentile. Outliers are extreme observations in a data set. Outliers distort both the mean and the standard deviation since neither is a resistant measure. Because these measures often form the basis for most statistical inference, any conclusions drawn from a data set that contains outliers can be flawed. We check for outliers using the interquartile range. Checking for Outliers by Using Quartiles  Determine the first and third quartiles of the data.  Compute the interquartile range. The interquartile range or IQR is the difference between the third and first quartile. IQR = Q 3 – Q 1  Determine the fences.^ Fences^ serve as cutoff point for determining outliers. Lower Fence = Q 1 – 1.5(IQR) Upper Fence = Q 3 + 1.5(IQR)  If a data value is less than the lower fence or greater than the upper fence, then it is considered an outlier. Example: The following data represent the number of inches of rain in Chicago during the month of April for 20 randomly selected years.

2.47 3.97 3.94 4. 1.14 4.02 3.41 1. 5.22 0.97 6.14 2. 3.48 4.77 2.78 4. 6.28 5.50 7.69 5. Find the quartiles Find the 67 th percentile. What percentile is represented by 6.28 inches of rain? Are there any outliers in this data set?

Section 3.

The Five-Number Summary

Distribution Shape Based upon Boxplot  If the median is near the center of the box and each of the horizontal lines is of approximately equal length, then the distribution is roughly symmetric.  If the median is to the left of the center of the box or the right line is substantially longer than the left line, the distribution is skewed right.  If the median is to the right of the center of the box or the left line is substantially longer than the right line, the distribution is skewed left. Example The following data represents the number of grams of fat in breakfast meals offered at McDonald’s. 12, 23, 28, 2, 31, 37, 34, 15, 23, 38, 31, 16, 11, 8, 8, 17, 20 Find the five number summary.

Construct a boxplot Comment on the shape of the distribution