{"id":35,"date":"2021-01-12T22:19:25","date_gmt":"2021-01-12T22:19:25","guid":{"rendered":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/center-of-data\/"},"modified":"2021-09-13T16:32:36","modified_gmt":"2021-09-13T16:32:36","slug":"center-of-data","status":"publish","type":"chapter","link":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/center-of-data\/","title":{"rendered":"Center of Data"},"content":{"raw":"<span style=\"display: none;\">\r\n[latexpage]\r\n<\/span>\r\n<p id=\"element-848\">The \"center\" of a data set is also a way of describing location. The two most widely used measures of the \"center\" of the data are the <span id=\"term70\" data-type=\"term\">mean<\/span> (average) and the <span id=\"term71\" data-type=\"term\">median<\/span>. To calculate the <strong>mean weight<\/strong> of 50 people, add the 50 weights together and divide by 50. To find the <strong>median weight<\/strong> of the 50 people, order the data and find the number that splits the data into two equal parts. The median is generally a better measure of the center when there are extreme values or outliers because it is not affected by the precise numerical values of the outliers. The mean is the most common measure of the center.<\/p>\r\n\r\n<div id=\"eip-13\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"18141\" class=\"os-title-label\" data-type=\"\">NOTE<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"fs-idp62684352\">The words \u201cmean\u201d and \u201caverage\u201d are often used interchangeably. The substitution of one word for the other is common practice. The technical term is \u201carithmetic mean\u201d and \u201caverage\u201d is technically a center location. However, in practice among non-statisticians, \u201caverage\" is commonly accepted for \u201carithmetic mean.\u201d<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<p id=\"element-44\">When each value in the data set is not unique, the mean can be calculated by multiplying each distinct value by its frequency and then dividing the sum by the total number of data values. The letter used to represent the <strong>sample mean<\/strong> is an <em data-effect=\"italics\">x<\/em> with a bar over it (pronounced \u201c<em data-effect=\"italics\">x<\/em> bar\u201d): $\\bar{x}$<\/p>\r\n<p id=\"element-705\">The Greek letter <em data-effect=\"italics\">\u03bc<\/em> (pronounced \"mew\") represents the <strong>population mean<\/strong>. One of the requirements for the <strong>sample mean<\/strong> to be a good estimate of the <strong>population mean<\/strong> is for the sample taken to be truly random.<\/p>\r\n<p id=\"element-228\">To see that both ways of calculating the mean are the same, consider the sample:<span data-type=\"newline\">\r\n<\/span>1; 1; 1; 2; 2; 3; 4; 4; 4; 4; 4<\/p>\r\n$$\\bar{x} = \\frac{1+1+1+2+2+3+4+4+4+4+4}{11}=2.7$$\r\n\r\n$$\\bar{x} = \\frac{3\\cdot(1) + 2\\cdot (2) + 1\\cdot(3) + 5\\cdot (4)}{11} = 2.7$$\r\n\r\nIn the second calculation, the frequencies are 3, 2, 1, and 5.\r\n<p id=\"element-429\">You can quickly find the location of the median by using the expression $\\frac{n+1}{2}$<\/p>\r\n<p id=\"element-860\">The letter <em data-effect=\"italics\">n<\/em> is the total number of data values in the sample. If <em data-effect=\"italics\">n<\/em> is an odd number, the median is the middle value of the ordered data (ordered smallest to largest). If <em data-effect=\"italics\">n<\/em> is an even number, the median is equal to the two middle values added together and divided by two after the data has been ordered. For example, if the total number of data values is 97, then $\\frac{n+1}{2}=\\frac{97+1}{2}=49$. The median is the 49<sup>th<\/sup> value in the ordered data. If the total number of data values is 100, then $\\frac{n+1}{2} = \\frac{100+1}{2} = 50.5$. The median occurs midway between the 50<sup>th<\/sup> and 51<sup>st<\/sup> values. The location of the median and the value of the median are <strong>not<\/strong> the same. The upper case letter <em data-effect=\"italics\">M<\/em> is often used to represent the median (another symbol sometimes used to represent the median is $\\tilde{x}$). The next example illustrates the location of the median and the value of the median.<\/p>\r\n\r\n<div id=\"element-3\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.26<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"exer4\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id45306962\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"element-226\">AIDS data indicating the number of months a patient with AIDS lives after taking a new antibody drug are as follows (smallest to largest):<span data-type=\"newline\">\r\n<\/span>3; 4; 8; 8; 10; 11; 12; 13; 14; 15; 15; 16; 16; 17; 17; 18; 21; 22; 22; 24; 24; 25; 26; 26; 27; 27; 29; 29; 31; 32; 33; 33; 34; 34; 35; 37; 40; 44; 44; 47;<span data-type=\"newline\">\r\n<\/span>Calculate the mean and the median.<\/p>\r\n\r\n<h4><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.26<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-471\">The calculation for the mean is:<\/p>\r\n$\\bar x = \\frac{3+4+8+8+10+11+12+13+14+15+15+16+\\cdots+40+44+44+47}{40} = 23.6$\r\n\r\nTo find the median, <em data-effect=\"italics\">M<\/em>, first use the formula for the location. The location is:\r\n\r\n$M=\\frac{n+1}{2} = \\frac{40.1}{2}=20.5$\r\n\r\nStarting at the smallest value, the median is located between the 20<sup>th<\/sup> and 21<sup>st<\/sup> values (the two 24s):<span data-type=\"newline\">\r\n<\/span>3; 4; 8; 8; 10; 11; 12; 13; 14; 15; 15; 16; 16; 17; 17; 18; 21; 22; 22; 24; 24; 25; 26; 26; 27; 27; 29; 29; 31; 32; 33; 33; 34; 34; 35; 37; 40; 44; 44; 47;\r\n$M=\\frac{24+24}{2}=24$\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp50763088\" class=\"statistics textbox spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING GOOGLE SHEETS<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"fs-idp54507328\">To find the mean and the median,<\/p>\r\nWith your data entered into a spreadsheet in column A, enter the following formulas into an empty cell to find the Mean and Median respectively:\r\n<ul>\r\n \t<li><code>=AVERAGE(A:A)<\/code><\/li>\r\n \t<li><code>=MEDIAN(A:A)<\/code><\/li>\r\n<\/ul>\r\n<img class=\"alignnone size-full wp-image-442\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData.png\" alt=\"Screenshot of Google Sheets calculating mean and median\" width=\"503\" height=\"358\" \/>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp48953680\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.26<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm28353888\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm72704208\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"fs-idm46796800\">The following data show the number of months patients typically wait on a transplant list before getting surgery. The data are ordered from smallest to largest. Calculate the mean and median.<\/p>\r\n<p id=\"fs-idm114142640\"><span id=\"99027\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><span data-type=\"item\">3<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">4<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">5<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">9<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">9<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">11<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">13<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">14<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">14<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">15<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">15<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">17<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">17<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">18<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">19<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">19<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">19<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">21<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">21<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">22<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">22<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">23<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<\/span><\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-231\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.27<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"exer6\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id45393377\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"element-213\">Suppose that in a small town of 50 people, one person earns \\$5,000,000 per year and the other 49 each earn \\$30,000. Which is the better measure of the \"center\": the mean or the median?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id45393396\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" role=\"alert\">\r\n<div class=\"os-solution-container\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.27<\/span><\/h4>\r\n$$\\bar x = \\frac{5,000,000+49(30,000)}{50} = 129,400$$\r\n\r\n$M=30,000$\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-831\">(There are 49 people who earn \\$30,000 and one person who earns \\$5,000,000.)<\/p>\r\n<p id=\"element-564\">The median is a better measure of the \"center\" than the mean because 49 of the values are 30,000 and one is 5,000,000. The 5,000,000 is an outlier. The 30,000 gives us a better sense of the middle of the data.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp18783360\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.27<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm79009152\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm79009024\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"fs-idm10019504\">In a sample of 60 households, one house is worth \\$2,500,000. Twenty-nine houses are worth \\$280,000, and all the others are worth \\$315,000. Which is the better measure of the \u201ccenter\u201d: the mean or the median?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<p id=\"element-584\">Another measure of the center is the mode. The <span id=\"term72\" data-type=\"term\">mode<\/span> is the most frequent value. There can be more than one mode in a data set as long as those values have the same frequency and that frequency is the highest. A data set with two modes is called bimodal.<\/p>\r\n\r\n<div id=\"element-114\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.28<\/span><\/h3>\r\n<\/header><section>\r\n<p id=\"element-639\">Statistics exam scores for 20 students are as follows:<\/p>\r\n<p id=\"element-104\"><span id=\"set-536\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><span data-type=\"item\">50<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">53<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">59<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">59<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">63<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">63<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">76<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">78<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">81<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">83<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">84<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">84<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">84<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">90<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">93<\/span><\/span><\/p>\r\n\r\n<div id=\"exer3\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id44835721\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"element-32535\">Find the mode.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id44835735\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" role=\"alert\">\r\n<div data-type=\"solution-title\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.28<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-76\">The most frequent score is 72, which occurs five times. Mode = 72.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-76\"><\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp45793968\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.28<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm24402032\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm24643648\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"fs-idp74555792\">The number of books checked out from the library from 25 students are as follows:<\/p>\r\n<p id=\"fs-idm901328\"><span id=\"18215\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><span data-type=\"item\">0<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">0<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">0<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">1<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">2<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">3<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">3<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">4<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">4<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">5<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">5<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">9<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">11<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">11<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<\/span><\/span><span data-type=\"newline\">\r\n<\/span>Find the mode.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-725\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.29<\/span><\/h3>\r\n<\/header><section>\r\n<p id=\"element-622\">Five real estate exam scores are 430, 430, 480, 480, 495. The data set is bimodal because the scores 430 and 480 each occur twice.<\/p>\r\n<p id=\"element-353\">When is the mode the best measure of the \"center\"? Consider a weight loss program that advertises a mean weight loss of six pounds the first week of the program. The mode might indicate that most people lose two pounds the first week, making the program less appealing.<\/p>\r\n\r\n<div id=\"eip-146\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"29624\" class=\"os-title-label\" data-type=\"\">NOTE<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"fs-idm78257648\">The mode can be calculated for qualitative data as well as for quantitative data. For example, if the data set is: red, red, red, green, green, yellow, purple, black, blue, the mode is red.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<p id=\"element-660\" class=\"finger\">Statistical software will easily calculate the mean, the median, and the mode. Some graphing calculators can also make these calculations. In the real world, people make these calculations using software.<\/p>\r\n\r\n<\/section><\/div>\r\n<div id=\"fs-idp55881696\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.29<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm2098096\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm2097968\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"fs-idm5923360\">Five credit scores are 680, 680, 700, 720, 720. The data set is bimodal because the scores 680 and 720 each occur twice. Consider the annual earnings of workers at a factory. The mode is \\$25,000 and occurs 150 times out of 301. The median is \\$50,000 and the mean is \\$47,500. What would be the best measure of the \u201ccenter\u201d?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<section id=\"element-282\" data-depth=\"1\">\r\n<h3 data-type=\"title\">The Law of Large Numbers and the Mean<\/h3>\r\n<p id=\"element-41\">The Law of Large Numbers says that if you take samples of larger and larger size from any population, then the mean $\\bar x$ of the sample is very likely to get closer and closer to <em data-effect=\"italics\">\u00b5<\/em>. This is discussed in more detail later in the text.<\/p>\r\n\r\n<\/section><section id=\"eip-529\" data-depth=\"1\">\r\n<h3 data-type=\"title\">Sampling Distributions and Statistic of a Sampling Distribution<\/h3>\r\n<p id=\"eip-568\">You can think of a <span id=\"term73\" data-type=\"term\">sampling distribution<\/span> as a <strong>relative frequency distribution<\/strong> with a great many samples. (See <strong>Sampling and Data<\/strong> for a review of relative frequency). Suppose thirty randomly selected students were asked the number of movies they watched the previous week. The results are in the <strong>relative frequency table<\/strong> shown below.<\/p>\r\n\r\n<div id=\"rel_freq_table\" class=\"os-table\">\r\n<table summary=\"Table 2.24 \" data-id=\"rel_freq_table\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"># of movies<\/th>\r\n<th scope=\"col\">Relative Frequency<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>0<\/td>\r\n<td>$\\frac{5}{30}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>$\\frac{15}{30}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>$\\frac{6}{30}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>$\\frac{3}{30}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>$\\frac{1}{30}$<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table<\/span><span class=\"os-number\">2.24<\/span><\/div>\r\n<\/div>\r\n<p id=\"eip-7\"><strong>If you let the number of samples get very large (say, 300 million or more), the relative frequency table becomes a relative frequency distribution<\/strong>.<\/p>\r\n<p id=\"eip-309\">A <strong>statistic<\/strong> is a number calculated from a sample. Statistic examples include the mean, the median and the mode as well as others. The sample mean $\\bar x$ is an example of a statistic which estimates the population mean <em data-effect=\"italics\">\u03bc<\/em>.<\/p>\r\n\r\n<\/section><section id=\"fs-idp28527728\" data-depth=\"1\">\r\n<h3 data-type=\"title\">Calculating the Mean of Grouped Frequency Tables<\/h3>\r\n<p id=\"fs-idp16870784\">When only grouped data is available, you do not know the individual data values (we only know intervals and interval frequencies); therefore, you cannot compute an exact mean for the data set. What we must do is estimate the actual mean by calculating the mean of a frequency table. A frequency table is a data representation in which grouped data is displayed along with the corresponding frequencies. To calculate the mean from a grouped frequency table we can apply the basic definition of mean: $\\text{mean} = \\frac{\\text{data sum}}{\\text{number of data values}}$. We simply need to modify the definition to fit within the restrictions of a frequency table.<\/p>\r\n<p id=\"fs-idp28261664\">Since we do not know the individual data values we can instead find the midpoint of each interval. The midpoint of the first class is the mean of the lower class limit and the upper class limit. That is $\\frac{\\text{first class' lower boundary + upper boundary}}{2}$. Once we have this first class midpoint, we can successively add the class width to get the subsequent midpoints, or calculate each class midpoint the same way as we calculated first class midpoint. (Recall that the class width is the difference between lower class limits). We can now modify the mean definition to be $\\bar x = \\frac{\\sum f\\cdot m}{\\sum f}$ the frequency of the interval and <em data-effect=\"italics\">m<\/em> = the midpoint of the interval.<\/p>\r\n&nbsp;\r\n<div id=\"fs-idp59127680\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.30<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idp61839840\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idp47622112\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"fs-idm6896112\">A frequency table displaying professor Blount\u2019s last statistic test is shown. Find the best estimate of the class mean.<\/p>\r\n\r\n<div id=\"fs-idp32456976\" class=\"os-table\">\r\n<table style=\"width: 542px;\" summary=\"Table 2.25 \" data-id=\"fs-idp32456976\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 232px;\" scope=\"col\">Grade Interval<\/th>\r\n<th style=\"width: 310px;\" scope=\"col\">Number of Students<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;51 - 56.5&quot;}\">51 - 56.5<\/td>\r\n<td style=\"width: 310px;\">1<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;57 - 62.5&quot;}\">57 - 62.5<\/td>\r\n<td style=\"width: 310px;\">0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63 - 68.5&quot;}\">63 - 68.5<\/td>\r\n<td style=\"width: 310px;\">4<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;69 - 74.5&quot;}\">69 - 74.5<\/td>\r\n<td style=\"width: 310px;\">4<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;75 - 80.5&quot;}\">75 - 80.5<\/td>\r\n<td style=\"width: 310px;\">2<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;81 - 86.5&quot;}\">81 - 86.5<\/td>\r\n<td style=\"width: 310px;\">3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;87 - 92.5&quot;}\">87 - 92.5<\/td>\r\n<td style=\"width: 310px;\">4<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;93 - 98.5&quot;}\">93 - 98.5<\/td>\r\n<td style=\"width: 310px;\">1<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table<\/span><span class=\"os-number\">2.25<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-idp56820112\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.30<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<ul id=\"fs-idp26414448\">\r\n \t<li>Find the midpoints for all intervals<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<section class=\"ui-body\" role=\"alert\">\r\n<div class=\"os-solution-container\">\r\n<ul id=\"fs-idp26414448\"><\/ul>\r\n<div id=\"fs-idp15194576\" class=\"os-table\">\r\n<table style=\"width: 514px;\" summary=\"Table 2.26 \" data-id=\"fs-idp15194576\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 292px;\" scope=\"col\">Grade Interval<\/th>\r\n<th style=\"width: 222px;\" scope=\"col\">Midpoint<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;51 - 56.5&quot;}\">51 - 56.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:53.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">53.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;57 - 62.5&quot;}\">57 - 62.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:59.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">59.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63 - 68.5&quot;}\">63 - 68.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:65.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">65.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;69 - 74.5&quot;}\">69 - 74.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:71.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">71.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;75 - 80.5&quot;}\">75 - 80.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:77.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">77.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;81 - 86.5&quot;}\">81 - 86.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:83.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">83.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;87 - 92.5&quot;}\">87 - 92.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:89.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">89.75<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;93 - 98.5&quot;}\">93 - 98.5<\/td>\r\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:95.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">95.75<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><\/div>\r\n<\/div>\r\n<ul id=\"fs-idp72598816\">\r\n \t<li>Calculate the sum of the product of each interval frequency and midpoint.\r\n$\\sum f\\cdot m = 1(53.75) + 0(59.75) + 4(65.75) + 4(71.75) + 2(77.75) + 3(83.75) + 4(89.75) + 1(95.75) = 1465.25$<\/li>\r\n \t<li>$\\bar x = \\frac{\\sum f\\cdot m}{\\sum f} = \\frac{1465.25}{19} = 77.1184$<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm52755520\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.30<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idp22476928\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idp50951968\" data-type=\"problem\">\r\n<div class=\"os-problem-container\">\r\n<p id=\"fs-idm11216000\">Maris conducted a study on the effect that playing video games has on memory recall. As part of her study, she compiled the following data:<\/p>\r\n\r\n<div id=\"fs-idm6918832\" class=\"os-table\">\r\n<table summary=\"Table 2.27 \" data-id=\"fs-idm6918832\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\">Hours Teenagers Spend on Video Games<\/th>\r\n<th scope=\"col\">Number of Teenagers<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>0\u20133.5<\/td>\r\n<td>3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4\u20137.5<\/td>\r\n<td>7<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>8\u201311.5<\/td>\r\n<td>12<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>12\u201315.5<\/td>\r\n<td>7<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>16\u201319.5<\/td>\r\n<td>9<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table<\/span><span class=\"os-number\">2.27<\/span><\/div>\r\n<\/div>\r\n<p id=\"fs-idp10596832\">What is the best estimate for the mean number of hours spent playing video games?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section>","rendered":"<p><span style=\"display: none;\"><br \/>\n[latexpage]<br \/>\n<\/span><\/p>\n<p id=\"element-848\">The &#8220;center&#8221; of a data set is also a way of describing location. The two most widely used measures of the &#8220;center&#8221; of the data are the <span id=\"term70\" data-type=\"term\">mean<\/span> (average) and the <span id=\"term71\" data-type=\"term\">median<\/span>. To calculate the <strong>mean weight<\/strong> of 50 people, add the 50 weights together and divide by 50. To find the <strong>median weight<\/strong> of the 50 people, order the data and find the number that splits the data into two equal parts. The median is generally a better measure of the center when there are extreme values or outliers because it is not affected by the precise numerical values of the outliers. The mean is the most common measure of the center.<\/p>\n<div id=\"eip-13\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"18141\" class=\"os-title-label\" data-type=\"\">NOTE<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"fs-idp62684352\">The words \u201cmean\u201d and \u201caverage\u201d are often used interchangeably. The substitution of one word for the other is common practice. The technical term is \u201carithmetic mean\u201d and \u201caverage\u201d is technically a center location. However, in practice among non-statisticians, \u201caverage&#8221; is commonly accepted for \u201carithmetic mean.\u201d<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-44\">When each value in the data set is not unique, the mean can be calculated by multiplying each distinct value by its frequency and then dividing the sum by the total number of data values. The letter used to represent the <strong>sample mean<\/strong> is an <em data-effect=\"italics\">x<\/em> with a bar over it (pronounced \u201c<em data-effect=\"italics\">x<\/em> bar\u201d): $\\bar{x}$<\/p>\n<p id=\"element-705\">The Greek letter <em data-effect=\"italics\">\u03bc<\/em> (pronounced &#8220;mew&#8221;) represents the <strong>population mean<\/strong>. One of the requirements for the <strong>sample mean<\/strong> to be a good estimate of the <strong>population mean<\/strong> is for the sample taken to be truly random.<\/p>\n<p id=\"element-228\">To see that both ways of calculating the mean are the same, consider the sample:<span data-type=\"newline\"><br \/>\n<\/span>1; 1; 1; 2; 2; 3; 4; 4; 4; 4; 4<\/p>\n<p>$$\\bar{x} = \\frac{1+1+1+2+2+3+4+4+4+4+4}{11}=2.7$$<\/p>\n<p>$$\\bar{x} = \\frac{3\\cdot(1) + 2\\cdot (2) + 1\\cdot(3) + 5\\cdot (4)}{11} = 2.7$$<\/p>\n<p>In the second calculation, the frequencies are 3, 2, 1, and 5.<\/p>\n<p id=\"element-429\">You can quickly find the location of the median by using the expression $\\frac{n+1}{2}$<\/p>\n<p id=\"element-860\">The letter <em data-effect=\"italics\">n<\/em> is the total number of data values in the sample. If <em data-effect=\"italics\">n<\/em> is an odd number, the median is the middle value of the ordered data (ordered smallest to largest). If <em data-effect=\"italics\">n<\/em> is an even number, the median is equal to the two middle values added together and divided by two after the data has been ordered. For example, if the total number of data values is 97, then $\\frac{n+1}{2}=\\frac{97+1}{2}=49$. The median is the 49<sup>th<\/sup> value in the ordered data. If the total number of data values is 100, then $\\frac{n+1}{2} = \\frac{100+1}{2} = 50.5$. The median occurs midway between the 50<sup>th<\/sup> and 51<sup>st<\/sup> values. The location of the median and the value of the median are <strong>not<\/strong> the same. The upper case letter <em data-effect=\"italics\">M<\/em> is often used to represent the median (another symbol sometimes used to represent the median is $\\tilde{x}$). The next example illustrates the location of the median and the value of the median.<\/p>\n<div id=\"element-3\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.26<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"exer4\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id45306962\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-226\">AIDS data indicating the number of months a patient with AIDS lives after taking a new antibody drug are as follows (smallest to largest):<span data-type=\"newline\"><br \/>\n<\/span>3; 4; 8; 8; 10; 11; 12; 13; 14; 15; 15; 16; 16; 17; 17; 18; 21; 22; 22; 24; 24; 25; 26; 26; 27; 27; 29; 29; 31; 32; 33; 33; 34; 34; 35; 37; 40; 44; 44; 47;<span data-type=\"newline\"><br \/>\n<\/span>Calculate the mean and the median.<\/p>\n<h4><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.26<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-471\">The calculation for the mean is:<\/p>\n<p>$\\bar x = \\frac{3+4+8+8+10+11+12+13+14+15+15+16+\\cdots+40+44+44+47}{40} = 23.6$<\/p>\n<p>To find the median, <em data-effect=\"italics\">M<\/em>, first use the formula for the location. The location is:<\/p>\n<p>$M=\\frac{n+1}{2} = \\frac{40.1}{2}=20.5$<\/p>\n<p>Starting at the smallest value, the median is located between the 20<sup>th<\/sup> and 21<sup>st<\/sup> values (the two 24s):<span data-type=\"newline\"><br \/>\n<\/span>3; 4; 8; 8; 10; 11; 12; 13; 14; 15; 15; 16; 16; 17; 17; 18; 21; 22; 22; 24; 24; 25; 26; 26; 27; 27; 29; 29; 31; 32; 33; 33; 34; 34; 35; 37; 40; 44; 44; 47;<br \/>\n$M=\\frac{24+24}{2}=24$<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp50763088\" class=\"statistics textbox spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING GOOGLE SHEETS<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"fs-idp54507328\">To find the mean and the median,<\/p>\n<p>With your data entered into a spreadsheet in column A, enter the following formulas into an empty cell to find the Mean and Median respectively:<\/p>\n<ul>\n<li><code>=AVERAGE(A:A)<\/code><\/li>\n<li><code>=MEDIAN(A:A)<\/code><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-442\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData.png\" alt=\"Screenshot of Google Sheets calculating mean and median\" width=\"503\" height=\"358\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData.png 503w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData-300x214.png 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData-65x46.png 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData-225x160.png 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/CenterOfData-350x249.png 350w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp48953680\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.26<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm28353888\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm72704208\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm46796800\">The following data show the number of months patients typically wait on a transplant list before getting surgery. The data are ordered from smallest to largest. Calculate the mean and median.<\/p>\n<p id=\"fs-idm114142640\"><span id=\"99027\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><span data-type=\"item\">3<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">4<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">5<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">9<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">9<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">11<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">13<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">14<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">14<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">15<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">15<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">17<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">17<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">18<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">19<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">19<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">19<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">21<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">21<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">22<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">22<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">23<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">24<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-231\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.27<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"exer6\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id45393377\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-213\">Suppose that in a small town of 50 people, one person earns \\$5,000,000 per year and the other 49 each earn \\$30,000. Which is the better measure of the &#8220;center&#8221;: the mean or the median?<\/p>\n<\/div>\n<\/div>\n<div id=\"id45393396\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" role=\"alert\">\n<div class=\"os-solution-container\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.27<\/span><\/h4>\n<p>$$\\bar x = \\frac{5,000,000+49(30,000)}{50} = 129,400$$<\/p>\n<p>$M=30,000$<\/p>\n<div class=\"os-solution-container\">\n<p id=\"element-831\">(There are 49 people who earn \\$30,000 and one person who earns \\$5,000,000.)<\/p>\n<p id=\"element-564\">The median is a better measure of the &#8220;center&#8221; than the mean because 49 of the values are 30,000 and one is 5,000,000. The 5,000,000 is an outlier. The 30,000 gives us a better sense of the middle of the data.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp18783360\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.27<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm79009152\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm79009024\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm10019504\">In a sample of 60 households, one house is worth \\$2,500,000. Twenty-nine houses are worth \\$280,000, and all the others are worth \\$315,000. Which is the better measure of the \u201ccenter\u201d: the mean or the median?<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-584\">Another measure of the center is the mode. The <span id=\"term72\" data-type=\"term\">mode<\/span> is the most frequent value. There can be more than one mode in a data set as long as those values have the same frequency and that frequency is the highest. A data set with two modes is called bimodal.<\/p>\n<div id=\"element-114\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.28<\/span><\/h3>\n<\/header>\n<section>\n<p id=\"element-639\">Statistics exam scores for 20 students are as follows:<\/p>\n<p id=\"element-104\"><span id=\"set-536\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><span data-type=\"item\">50<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">53<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">59<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">59<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">63<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">63<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">72<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">76<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">78<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">81<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">83<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">84<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">84<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">84<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">90<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">93<\/span><\/span><\/p>\n<div id=\"exer3\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id44835721\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-32535\">Find the mode.<\/p>\n<\/div>\n<\/div>\n<div id=\"id44835735\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" role=\"alert\">\n<div data-type=\"solution-title\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.28<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-76\">The most frequent score is 72, which occurs five times. Mode = 72.<\/p>\n<\/div>\n<\/div>\n<div class=\"os-solution-container\">\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp45793968\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.28<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm24402032\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm24643648\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idp74555792\">The number of books checked out from the library from 25 students are as follows:<\/p>\n<p id=\"fs-idm901328\"><span id=\"18215\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><span data-type=\"item\">0<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">0<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">0<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">1<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">2<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">3<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">3<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">4<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">4<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">5<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">5<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">7<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">8<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">9<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">10<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">11<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">11<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<span class=\"-os-inline-list-separator\">; <\/span><\/span><span data-type=\"item\">12<\/span><\/span><span data-type=\"newline\"><br \/>\n<\/span>Find the mode.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-725\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.29<\/span><\/h3>\n<\/header>\n<section>\n<p id=\"element-622\">Five real estate exam scores are 430, 430, 480, 480, 495. The data set is bimodal because the scores 430 and 480 each occur twice.<\/p>\n<p id=\"element-353\">When is the mode the best measure of the &#8220;center&#8221;? Consider a weight loss program that advertises a mean weight loss of six pounds the first week of the program. The mode might indicate that most people lose two pounds the first week, making the program less appealing.<\/p>\n<div id=\"eip-146\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"29624\" class=\"os-title-label\" data-type=\"\">NOTE<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"fs-idm78257648\">The mode can be calculated for qualitative data as well as for quantitative data. For example, if the data set is: red, red, red, green, green, yellow, purple, black, blue, the mode is red.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-660\" class=\"finger\">Statistical software will easily calculate the mean, the median, and the mode. Some graphing calculators can also make these calculations. In the real world, people make these calculations using software.<\/p>\n<\/section>\n<\/div>\n<div id=\"fs-idp55881696\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.29<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm2098096\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm2097968\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm5923360\">Five credit scores are 680, 680, 700, 720, 720. The data set is bimodal because the scores 680 and 720 each occur twice. Consider the annual earnings of workers at a factory. The mode is \\$25,000 and occurs 150 times out of 301. The median is \\$50,000 and the mean is \\$47,500. What would be the best measure of the \u201ccenter\u201d?<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"element-282\" data-depth=\"1\">\n<h3 data-type=\"title\">The Law of Large Numbers and the Mean<\/h3>\n<p id=\"element-41\">The Law of Large Numbers says that if you take samples of larger and larger size from any population, then the mean $\\bar x$ of the sample is very likely to get closer and closer to <em data-effect=\"italics\">\u00b5<\/em>. This is discussed in more detail later in the text.<\/p>\n<\/section>\n<section id=\"eip-529\" data-depth=\"1\">\n<h3 data-type=\"title\">Sampling Distributions and Statistic of a Sampling Distribution<\/h3>\n<p id=\"eip-568\">You can think of a <span id=\"term73\" data-type=\"term\">sampling distribution<\/span> as a <strong>relative frequency distribution<\/strong> with a great many samples. (See <strong>Sampling and Data<\/strong> for a review of relative frequency). Suppose thirty randomly selected students were asked the number of movies they watched the previous week. The results are in the <strong>relative frequency table<\/strong> shown below.<\/p>\n<div id=\"rel_freq_table\" class=\"os-table\">\n<table summary=\"Table 2.24\" data-id=\"rel_freq_table\">\n<thead>\n<tr>\n<th scope=\"col\"># of movies<\/th>\n<th scope=\"col\">Relative Frequency<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>$\\frac{5}{30}$<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>$\\frac{15}{30}$<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>$\\frac{6}{30}$<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>$\\frac{3}{30}$<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>$\\frac{1}{30}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table<\/span><span class=\"os-number\">2.24<\/span><\/div>\n<\/div>\n<p id=\"eip-7\"><strong>If you let the number of samples get very large (say, 300 million or more), the relative frequency table becomes a relative frequency distribution<\/strong>.<\/p>\n<p id=\"eip-309\">A <strong>statistic<\/strong> is a number calculated from a sample. Statistic examples include the mean, the median and the mode as well as others. The sample mean $\\bar x$ is an example of a statistic which estimates the population mean <em data-effect=\"italics\">\u03bc<\/em>.<\/p>\n<\/section>\n<section id=\"fs-idp28527728\" data-depth=\"1\">\n<h3 data-type=\"title\">Calculating the Mean of Grouped Frequency Tables<\/h3>\n<p id=\"fs-idp16870784\">When only grouped data is available, you do not know the individual data values (we only know intervals and interval frequencies); therefore, you cannot compute an exact mean for the data set. What we must do is estimate the actual mean by calculating the mean of a frequency table. A frequency table is a data representation in which grouped data is displayed along with the corresponding frequencies. To calculate the mean from a grouped frequency table we can apply the basic definition of mean: $\\text{mean} = \\frac{\\text{data sum}}{\\text{number of data values}}$. We simply need to modify the definition to fit within the restrictions of a frequency table.<\/p>\n<p id=\"fs-idp28261664\">Since we do not know the individual data values we can instead find the midpoint of each interval. The midpoint of the first class is the mean of the lower class limit and the upper class limit. That is $\\frac{\\text{first class&#8217; lower boundary + upper boundary}}{2}$. Once we have this first class midpoint, we can successively add the class width to get the subsequent midpoints, or calculate each class midpoint the same way as we calculated first class midpoint. (Recall that the class width is the difference between lower class limits). We can now modify the mean definition to be $\\bar x = \\frac{\\sum f\\cdot m}{\\sum f}$ the frequency of the interval and <em data-effect=\"italics\">m<\/em> = the midpoint of the interval.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"fs-idp59127680\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">EXAMPLE <\/span><span class=\"os-number\">2.30<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idp61839840\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idp47622112\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm6896112\">A frequency table displaying professor Blount\u2019s last statistic test is shown. Find the best estimate of the class mean.<\/p>\n<div id=\"fs-idp32456976\" class=\"os-table\">\n<table style=\"width: 542px;\" summary=\"Table 2.25\" data-id=\"fs-idp32456976\">\n<thead>\n<tr>\n<th style=\"width: 232px;\" scope=\"col\">Grade Interval<\/th>\n<th style=\"width: 310px;\" scope=\"col\">Number of Students<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;51 - 56.5&quot;}\">51 &#8211; 56.5<\/td>\n<td style=\"width: 310px;\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;57 - 62.5&quot;}\">57 &#8211; 62.5<\/td>\n<td style=\"width: 310px;\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63 - 68.5&quot;}\">63 &#8211; 68.5<\/td>\n<td style=\"width: 310px;\">4<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;69 - 74.5&quot;}\">69 &#8211; 74.5<\/td>\n<td style=\"width: 310px;\">4<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;75 - 80.5&quot;}\">75 &#8211; 80.5<\/td>\n<td style=\"width: 310px;\">2<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;81 - 86.5&quot;}\">81 &#8211; 86.5<\/td>\n<td style=\"width: 310px;\">3<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;87 - 92.5&quot;}\">87 &#8211; 92.5<\/td>\n<td style=\"width: 310px;\">4<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;93 - 98.5&quot;}\">93 &#8211; 98.5<\/td>\n<td style=\"width: 310px;\">1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table<\/span><span class=\"os-number\">2.25<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"fs-idp56820112\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">2.30<\/span><\/h4>\n<div class=\"os-solution-container\">\n<ul id=\"fs-idp26414448\">\n<li>Find the midpoints for all intervals<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<section class=\"ui-body\" role=\"alert\">\n<div class=\"os-solution-container\">\n<ul><\/ul>\n<div id=\"fs-idp15194576\" class=\"os-table\">\n<table style=\"width: 514px;\" summary=\"Table 2.26\" data-id=\"fs-idp15194576\">\n<thead>\n<tr>\n<th style=\"width: 292px;\" scope=\"col\">Grade Interval<\/th>\n<th style=\"width: 222px;\" scope=\"col\">Midpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;51 - 56.5&quot;}\">51 &#8211; 56.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:53.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">53.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;57 - 62.5&quot;}\">57 &#8211; 62.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:59.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">59.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63 - 68.5&quot;}\">63 &#8211; 68.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:65.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">65.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;69 - 74.5&quot;}\">69 &#8211; 74.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:71.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">71.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;75 - 80.5&quot;}\">75 &#8211; 80.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:77.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">77.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;81 - 86.5&quot;}\">81 &#8211; 86.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:83.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">83.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;87 - 92.5&quot;}\">87 &#8211; 92.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:89.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">89.75<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 292px;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;93 - 98.5&quot;}\">93 &#8211; 98.5<\/td>\n<td style=\"width: 222px;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:95.75}\" data-sheets-formula=\"=iferror(AVERAGE(value(left(R[0]C[-2],find(&quot; - &quot;, R[0]C[-2]))),value(mid(R[0]C[-2], find(&quot; - &quot;,R[0]C[-2])+3,100))))\">95.75<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><\/div>\n<\/div>\n<ul id=\"fs-idp72598816\">\n<li>Calculate the sum of the product of each interval frequency and midpoint.<br \/>\n$\\sum f\\cdot m = 1(53.75) + 0(59.75) + 4(65.75) + 4(71.75) + 2(77.75) + 3(83.75) + 4(89.75) + 1(95.75) = 1465.25$<\/li>\n<li>$\\bar x = \\frac{\\sum f\\cdot m}{\\sum f} = \\frac{1465.25}{19} = 77.1184$<\/li>\n<\/ul>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm52755520\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">TRY IT <\/span><span class=\"os-number\">2.30<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idp22476928\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idp50951968\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm11216000\">Maris conducted a study on the effect that playing video games has on memory recall. As part of her study, she compiled the following data:<\/p>\n<div id=\"fs-idm6918832\" class=\"os-table\">\n<table summary=\"Table 2.27\" data-id=\"fs-idm6918832\">\n<thead>\n<tr>\n<th scope=\"col\">Hours Teenagers Spend on Video Games<\/th>\n<th scope=\"col\">Number of Teenagers<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0\u20133.5<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>4\u20137.5<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td>8\u201311.5<\/td>\n<td>12<\/td>\n<\/tr>\n<tr>\n<td>12\u201315.5<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td>16\u201319.5<\/td>\n<td>9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table<\/span><span class=\"os-number\">2.27<\/span><\/div>\n<\/div>\n<p id=\"fs-idp10596832\">What is the best estimate for the mean number of hours spent playing video games?<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n","protected":false},"author":1,"menu_order":5,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-35","chapter","type-chapter","status-publish","hentry"],"part":30,"_links":{"self":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":9,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/35\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/35\/revisions\/503"}],"part":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/parts\/30"}],"metadata":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/35\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=35"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/contributor?post=35"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/license?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}