#$&* course MTH 152 3/27 3 015. range vs ave dev vs std dev*********************************************
.............................................
Given Solution: We could calculate the average distance of the numbers from the mean. The mean of these numbers is (7 + 9 + 10 + 11 + 12 + 14) / 6 = 10.5. The deviations from the mean are 3.5, 1.5, .5, .5, 1.5, 3.5. Averaging these deviations we get ave deviation from mean = (3.5 + 1.5 + .5 + .5 + 1.5 + 3.5) / 6 = 1.83 approx.. A simpler measure of the spread is the range, which is the difference 14 - 7 = 7 between the lowest and highest number. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q002. Comparing the distributions 7, 9, 10, 11, 12, 14 and 7, 8, 9, 12, 13, 14, which distribution would you say is more spread out? YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: The range of the first set of numbers [7, 9, 10, 11, 12, and 14] is 7. The range of the second set of numbers [7, 8, 9, 12, 13, and 14] is also 7. Because the ranges are the same, we can turn to the averaging of distances to determine which is more spread out. We discovered in the previous problem that the average deviation of the set of [7, 9, 10, 11, 12, and 14] is 1.83. We can use the same method as we did in the previous problem to determine the average deviation of the second set of numbers. The average of [7, 8, 9, 12, 13, and 14] is also 10.5. However, the set of differences between the numbers and the mean is not the same. The set of differences we have now is [3.5, 2.5, 1.5, 1.5, 2.5, and 3.5]. The average of this set of deviations is 2.5, which is clearly larger than the average deviation of the first set of numbers. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: Both distributions have the same range, which is 14 - 7 = 7. Note that both distributions have the same mean, 10.5. However except for the end numbers 7 and 14, the numbers in the second distribution are spread out further from the mean (note that 8 and 9 in the second distribution are further from the mean than are 9 and 10 in the first, and that 12 and 13 in the second distribution are further from the mean that are 11 and 12 from the first). We can easily calculate the average deviation of the second distribution from the mean, and we find that the average deviation is 2.67, which is greater than the average deviation in the first. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q003. Another measure of the spread of a distribution is what is called the standard deviation. This quantity is similar in many respects to the average deviation, but this measure of deviation is more appropriate to statistical analysis. To calculate the standard deviation of a distribution of numbers, we begin as before by calculating the mean of the distribution and then use the mean to calculate the deviation of each number from the mean. For the distribution 7, 9, 10, 11, 12, 14 we found that the mean was to 10.5 deviations were 3.5, 2.5, .5, .5, 1.5 and 3.5. To calculate the standard deviation, we first square the deviations to find the squared deviations. We then average the squared deviations. What the you get for the squared deviations, then for the average of the squared deviations, for the given distribution? YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: If the deviations for the set of [7, 9, 10, 11, 12, and 14] are [3.5, 2.5, .5, .5, 1.5, and 3.5], then the squared deviations for the set are 3.5^2 (12.25), 2.5^2 (6.25), .5^2 (.25), .5^2 (.25), 1.5^2 (2.25), and 3.5^2 (12.25). In other words, a set of [12.25, 6.25, .25, .25, 2.25, and 12.25.] The average of this set of numbers is about 5.58. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: The squared deviations are 3.5^2 = 12.25, 2.5^2 = 6.25, .5^2 = .25, and 1.5^2 = 2.25. Since 3.5 and .5 to occur twice each, the average of the squared deviations is (12.25 + 6.25 + 0.25 + 0.25 + 2.25 + 12.25) / 6 = 5.58, approx.. This average of the squared deviations is not the standard deviation, which will be calculated in the next exercise. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q004. In the last problem we calculated the average of the squared deviations. Since this average was calculated from the squared deviations, it seems appropriate to now take the square root of our result. The standard deviation is the square root of the average of the squared deviations. Continuing the last problem, what is the standard deviation of the distribution 7, 9, 10, 11, 12, 14? YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: In order to find out the standard deviation of the average of our squared deviations, we must take the square root of the average that we calculated in the previous problem. This means that our standard deviation is the square root of 5.58, or 2.36. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: The standard deviation is a square root of the average of the squared deviations. We calculated the average of the squared deviations in the last exercise, obtaining 5.67. So to get the standard deviation we need only take the square root of this number. We thus find that standard deviation = `sqrt(ave of squared deviations) = `sqrt(5.67) = 2.4, approx.. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q005. The last problem didn't really lie to you, there is one more subtlety in the calculation of the standard deviation. When we calculate the standard deviation for a distribution containing less than about 30 numbers, then in the step where we calculated the average deviation we do something a little bit weird. Instead of dividing the total of the squared deviations by the number of values we totaled, we divide by 1 less than this number. So instead of dividing (12.25 + 6.25 + 0.25 + 0.25 + 2.25 + 12.25) by 6, as we did, we only divide by 5. With this modification, what is the standard deviation? YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: When we modify our squared deviation by dividing the total sum of our set of numbers by 5 instead of 6, we find that we have an average squared deviation of 6.7. To find the standard deviation, we must take the square root of this average. When we do, we find out that the standard deviation is about 2.59. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: The total of the squared deviations is (12.25 + 6.25 + 0.25 + 0.25 + 2.25 + 12.25) = 34. When we divide by 5 instead of 6 we get (12.25 + 6.25 + 0.25 + 0.25 + 2.25 + 12.25) / 5 = 6.8. This 'average' of the squared deviations (not really the average but the 'average' we use in calculating the standard deviation) is therefore 6.8, not the 5.67 we obtain before. Thus the standard deviation is std dev = square root of 'average' of squared deviations = `sqrt(6.8) = 2.6, approximately. Note that this value differs slightly from that obtained by doing a true average. Note also that if we are totaling 30 or more squared deviations subtracting the 1 doesn't make much difference, and we just use the regular average of the squared deviations. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q006. We just calculated the standard deviation of the distribution 7, 9, 10, 11, 12, 14. Earlier we noted that the distribution 7, 8, 9, 12, 13, 14 is a bit more spread out than the distribution 7, 9, 10, 11, 12, 14. Calculate the standard deviation of the distribution 7, 8, 9, 12, 13, 14 and determine how much difference the greater spread makes in the standard deviation. YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: The set of deviations of the set [7, 8, 9, 12, 13, and 14] is [3.5, 2.5, 1.5, 1.5, 2.5 and 3.5]. In order to find the average squared deviation of this set, we must square each of these deviations. The set that results from this is then [12.25, 6.25, 2.25, 2.25, 6.25, and 12.25]. The average of this set is 8.3. The square root of this average is 2.88, which is the overall standard deviation for the set of [7, 8, 9, 12, 13, and 14.] There is a difference of about .29 between the two sets. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: The mean of the distribution 7, 8, 9, 12, 13, 14 is still 10.5. The deviations are 3.5, 2.5, 1.5, 1.5, 2.5 and 3.5, giving us squared deviations 12.25, 6.25, 2.25, 2.25, 6.25 and 12.25. The total of the squared deviations is 42, and the 'average', as we compute it using division by 5 instead of the six numbers we totaled, is 42/5 = 8.4. The standard deviation is therefore the square root of this 'average', or std dev = `sqrt(8.4) = 2.9, approximately. We see that the greater spread increases are standard deviation by about 0.3 over the previous result. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q007. What is the standard deviation of the distribution 7, 8, 8, 8, 13, 13, 13, 14. What would be the quickest way to calculate this standard deviation? YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: The mean of the set of [7, 8, 8, 8, 13, 13, 13, and 14] is 10.5. The deviations from the mean are [3.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, and 3.5.] When we square the deviations we obtain a set of [12.25, 6.25, 6.25, 6.25, 6.25, 6.25, 6.25, and 12.25.] The average of the squared deviations is about 9.1. When we take the square root of this average, we discover that the standard deviation of this set is about 3.02. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: The mean of these numbers is easily found to be 10.5. Note that we have here still another distribution with mean 10.5 and range 7. The deviations from the mean are 3.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 3.5. The squared deviations are 12.25, 6.25, 6.25, 6.25, 6.25, 6.25, 6.25, 12.25. The sum of these squared deviations is 64. There are 8 numbers in the distribution, so in calculating the modified 'average' use with the standard deviation we will divide the total 64 by 8 - 1 = 7 to get a modified 'average' of the squared deviations equal to 64/7 = 9.1. Taking the square root to get the standard deviation we obtain approximately 3.03. The quickest way to have calculated this standard deviation would be to note that the deviations of 7, 8, 13, and 14 from our previously calculated mean of 10.5 are respectively 3.5, 2.5, 2.5, and 3.5, corresponding to square deviations of 12.25, 6.25, 6.25, and 12.25. Noting that since 8 occurs three times and 13 occurs three times, the total of the squared deviations will be 12.25 + 3 * 6.25 + 3 * 6.25 + 12.25 = 12.25 + 18.75 + 18.75 + 12.25 = 64. The rest of the calculation is done as before. Using multiplication instead of addition to calculate the sum of the repeated numbers is more efficient then doing unnecessary repeated additions. Self-critique: OK ------------------------------------------------ Self-critique rating: OK ********************************************* Question: `q008. What is the maximum possible standard deviation for a set of six numbers ranging from 7 through 14 and averaging (7 + 14 ) / 2 = 10.5? YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: The maximum possible standard deviation for a set of numbers ranging from 7 to 14 (and averaging out at a mean of 10.5) could only be obtained by using a set of [7, 7, 7, 14, 14, and 14]. The set of deviations for this set of numbers is [3.5, 3.5, 3.5, 3.5, 3.5, and 3.5]. The set of squared deviations for this set of numbers is therefore, [12.25, 12.25, 12.25, 12.25, 12.25, and 12.25.] The average of this set is about 14.7. The square root of 14.7 is about 3.83, which means that this set of numbers has a standard deviation of 3.83. confidence rating #$&*: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.............................................
Given Solution: The maximum possible spread of the distribution would be achieved when half of the numbers are all 7 and the other half are all 14. This would give us the distribution of 7, 7, 7, 14, 14, 14. Each of these six numbers has a deviation of 3.5 from the mean of 10.5. Thus the squared deviation for each number is 12.25. Since there are six numbers in the distribution, the total of the squared deviations must be 6 * 12.25 = 75. Our modified average of the squared distributions will therefore be 75/5 = 15, and the standard deviation will be square root of 15 or approximately 3.9. Self-critique: OK ------------------------------------------------ Self-critique rating: OK " Self-critique (if necessary): ------------------------------------------------ Self-critique rating: " Self-critique (if necessary): ------------------------------------------------ Self-critique rating: #*&!