1 / 11

Measures of Variability or Dispersion

Measures of Variability or Dispersion. Dispersion. Dispersion refers to how much the data are spread out. Analogy: In terms of physical fitness, a person which can do the “splits” is more agile than one who can not. The agile one can spread out more!

jagger
Download Presentation

Measures of Variability or Dispersion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Measures of Variability or Dispersion

  2. Dispersion Dispersion refers to how much the data are spread out. Analogy: In terms of physical fitness, a person which can do the “splits” is more agile than one who can not. The agile one can spread out more! Data sets that are more disperse are spread out more. Other names for dispersion are variability, variation or spread. So, when we look at a variable we can look at the variation. This is the amount of scattering of the values away from the central value.

  3. The Range The range is a measure of dispersion and can be found by largest value on a variable minus the smallest value. For example the range of the data set 1, 3, 5 is 5 minus 1 = 4. The range as a measure of variability has a problem in that the lowest and the highest numbers could be far away from the rest of the data. This would suggest more variability than perhaps there really is in the data.

  4. standard deviation • The standard deviation is, perhaps, the most common measure of spread reported. • It is related to the concept called the variance in that the standard deviation is the square root of the variance. • Example: What is the square root of 9? 3 - no biggie! • The standard deviation is used so much because it is useful in visually understanding the normal distribution. We will see this later.

  5. On the next screen I have pointed out an example and I will use the following notation: xi xi - x (xi - x)2 xi is just the ith data value, x is the mean of the data, and (xi - x)2 is the mean subtracted from a data value and then squared. As an example, say the a data value is 6 and the mean of the data is 7. Then we would have (6 – 7 )2 = (-1)2 = 1 A deviation is a data value minus the mean. If you think about it, a deviation is just a distance on the number line. 6 – 7 = -1 means 6 is one unit away from the mean, and the minus sign means on the low side of the mean. (6 – 7 )2 is just a deviation squared, or a squared deviation.

  6. standard deviation • Let’s do some simple examples I have made up to see what is going on. • Note below we have three observations, the values of x are 6, 7, 8 and the average of the three numbers is 7. obs xi xi - x (xi - x)2 1 6 6 - 7 1 2 7 7 - 7 0 3 8 8 - 7 1 Σ(xi - x)2 = 2 The sum of the squared deviations. So the variance is 2/2 = 1 (I show how in a few slides), where the denominator is n-1 (the number of numbers minus 1). The standard deviation is thus sqrt(1) = 1.

  7. standard deviation • Here is another simple example. Note below we have three observations, the values of x are 5, 7, 9 and the average of the three numbers is 7. • The previous example had numbers 6, 7, 8, numbers not spread out as much on the number line. We will see obs xi xi - x (xi - x)2 the numbers 5, 7, 9 have 1 5 5 - 7 4 a larger standard 2 7 7 - 7 0 deviation. 3 9 9 - 7 4 Σ(xi - x)2 = 8 So the variance is 8/2 = 4. The standard deviation is thus sqrt(4) = 2.

  8. standard deviation notes about simple examples • Both examples have sample mean of 7. • The first example has values closer to 7 and it had the smaller calculated standard deviation. • So, the closer the values of the variable are to the mean, the smaller is the standard deviation - the smaller the spread!

  9. Variances and Standard Deviations Remember we want to think about variability here. Variance and standard deviation are related in that the standard deviation is the square root of the variance. How do we interpret these concepts. At this point I think we need to just put them in the context of two data sets. The data set with a larger variance (or standard deviation) will be the one that is more spread out – has more variability. Remember: Data set a = 6, 7, 8. Data set b = 5, 7, 9 By the variance measure data set b is more spread out. By the way, in the variance and standard deviation calculations the sum of the squares of the deviations of the data values from the mean is often just called the sum of squares – SS.

  10. Population and Sample The population variance and standard deviations are based on adding the squared deviations. In fact, the variance is just the average of the squared deviations. In symbols, the population variance is σ2 = Σ(xi – μ)2/N The sample variance is similar, s2 = Σ(xi – x)2/(n-1). Remember N = population size, n = sample size. Note in the sample variance there is division by n-1. Why? Later when we do inference procedures dividing by n-1 makes the resulting sample variance a better way to estimate the population variance.

  11. The Coefficient of Variation By definition, the coefficient of variation is (standard deviation/mean)100. Let’s think about an example of the monthly salary of some recent graduates. Say the mean is $2940 and the standard deviation is 165.65. Then the coefficient of variation is (165.65/2940)100 = 5.6 Thus, the sample standard deviation is only 5.6% of the sample mean. Why even have this crazy measure? This is a useful measure when comparing the variability of variables that have different standard deviations and different means.

More Related