Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
MAT 1000 Mathematics in Today's World Last Time 1. Three keys to summarize a collection of data: shape, center, spread. 2. Can measure spread with the fivenumber summary. 3. The five-number summary can be represented visually by a boxplot, which is useful for making comparisons between distributions. Today Another measurement for the spread of a distribution: the standard deviation. For a distribution of the correct shape, the two numbers mean and standard deviation give us more information than the whole five-number summary. These special shaped distributions are called normal distributions, and they are very common. Standard deviation Spread should describe how widely data values are dispersed about the center. Finding the standard deviation uses the mean π₯ as the center. The standard deviation is the βaverageβ of the distance of each data value π₯π from the mean π₯. Standard deviation The standard deviation can be either a parameter or a statistic. Parameter: π (This is a Greek letter. It is pronounced βsigma.β) Statistic: π For the following we will assume we are computing a statistic π Standard deviation Example Letβs find the standard deviation of 7, 8, 11, 14, (assuming these are from a sample). First, find the mean 7 + 8 + 11 + 14 π₯= = 10 4 Standard deviation Now we make a table π₯π π₯π β π₯ 7 8 11 14 7 β 10 = β3 8 β 10 = β2 11 β 10 = 1 14 β 10 = 4 (π₯π β π₯)2 β3 β2 2 1 4 2 2 2 =9 =4 =1 = 16 30 Add up all the numbers in the last column. Standard deviation We divide that sum by one less than the number of data values. Remember the data set is: 7, 8, 11, 14. This has 4 values, so we divide the sum 30 by 3 30 = 10 3 This number is called the variance. Standard deviation The standard deviation is the square root of the variance. 10 β 3.16 Standard deviation Letβs review the steps we took, using π₯ for the mean and π₯1 , π₯2 , β¦ , π₯π for the π data values. 1. We found the difference of each data value and the mean: π₯π βπ₯ 2. We squared each of these numbers: π₯π β π₯ 2 3. Add all of these up: π₯1 β π₯ 2 + π₯2 β π₯ 2 + β― + π₯π β π₯ 2 4. Divide by π β 1, and take a square root: π₯1 β π₯ 2 + π₯2 β π₯ 2 + β― + π₯π β π₯ πβ1 2 Standard deviation This is the formula for the standard deviation you will be given on tests π = π₯1 β π₯ 2 + π₯2 β π₯ 2 + β― + π₯π β π₯ πβ1 The key is to remember the steps this formula describes. 2 Standard deviation Notes We divide by π β 1 because we are computing a statistic (the reason is subtle but important). If we were finding a parameter, we would divide by π If the data values have units, then the mean and standard deviation have the same units. Standard deviation How should we interpret the standard deviation? If the standard deviation is 0 then there is no deviation from the mean (all the data is equal) Otherwise, the standard deviation will be positive. The larger the value of the standard deviation, the more spread out the data. Five-number summary and standard deviation We have two ways to measure the center and spread of a distribution: 1. The five-number summary 2. The mean and standard deviation. If the data is symmetric without many outliers, we will see that the mean and standard deviation give lots of information. If the data is not very symmetric, or has lots of outliers, the five-number summary is best. Normal distributions The goal is to summarize large data sets. For a one number summary, measures of center like mean or median are the best we have, but no one number summary is very informative. It may be surprising, but for a large group of commonly occurring distributions, a two number summary can be quite informative. These distributions are called normal distributions. Normal distributions Normal distributions all have a particular shape: fairly symmetric, one peak, few outliers, and a characteristic βbellβ shape. The shape is easier to see with a smooth curveβ¦ Normal distributions As a histogram. Normal distributions As a smooth curve. Normal distributions Both at once. Normal distributions As a histogram. Normal distributions As a smooth curve Normal distributions Both at once. Normal distributions If we know the mean π₯ and the standard deviation π of a normal distribution, we can get lots of information. We can get (close to) Q1, the median, and Q3. Since normal distributions are very symmetric, the median is very close to π₯. Normal distributions What about the first and third quartiles of a normal distribution? The first quartile Q1 is: π₯ β 0.67π In words, multiply π by 0.67, then find π₯ minus that. The third quartile Q3 is: π₯ + 0.67π In words, multiply π by 0.67, then add that to π₯. Normal distributions Example The heights of men in the US are normally distributed with mean 69.3 in. (5β² 9") and standard deviation 2.9 in. (notice the unit of the standard deviation is in.). Find the median, Q1, and Q3. The median height is equal to the mean, 69.3 in. Q1 is 69.3 β 0.67 2.9 = 67.4 in. = 5β² 7" Q3 is 69.3 + 0.67 2.9 = 71.2 in. = 5β² 11" Normal distributions Remember that 25% of the data is below Q1, and 75% is below Q3 This is the same as saying β50% of the data is between Q1 and Q3." So in a normal distribution, the middle 50% of the data is between: π₯ β 0.67π and π₯ + 0.67π Normal distributions Remember: not every distribution is normal. Donβt use the formulas π₯ β 0.67π and π₯ + 0.67π unless you know the distribution is normal. Normal distributions have a specific shape: symmetric, one peak, few outliers, and no clusters. How can you tell if a distribution is normal? Look at a histogram or a stemplot!