{"id":69,"date":"2021-01-12T22:19:39","date_gmt":"2021-01-12T22:19:39","guid":{"rendered":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/a-population-proportion\/"},"modified":"2021-09-09T18:36:22","modified_gmt":"2021-09-09T18:36:22","slug":"a-population-proportion","status":"publish","type":"chapter","link":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/a-population-proportion\/","title":{"rendered":"A Population Proportion"},"content":{"raw":"<span style=\"display: none;\">\r\n[latexpage]\r\n<\/span>\r\n<div id=\"40dc2960-9ad3-4f5a-acd4-606a1f6fbfb1\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\r\n<p id=\"eip-494\">During an election year, we see articles in the newspaper that state <span id=\"term159\" data-type=\"term\">confidence intervals<\/span> in terms of proportions or percentages. For example, a poll for a particular candidate running for president might show that the candidate has 40% of the vote within three percentage points (if the sample is large enough). Often, election polls are calculated with 95% confidence, so, the pollsters would be 95% confident that the true proportion of voters who favored the candidate would be between 0.37 and 0.43: (0.40 \u2013 0.03,0.40 + 0.03).<\/p>\r\n<p id=\"element-292\">Investors in the stock market are interested in the true proportion of stocks that go up and down each week. Businesses that sell personal computers are interested in the proportion of households in the United States that own personal computers. Confidence intervals can be calculated for the true proportion of stocks that go up or down each week and for the true proportion of households in the United States that own personal computers.<\/p>\r\n<p id=\"element-918\">The procedure to find the confidence interval, the sample size, the <span id=\"term160\" data-type=\"term\">margin of error<\/span> or <span id=\"term160\" data-type=\"term\">margin of error<\/span>, and the <span id=\"term161\" data-type=\"term\">confidence level<\/span> for a proportion is similar to that for the population mean, but the formulas are different.<\/p>\r\n<p id=\"element-574\"><strong>How do you know you are dealing with a proportion problem?<\/strong> First, the underlying <strong>distribution is a<\/strong> <span id=\"term162\" data-type=\"term\">binomial distribution<\/span>. (There is no mention of a mean or average.) If <em data-effect=\"italics\">X<\/em> is a binomial random variable, then <em data-effect=\"italics\">X<\/em> ~ <em data-effect=\"italics\">B<\/em>(<em data-effect=\"italics\">n<\/em>, <em data-effect=\"italics\">p<\/em>) where <em data-effect=\"italics\">n<\/em> is the number of trials and <em data-effect=\"italics\">p<\/em> is the probability of a success. To form a proportion, take <em data-effect=\"italics\">X<\/em>, the random variable for the number of successes and divide it by <em data-effect=\"italics\">n<\/em>, the number of trials (or the sample size). The random variable $\\hat P$ (read \"P hat\") is that proportion,<\/p>\r\n$\\hat P = \\frac{X}{n}$.\r\n<p id=\"element-959\">When <em data-effect=\"italics\">n<\/em> is large and <em data-effect=\"italics\">p<\/em> is not close to zero or one, we can use the <span id=\"term163\" data-type=\"term\">normal distribution<\/span> to approximate the binomial.<\/p>\r\n$X \\sim N(np, \\sqrt{npq})$\r\n<p id=\"element-76\">If we divide the random variable, the mean, and the standard deviation by <em data-effect=\"italics\">n<\/em>, we get a normal distribution of proportions with <em data-effect=\"italics\">P\u2032<\/em>, called the estimated proportion, as the random variable. (Recall that a proportion as the number of successes divided by <em data-effect=\"italics\">n<\/em>.)<\/p>\r\n$\\frac{X}{n} = \\hat P \\sim N \\left( \\frac{np}{n}, \\frac{\\sqrt{npq}}{n} \\right)$\r\n\r\nUsing algebra to simplify : <span class=\"os-math-in-para\"><span id=\"MathJax-Element-90-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-1239\" class=\"math\" style=\"width: 6.419em; display: inline-block;\"><span style=\"display: inline-block; position: relative; width: 5.448em; font-size: 118%;\"><span style=\"position: absolute; clip: rect(1.076em, 1005.45em, 3.239em, -1000em); top: -2.421em; left: 0em;\"><span id=\"MathJax-Span-1240\" class=\"mrow\"><span id=\"MathJax-Span-1241\" class=\"semantics\"><span id=\"MathJax-Span-1242\" class=\"mrow\"><span id=\"MathJax-Span-1243\" class=\"mrow\"><span id=\"MathJax-Span-1244\" class=\"mfrac\"><span style=\"display: inline-block; position: relative; width: 1.814em; margin-right: 0.12em; margin-left: 0.12em;\"><span style=\"position: absolute; clip: rect(3.387em, 1001.69em, 4.457em, -1000em); top: -4.699em; left: 50%; margin-left: -0.847em;\"><span id=\"MathJax-Span-1245\" class=\"mrow\"><span id=\"MathJax-Span-1246\" class=\"msqrt\"><span style=\"display: inline-block; position: relative; width: 1.694em;\"><span style=\"position: absolute; clip: rect(3.501em, 1001.11em, 4.314em, -1000em); top: -3.995em; left: 0.589em;\"><span id=\"MathJax-Span-1247\" class=\"mrow\"><span id=\"MathJax-Span-1248\" class=\"mrow\"><span id=\"MathJax-Span-1249\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">n<\/span><span id=\"MathJax-Span-1250\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">p<\/span><span id=\"MathJax-Span-1251\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">q<\/span><\/span><\/span><\/span><span style=\"position: absolute; clip: rect(3.248em, 1000.6em, 4.318em, -1000em); top: -3.856em; left: 0em;\"><span style=\"font-size: 70.7%; font-family: MathJax_Main;\">\u221a<\/span><\/span><\/span><\/span><\/span><\/span><span style=\"position: absolute; clip: rect(3.501em, 1000.41em, 4.185em, -1000em); top: -3.65em; left: 50%; margin-left: -0.212em;\"><span id=\"MathJax-Span-1252\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">n<\/span><\/span><\/span><\/span><span id=\"MathJax-Span-1253\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\">=<\/span><span id=\"MathJax-Span-1254\" class=\"msqrt\" style=\"padding-left: 0.278em;\"><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>\r\n\r\n$\\frac{np}{n} = p$ and\u00a0 $\\frac{\\sqrt{npq}}{n} = \\sqrt{\\frac{pq}{n}}$\r\n<p id=\"element-683\"><strong><em data-effect=\"italics\">$\\hat P$<\/em> follows a normal distribution for proportions<\/strong>: $\\hat P \\sim N \\left(p, \\sqrt{\\frac{pq}{n}}\\right)$<\/p>\r\nThe confidence interval has the form $(\\hat p - E, \\hat p +E)$ where $E$ is the margin of error for the proportion.\r\n\r\n$\\hat p = \\frac{x}{n}$\r\n<p id=\"element-142\"><em data-effect=\"italics\">$\\hat p$<\/em> = the <strong>estimated proportion<\/strong> of successes ($\\hat p$ is a <strong>point estimate<\/strong> for <em data-effect=\"italics\">p<\/em>, the true proportion.)<\/p>\r\n<p id=\"element-818\"><em data-effect=\"italics\">x<\/em> = the <strong>number<\/strong> of successes<\/p>\r\n<p id=\"element-434\"><em data-effect=\"italics\">n<\/em> = the size of the sample<\/p>\r\n<p id=\"element-498\"><strong>The margin of error for a proportion is<\/strong><\/p>\r\n$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}$ where $\\hat q = 1 - \\hat p$\r\n<p id=\"eip-841\">This formula is similar to the margin of error formula for a mean, except that the \"appropriate standard deviation\" is different. For a mean, when the population standard deviation is known, the appropriate standard deviation that we use is $\\frac{\\sigma}{\\sqrt{n}}$. For a proportion, the appropriate standard deviation is $\\sqrt{\\frac{pq}{n}}$<\/p>\r\nHowever, in the margin of error formula, we use $\\sqrt{\\frac{\\hat p \\hat q}{n}}$ (with the hats)\u00a0 as the standard deviation, instead of $\\sqrt{\\frac{pq}{n}}$.\r\n<p id=\"element-685\">In the margin of error formula, the <strong> sample proportions $\\hat p$ and $\\hat q$ are estimates of the unknown population proportions <em data-effect=\"italics\">p<\/em> and <em data-effect=\"italics\">q<\/em><\/strong>. The estimated proportions $\\hat p$ and<em> $\\hat q$<\/em> are used because <em data-effect=\"italics\">p<\/em> and <em data-effect=\"italics\">q<\/em> are not known. The sample proportions $\\hat p$ and $\\hat q$ are calculated from the data: $\\hat p$ is the estimated proportion of successes, and $\\hat q$ is the estimated proportion of failures.<\/p>\r\n<p id=\"eip-711\">The confidence interval can be used only if the number of successes <em data-effect=\"italics\">$n\\hat p$<\/em> and the number of failures $n \\hat q$ are both greater than five.<\/p>\r\n\r\n<div id=\"id24362956\" 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=\"1\" 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-idp79319136\">For the normal distribution of proportions, the <em data-effect=\"italics\">z<\/em>-score formula is as follows.<\/p>\r\n<p id=\"element-272\">If $\\hat P \\sim N \\left(p, \\sqrt{\\frac{pq}{n}}\\right)$ then the <em data-effect=\"italics\">z<\/em>-score formula is $z = \\frac{\\hat p -p}{\\sqrt{\\frac{pq}{n}}}$<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"element-32\" 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\">7.10<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-814\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id24363103\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-687\">Suppose that a market research firm is hired to estimate the percent of adults living in a large city who have cell phones. Five hundred randomly selected adult residents in this city are surveyed to determine whether they have cell phones. Of\r\nthe 500 people surveyed, 421 responded yes - they own cell phones. Using a 95% confidence level, compute a confidence interval estimate for the true proportion of adult residents of this city who have cell phones.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id24363164\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">7.10<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-386\">Let <em data-effect=\"italics\">X<\/em> = the number of people in the sample who have cell phones. <em data-effect=\"italics\">X<\/em> is binomial. $X \\sim B\\left(\u00a0 500, \\frac{421}{500}\\right)$<\/p>\r\n<p id=\"element-985\">To calculate the confidence interval, you must find <em data-effect=\"italics\">p\u2032<\/em>, <em data-effect=\"italics\">q\u2032<\/em>, and <em data-effect=\"italics\">E<\/em>.<\/p>\r\n<p id=\"element-227\"><em data-effect=\"italics\">n<\/em> = 500<\/p>\r\n<p id=\"eip-idm67964976\"><em data-effect=\"italics\">x<\/em> = the number of successes = 421<\/p>\r\n$\\hat p = \\frac{x}{n}=\\frac{421}{500}=0.842$\r\n\r\n<em data-effect=\"italics\">$\\hat p$<\/em> = 0.842 is the sample proportion; this is the point estimate of the population proportion.\r\n<p id=\"element-339\">$\\hat q = 1 \u2013\\hat p = 1 \u2013 0.842 = 0.158$<\/p>\r\n<p id=\"element-239\">Since <em data-effect=\"italics\">CL<\/em> = 0.95, then <em data-effect=\"italics\">\u03b1<\/em> = 1 \u2013 <em data-effect=\"italics\">CL<\/em> = 1 \u2013 0.95 = 0.05 <span id=\"MathJax-Element-102-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mi&gt;&amp;#x3B1;&lt;\/mi&gt;&lt;mn&gt;2&lt;\/mn&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mi&gt;\u03b1&lt;\/mi&gt;&lt;mn&gt;2&lt;\/mn&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-1476\" class=\"math\" style=\"width: 2.122em; display: inline-block;\"><\/span><\/span><\/p>\r\n$\\frac{\\alpha}{2} = 0.025$\r\n<p id=\"element-838a\">Then$z_{\\alpha\/2}=z_{0.025}=1.96$<\/p>\r\nUse the spreadsheet function <code>NORM.S.INV(0.975)<\/code> to find <em data-effect=\"italics\">z<sub>0.025<\/sub><\/em>. Remember that the area to the right of <em data-effect=\"italics\">z<sub>0.025<\/sub><\/em> is 0.025 and the area to the left of <em data-effect=\"italics\">z<sub>0.025<\/sub><\/em> is 0.975. This can also be found using appropriate commands on other calculators, using a computer, or using a Standard Normal probability table.\r\n\r\n$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}=1.96\\cdot \\sqrt{\\frac{(0.842)(0.158)}{500}}=0.032$\r\n\r\n&nbsp;\r\n\r\n$\\hat p -E=0.842-0.032=0.81$\r\n\r\n&nbsp;\r\n\r\n$\\hat p +E=0.842+0.032=0.874$\r\n<p id=\"element-144\">The confidence interval for the true binomial population proportion is $(\\hat p\u2013 E, \\hat p + E) = (0.81, 0.874)$.<\/p>\r\n\r\n<h4 data-type=\"title\">Interpretation<\/h4>\r\nWe estimate with 95% confidence that between 81% and 87.4% of all adult residents of this city have cell phones.\r\n<h4 data-type=\"title\">Explanation of 95% Confidence Level<\/h4>\r\nNinety-five percent of the confidence intervals constructed in this way would contain the true value for the population proportion of all adult residents of this city who have cell phones.<span data-type=\"newline\">\r\n<\/span>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp89365680\" 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\">7.10<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-890\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-454\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-844\">Suppose 250 randomly selected people are surveyed to determine if they own a tablet. Of the 250 surveyed, 98 reported owning a tablet. Using a 95% confidence level, compute a confidence interval estimate for the true proportion of people who own tablets.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"eip-164\" 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\">7.11<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-2\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id1164699825510\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-182\">For a class project, a political science student at a large university wants to estimate the percent of students who are registered voters. He surveys 500 students and finds that 300 are registered voters. Compute a 90% confidence interval for the true percent of students who are registered voters, and interpret the confidence interval.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id1164685709005\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">7.11<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n\r\n<em data-effect=\"italics\">x<\/em> = 300 and <em data-effect=\"italics\">n<\/em> = 500<span id=\"MathJax-Element-109-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mo&gt;&amp;#x2032;&lt;\/mo&gt;&lt;\/msup&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;300&lt;\/mn&gt;&lt;\/mrow&gt;&lt;mrow&gt;&lt;mn&gt;500&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.600&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mo&gt;\u2032&lt;\/mo&gt;&lt;\/msup&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;300&lt;\/mn&gt;&lt;\/mrow&gt;&lt;mrow&gt;&lt;mn&gt;500&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.600&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-1599\" class=\"math\" style=\"width: 10.959em; display: inline-block;\"><span id=\"MathJax-Span-1600\" class=\"mrow\"><span id=\"MathJax-Span-1601\" class=\"semantics\"><span id=\"MathJax-Span-1602\" class=\"mrow\"><span id=\"MathJax-Span-1603\" class=\"mrow\"><span id=\"MathJax-Span-1604\" class=\"msup\"><span id=\"MathJax-Span-1605\" class=\"mi\" style=\"font-family: MathJax_Math; font-style: italic;\"><\/span><span id=\"MathJax-Span-1606\" class=\"mo\" style=\"font-size: 70.7%; font-family: MathJax_Main;\"><\/span><\/span><span id=\"MathJax-Span-1607\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><span id=\"MathJax-Span-1608\" class=\"mfrac\" style=\"padding-left: 0.278em;\"><span id=\"MathJax-Span-1609\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\"><\/span><span id=\"MathJax-Span-1610\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\"><\/span><\/span><span id=\"MathJax-Span-1611\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><span id=\"MathJax-Span-1612\" class=\"mfrac\" style=\"padding-left: 0.278em;\"><span id=\"MathJax-Span-1613\" class=\"mrow\"><span id=\"MathJax-Span-1614\" class=\"mn\" style=\"font-size: 70.7%; font-family: MathJax_Main;\"><\/span><\/span><span id=\"MathJax-Span-1615\" class=\"mrow\"><span id=\"MathJax-Span-1616\" class=\"mn\" style=\"font-size: 70.7%; font-family: MathJax_Main;\"><\/span><\/span><\/span><span id=\"MathJax-Span-1617\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><span id=\"MathJax-Span-1618\" class=\"mn\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><\/span><\/span><\/span><\/span><\/span><\/span>\r\n\r\n$\\hat p = \\frac{300}{500}=0.6$\r\n\r\n$\\hat q = 1-\\hat p = 1-0.6=0.4$\r\n<p id=\"element-702\">Since <em data-effect=\"italics\">CL<\/em> = 0.90, then <em data-effect=\"italics\">\u03b1<\/em> = 1 \u2013 <em data-effect=\"italics\">CL<\/em> = 1 \u2013 0.90 = 0.10<\/p>\r\n$\\frac{\\alpha}{2}=0.05$\r\n\r\n$z_{\\alpha\/2}=z_{0.05}=1.645$\r\n\r\nUse the sppreadsheet function NORM.S.INV(0.95) to find <em data-effect=\"italics\">z<sub>0.05<\/sub><\/em>. Remember that the area to the right of <em data-effect=\"italics\">z<sub>0.05<\/sub><\/em> is 0.05 and the area to the left of <em data-effect=\"italics\">z<sub>0.05<\/sub><\/em> is 0.95. This can also be found using appropriate commands on other calculators, using a computer, or using a standard normal probability table.\r\n\r\n&nbsp;\r\n\r\n$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}=1.645\\cdot \\sqrt{\\frac{(0.6)(0.4)}{500}}=0.036$\r\n\r\n&nbsp;\r\n\r\n$\\hat p -E=0.6-0.036=0.564$\r\n\r\n&nbsp;\r\n\r\n$\\hat p +E=0.6+0.036=0.636$\r\n<p id=\"element-343\">The confidence interval for the true binomial population proportion is\u00a0$(\\hat p\u2013 E, \\hat p + E) = (0.564,0.636)$.<\/p>\r\n\r\n<div id=\"element-523\" data-type=\"list\">\r\n<div id=\"11\" data-type=\"title\"><strong>Interpretation<\/strong><\/div>\r\n<ul>\r\n \t<li>We estimate with 90% confidence that the true percent of all students that are registered voters is between 56.4% and 63.6%.<\/li>\r\n \t<li>Alternate Wording: We estimate with 90% confidence that between 56.4% and 63.6% of ALL students are registered voters.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<h4 data-type=\"title\">Explanation of 90% Confidence Level<\/h4>\r\nNinety percent of all confidence intervals constructed in this way contain the true value for the population percent of students that are registered voters.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp55027792\" 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\">7.11<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm23330928\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-165\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-183\">A student polls his school to see if students in the school district are for or against the new legislation regarding school uniforms. She surveys 600 students and finds that 480 are against the new legislation.<\/p>\r\n&nbsp;\r\n<p id=\"fs-idp17812400\">a. Compute a 90% confidence interval for the true percent of students who are against the new legislation, and interpret the confidence interval.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm29038320\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-882\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-207\">b. In a sample of 300 students, 68% said they own an iPod and a smart phone. Compute a 97% confidence interval for the true percent of students who own an iPod and a smartphone.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<section id=\"eip-443\" data-depth=\"1\"><\/section><section id=\"fs-idm22068416\" data-depth=\"1\">\r\n<h3 data-type=\"title\">Calculating the Sample Size <em data-effect=\"italics\">n<\/em><\/h3>\r\n<p id=\"element-24\">If researchers desire a specific margin of error, then they can use the margin of error formula to calculate the required sample size.<\/p>\r\n<p id=\"element-957\">The margin of error formula for a population proportion is<\/p>\r\n\r\n<ul>\r\n \t<li>$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}$<\/li>\r\n \t<li>Solving for $n$ gives you an equation for the sample size.<\/li>\r\n \t<li>$n = \\frac{\\left(z_{\\alpha\/2}\\right)^2 \\hat p \\hat q}{E^2}$<\/li>\r\n<\/ul>\r\n<div id=\"element-724\" 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\">7.14<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"fs-idp171900368\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idp171900624\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-843\">Suppose a mobile phone company wants to determine the current percentage of customers aged 50+ who use text messaging on their cell phones. How many customers aged 50+ should the company survey in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of customers aged 50+ who use text messaging on their cell phones.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-idp53892304\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">7.14<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"eip-806\">From the problem, we know that <strong><em data-effect=\"italics\">E<\/em> = 0.03<\/strong> (3%=0.03) and $z_{\\alpha\/2}=z_{0.05}=1.645$ because the confidence level is 90%. (1-0.9 = 0.1, then 0.1 \/ 2 = 0.05, then 1-0.05 = 0.95, then in a spreadsheet =<code>NORM.S.INV(0.95)<\/code> = 1.645<\/p>\r\n<p id=\"eip-35\">However, in order to find <em data-effect=\"italics\">n<\/em>, we need to know the estimated (sample) proportion $\\hat p$. Remember that $\\hat q =1-\\hat p$. But, we do not know $\\hat p$ yet. Since we multiply\u00a0$\\hat p$ and\u00a0$\\hat q$ together, we make them both equal to 0.5 because\u00a0$\\hat p \\hat q$ = (0.5)(0.5) = 0.25 results in the largest possible product. (Try other products: (0.6)(0.4) = 0.24; (0.3)(0.7) = 0.21; (0.2)(0.8) = 0.16 and so on). The largest possible product gives us the largest <em data-effect=\"italics\">n<\/em>. This gives us a large enough sample so that we can be 90% confident that we are within three percentage points of the true population proportion. To calculate the sample size <em data-effect=\"italics\">n<\/em>, use the formula and make the substitutions.<\/p>\r\n$n = \\frac{z^2 \\hat p \\hat q}{E^2} $ gives $n=\\frac{1.645^2 (0.5)(0.5)}{0.03^2}=751.7$\r\n\r\nRound the answer to the next higher value. The sample size should be 752 cell phone customers aged 50+ in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of all customers aged 50+ who use text messaging on their cell phones.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp13131184\" 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\">7.14<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-143\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-26\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-803\">Suppose an internet marketing company wants to determine the current percentage of customers who click on ads on their smartphones. How many customers should the company survey in order to be 90% confident that the estimated proportion is within five percentage points of the true population proportion of customers who click on ads on their smartphones?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>","rendered":"<p><span style=\"display: none;\"><br \/>\n[latexpage]<br \/>\n<\/span><\/p>\n<div id=\"40dc2960-9ad3-4f5a-acd4-606a1f6fbfb1\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\n<p id=\"eip-494\">During an election year, we see articles in the newspaper that state <span id=\"term159\" data-type=\"term\">confidence intervals<\/span> in terms of proportions or percentages. For example, a poll for a particular candidate running for president might show that the candidate has 40% of the vote within three percentage points (if the sample is large enough). Often, election polls are calculated with 95% confidence, so, the pollsters would be 95% confident that the true proportion of voters who favored the candidate would be between 0.37 and 0.43: (0.40 \u2013 0.03,0.40 + 0.03).<\/p>\n<p id=\"element-292\">Investors in the stock market are interested in the true proportion of stocks that go up and down each week. Businesses that sell personal computers are interested in the proportion of households in the United States that own personal computers. Confidence intervals can be calculated for the true proportion of stocks that go up or down each week and for the true proportion of households in the United States that own personal computers.<\/p>\n<p id=\"element-918\">The procedure to find the confidence interval, the sample size, the <span id=\"term160\" data-type=\"term\">margin of error<\/span> or <span data-type=\"term\">margin of error<\/span>, and the <span id=\"term161\" data-type=\"term\">confidence level<\/span> for a proportion is similar to that for the population mean, but the formulas are different.<\/p>\n<p id=\"element-574\"><strong>How do you know you are dealing with a proportion problem?<\/strong> First, the underlying <strong>distribution is a<\/strong> <span id=\"term162\" data-type=\"term\">binomial distribution<\/span>. (There is no mention of a mean or average.) If <em data-effect=\"italics\">X<\/em> is a binomial random variable, then <em data-effect=\"italics\">X<\/em> ~ <em data-effect=\"italics\">B<\/em>(<em data-effect=\"italics\">n<\/em>, <em data-effect=\"italics\">p<\/em>) where <em data-effect=\"italics\">n<\/em> is the number of trials and <em data-effect=\"italics\">p<\/em> is the probability of a success. To form a proportion, take <em data-effect=\"italics\">X<\/em>, the random variable for the number of successes and divide it by <em data-effect=\"italics\">n<\/em>, the number of trials (or the sample size). The random variable $\\hat P$ (read &#8220;P hat&#8221;) is that proportion,<\/p>\n<p>$\\hat P = \\frac{X}{n}$.<\/p>\n<p id=\"element-959\">When <em data-effect=\"italics\">n<\/em> is large and <em data-effect=\"italics\">p<\/em> is not close to zero or one, we can use the <span id=\"term163\" data-type=\"term\">normal distribution<\/span> to approximate the binomial.<\/p>\n<p>$X \\sim N(np, \\sqrt{npq})$<\/p>\n<p id=\"element-76\">If we divide the random variable, the mean, and the standard deviation by <em data-effect=\"italics\">n<\/em>, we get a normal distribution of proportions with <em data-effect=\"italics\">P\u2032<\/em>, called the estimated proportion, as the random variable. (Recall that a proportion as the number of successes divided by <em data-effect=\"italics\">n<\/em>.)<\/p>\n<p>$\\frac{X}{n} = \\hat P \\sim N \\left( \\frac{np}{n}, \\frac{\\sqrt{npq}}{n} \\right)$<\/p>\n<p>Using algebra to simplify : <span class=\"os-math-in-para\"><span id=\"MathJax-Element-90-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mi&gt;q&lt;\/mi&gt;&lt;\/mrow&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;\/msqrt&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-1239\" class=\"math\" style=\"width: 6.419em; display: inline-block;\"><span style=\"display: inline-block; position: relative; width: 5.448em; font-size: 118%;\"><span style=\"position: absolute; clip: rect(1.076em, 1005.45em, 3.239em, -1000em); top: -2.421em; left: 0em;\"><span id=\"MathJax-Span-1240\" class=\"mrow\"><span id=\"MathJax-Span-1241\" class=\"semantics\"><span id=\"MathJax-Span-1242\" class=\"mrow\"><span id=\"MathJax-Span-1243\" class=\"mrow\"><span id=\"MathJax-Span-1244\" class=\"mfrac\"><span style=\"display: inline-block; position: relative; width: 1.814em; margin-right: 0.12em; margin-left: 0.12em;\"><span style=\"position: absolute; clip: rect(3.387em, 1001.69em, 4.457em, -1000em); top: -4.699em; left: 50%; margin-left: -0.847em;\"><span id=\"MathJax-Span-1245\" class=\"mrow\"><span id=\"MathJax-Span-1246\" class=\"msqrt\"><span style=\"display: inline-block; position: relative; width: 1.694em;\"><span style=\"position: absolute; clip: rect(3.501em, 1001.11em, 4.314em, -1000em); top: -3.995em; left: 0.589em;\"><span id=\"MathJax-Span-1247\" class=\"mrow\"><span id=\"MathJax-Span-1248\" class=\"mrow\"><span id=\"MathJax-Span-1249\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">n<\/span><span id=\"MathJax-Span-1250\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">p<\/span><span id=\"MathJax-Span-1251\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">q<\/span><\/span><\/span><\/span><span style=\"position: absolute; clip: rect(3.248em, 1000.6em, 4.318em, -1000em); top: -3.856em; left: 0em;\"><span style=\"font-size: 70.7%; font-family: MathJax_Main;\">\u221a<\/span><\/span><\/span><\/span><\/span><\/span><span style=\"position: absolute; clip: rect(3.501em, 1000.41em, 4.185em, -1000em); top: -3.65em; left: 50%; margin-left: -0.212em;\"><span id=\"MathJax-Span-1252\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\">n<\/span><\/span><\/span><\/span><span id=\"MathJax-Span-1253\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\">=<\/span><span id=\"MathJax-Span-1254\" class=\"msqrt\" style=\"padding-left: 0.278em;\"><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>$\\frac{np}{n} = p$ and\u00a0 $\\frac{\\sqrt{npq}}{n} = \\sqrt{\\frac{pq}{n}}$<\/p>\n<p id=\"element-683\"><strong><em data-effect=\"italics\">$\\hat P$<\/em> follows a normal distribution for proportions<\/strong>: $\\hat P \\sim N \\left(p, \\sqrt{\\frac{pq}{n}}\\right)$<\/p>\n<p>The confidence interval has the form $(\\hat p &#8211; E, \\hat p +E)$ where $E$ is the margin of error for the proportion.<\/p>\n<p>$\\hat p = \\frac{x}{n}$<\/p>\n<p id=\"element-142\"><em data-effect=\"italics\">$\\hat p$<\/em> = the <strong>estimated proportion<\/strong> of successes ($\\hat p$ is a <strong>point estimate<\/strong> for <em data-effect=\"italics\">p<\/em>, the true proportion.)<\/p>\n<p id=\"element-818\"><em data-effect=\"italics\">x<\/em> = the <strong>number<\/strong> of successes<\/p>\n<p id=\"element-434\"><em data-effect=\"italics\">n<\/em> = the size of the sample<\/p>\n<p id=\"element-498\"><strong>The margin of error for a proportion is<\/strong><\/p>\n<p>$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}$ where $\\hat q = 1 &#8211; \\hat p$<\/p>\n<p id=\"eip-841\">This formula is similar to the margin of error formula for a mean, except that the &#8220;appropriate standard deviation&#8221; is different. For a mean, when the population standard deviation is known, the appropriate standard deviation that we use is $\\frac{\\sigma}{\\sqrt{n}}$. For a proportion, the appropriate standard deviation is $\\sqrt{\\frac{pq}{n}}$<\/p>\n<p>However, in the margin of error formula, we use $\\sqrt{\\frac{\\hat p \\hat q}{n}}$ (with the hats)\u00a0 as the standard deviation, instead of $\\sqrt{\\frac{pq}{n}}$.<\/p>\n<p id=\"element-685\">In the margin of error formula, the <strong> sample proportions $\\hat p$ and $\\hat q$ are estimates of the unknown population proportions <em data-effect=\"italics\">p<\/em> and <em data-effect=\"italics\">q<\/em><\/strong>. The estimated proportions $\\hat p$ and<em> $\\hat q$<\/em> are used because <em data-effect=\"italics\">p<\/em> and <em data-effect=\"italics\">q<\/em> are not known. The sample proportions $\\hat p$ and $\\hat q$ are calculated from the data: $\\hat p$ is the estimated proportion of successes, and $\\hat q$ is the estimated proportion of failures.<\/p>\n<p id=\"eip-711\">The confidence interval can be used only if the number of successes <em data-effect=\"italics\">$n\\hat p$<\/em> and the number of failures $n \\hat q$ are both greater than five.<\/p>\n<div id=\"id24362956\" 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=\"1\" class=\"os-title-label\" data-type=\"\">Note<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"fs-idp79319136\">For the normal distribution of proportions, the <em data-effect=\"italics\">z<\/em>-score formula is as follows.<\/p>\n<p id=\"element-272\">If $\\hat P \\sim N \\left(p, \\sqrt{\\frac{pq}{n}}\\right)$ then the <em data-effect=\"italics\">z<\/em>-score formula is $z = \\frac{\\hat p -p}{\\sqrt{\\frac{pq}{n}}}$<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-32\" 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\">7.10<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-814\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id24363103\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-687\">Suppose that a market research firm is hired to estimate the percent of adults living in a large city who have cell phones. Five hundred randomly selected adult residents in this city are surveyed to determine whether they have cell phones. Of<br \/>\nthe 500 people surveyed, 421 responded yes &#8211; they own cell phones. Using a 95% confidence level, compute a confidence interval estimate for the true proportion of adult residents of this city who have cell phones.<\/p>\n<\/div>\n<\/div>\n<div id=\"id24363164\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">7.10<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-386\">Let <em data-effect=\"italics\">X<\/em> = the number of people in the sample who have cell phones. <em data-effect=\"italics\">X<\/em> is binomial. $X \\sim B\\left(\u00a0 500, \\frac{421}{500}\\right)$<\/p>\n<p id=\"element-985\">To calculate the confidence interval, you must find <em data-effect=\"italics\">p\u2032<\/em>, <em data-effect=\"italics\">q\u2032<\/em>, and <em data-effect=\"italics\">E<\/em>.<\/p>\n<p id=\"element-227\"><em data-effect=\"italics\">n<\/em> = 500<\/p>\n<p id=\"eip-idm67964976\"><em data-effect=\"italics\">x<\/em> = the number of successes = 421<\/p>\n<p>$\\hat p = \\frac{x}{n}=\\frac{421}{500}=0.842$<\/p>\n<p><em data-effect=\"italics\">$\\hat p$<\/em> = 0.842 is the sample proportion; this is the point estimate of the population proportion.<\/p>\n<p id=\"element-339\">$\\hat q = 1 \u2013\\hat p = 1 \u2013 0.842 = 0.158$<\/p>\n<p id=\"element-239\">Since <em data-effect=\"italics\">CL<\/em> = 0.95, then <em data-effect=\"italics\">\u03b1<\/em> = 1 \u2013 <em data-effect=\"italics\">CL<\/em> = 1 \u2013 0.95 = 0.05 <span id=\"MathJax-Element-102-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mi&gt;&amp;#x3B1;&lt;\/mi&gt;&lt;mn&gt;2&lt;\/mn&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mi&gt;\u03b1&lt;\/mi&gt;&lt;mn&gt;2&lt;\/mn&gt;&lt;\/mfrac&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-1476\" class=\"math\" style=\"width: 2.122em; display: inline-block;\"><\/span><\/span><\/p>\n<p>$\\frac{\\alpha}{2} = 0.025$<\/p>\n<p id=\"element-838a\">Then$z_{\\alpha\/2}=z_{0.025}=1.96$<\/p>\n<p>Use the spreadsheet function <code>NORM.S.INV(0.975)<\/code> to find <em data-effect=\"italics\">z<sub>0.025<\/sub><\/em>. Remember that the area to the right of <em data-effect=\"italics\">z<sub>0.025<\/sub><\/em> is 0.025 and the area to the left of <em data-effect=\"italics\">z<sub>0.025<\/sub><\/em> is 0.975. This can also be found using appropriate commands on other calculators, using a computer, or using a Standard Normal probability table.<\/p>\n<p>$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}=1.96\\cdot \\sqrt{\\frac{(0.842)(0.158)}{500}}=0.032$<\/p>\n<p>&nbsp;<\/p>\n<p>$\\hat p -E=0.842-0.032=0.81$<\/p>\n<p>&nbsp;<\/p>\n<p>$\\hat p +E=0.842+0.032=0.874$<\/p>\n<p id=\"element-144\">The confidence interval for the true binomial population proportion is $(\\hat p\u2013 E, \\hat p + E) = (0.81, 0.874)$.<\/p>\n<h4 data-type=\"title\">Interpretation<\/h4>\n<p>We estimate with 95% confidence that between 81% and 87.4% of all adult residents of this city have cell phones.<\/p>\n<h4 data-type=\"title\">Explanation of 95% Confidence Level<\/h4>\n<p>Ninety-five percent of the confidence intervals constructed in this way would contain the true value for the population proportion of all adult residents of this city who have cell phones.<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp89365680\" 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\">7.10<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-890\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-454\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-844\">Suppose 250 randomly selected people are surveyed to determine if they own a tablet. Of the 250 surveyed, 98 reported owning a tablet. Using a 95% confidence level, compute a confidence interval estimate for the true proportion of people who own tablets.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"eip-164\" 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\">7.11<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-2\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id1164699825510\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-182\">For a class project, a political science student at a large university wants to estimate the percent of students who are registered voters. He surveys 500 students and finds that 300 are registered voters. Compute a 90% confidence interval for the true percent of students who are registered voters, and interpret the confidence interval.<\/p>\n<\/div>\n<\/div>\n<div id=\"id1164685709005\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">7.11<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p><em data-effect=\"italics\">x<\/em> = 300 and <em data-effect=\"italics\">n<\/em> = 500<span id=\"MathJax-Element-109-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mo&gt;&amp;#x2032;&lt;\/mo&gt;&lt;\/msup&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;300&lt;\/mn&gt;&lt;\/mrow&gt;&lt;mrow&gt;&lt;mn&gt;500&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.600&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mo&gt;\u2032&lt;\/mo&gt;&lt;\/msup&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;300&lt;\/mn&gt;&lt;\/mrow&gt;&lt;mrow&gt;&lt;mn&gt;500&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mfrac&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.600&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-1599\" class=\"math\" style=\"width: 10.959em; display: inline-block;\"><span id=\"MathJax-Span-1600\" class=\"mrow\"><span id=\"MathJax-Span-1601\" class=\"semantics\"><span id=\"MathJax-Span-1602\" class=\"mrow\"><span id=\"MathJax-Span-1603\" class=\"mrow\"><span id=\"MathJax-Span-1604\" class=\"msup\"><span id=\"MathJax-Span-1605\" class=\"mi\" style=\"font-family: MathJax_Math; font-style: italic;\"><\/span><span id=\"MathJax-Span-1606\" class=\"mo\" style=\"font-size: 70.7%; font-family: MathJax_Main;\"><\/span><\/span><span id=\"MathJax-Span-1607\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><span id=\"MathJax-Span-1608\" class=\"mfrac\" style=\"padding-left: 0.278em;\"><span id=\"MathJax-Span-1609\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\"><\/span><span id=\"MathJax-Span-1610\" class=\"mi\" style=\"font-size: 70.7%; font-family: MathJax_Math; font-style: italic;\"><\/span><\/span><span id=\"MathJax-Span-1611\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><span id=\"MathJax-Span-1612\" class=\"mfrac\" style=\"padding-left: 0.278em;\"><span id=\"MathJax-Span-1613\" class=\"mrow\"><span id=\"MathJax-Span-1614\" class=\"mn\" style=\"font-size: 70.7%; font-family: MathJax_Main;\"><\/span><\/span><span id=\"MathJax-Span-1615\" class=\"mrow\"><span id=\"MathJax-Span-1616\" class=\"mn\" style=\"font-size: 70.7%; font-family: MathJax_Main;\"><\/span><\/span><\/span><span id=\"MathJax-Span-1617\" class=\"mo\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><span id=\"MathJax-Span-1618\" class=\"mn\" style=\"font-family: MathJax_Main; padding-left: 0.278em;\"><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>$\\hat p = \\frac{300}{500}=0.6$<\/p>\n<p>$\\hat q = 1-\\hat p = 1-0.6=0.4$<\/p>\n<p id=\"element-702\">Since <em data-effect=\"italics\">CL<\/em> = 0.90, then <em data-effect=\"italics\">\u03b1<\/em> = 1 \u2013 <em data-effect=\"italics\">CL<\/em> = 1 \u2013 0.90 = 0.10<\/p>\n<p>$\\frac{\\alpha}{2}=0.05$<\/p>\n<p>$z_{\\alpha\/2}=z_{0.05}=1.645$<\/p>\n<p>Use the sppreadsheet function NORM.S.INV(0.95) to find <em data-effect=\"italics\">z<sub>0.05<\/sub><\/em>. Remember that the area to the right of <em data-effect=\"italics\">z<sub>0.05<\/sub><\/em> is 0.05 and the area to the left of <em data-effect=\"italics\">z<sub>0.05<\/sub><\/em> is 0.95. This can also be found using appropriate commands on other calculators, using a computer, or using a standard normal probability table.<\/p>\n<p>&nbsp;<\/p>\n<p>$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}=1.645\\cdot \\sqrt{\\frac{(0.6)(0.4)}{500}}=0.036$<\/p>\n<p>&nbsp;<\/p>\n<p>$\\hat p -E=0.6-0.036=0.564$<\/p>\n<p>&nbsp;<\/p>\n<p>$\\hat p +E=0.6+0.036=0.636$<\/p>\n<p id=\"element-343\">The confidence interval for the true binomial population proportion is\u00a0$(\\hat p\u2013 E, \\hat p + E) = (0.564,0.636)$.<\/p>\n<div id=\"element-523\" data-type=\"list\">\n<div id=\"11\" data-type=\"title\"><strong>Interpretation<\/strong><\/div>\n<ul>\n<li>We estimate with 90% confidence that the true percent of all students that are registered voters is between 56.4% and 63.6%.<\/li>\n<li>Alternate Wording: We estimate with 90% confidence that between 56.4% and 63.6% of ALL students are registered voters.<\/li>\n<\/ul>\n<\/div>\n<h4 data-type=\"title\">Explanation of 90% Confidence Level<\/h4>\n<p>Ninety percent of all confidence intervals constructed in this way contain the true value for the population percent of students that are registered voters.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp55027792\" 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\">7.11<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm23330928\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-165\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-183\">A student polls his school to see if students in the school district are for or against the new legislation regarding school uniforms. She surveys 600 students and finds that 480 are against the new legislation.<\/p>\n<p>&nbsp;<\/p>\n<p id=\"fs-idp17812400\">a. Compute a 90% confidence interval for the true percent of students who are against the new legislation, and interpret the confidence interval.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm29038320\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-882\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-207\">b. In a sample of 300 students, 68% said they own an iPod and a smart phone. Compute a 97% confidence interval for the true percent of students who own an iPod and a smartphone.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"eip-443\" data-depth=\"1\"><\/section>\n<section id=\"fs-idm22068416\" data-depth=\"1\">\n<h3 data-type=\"title\">Calculating the Sample Size <em data-effect=\"italics\">n<\/em><\/h3>\n<p id=\"element-24\">If researchers desire a specific margin of error, then they can use the margin of error formula to calculate the required sample size.<\/p>\n<p id=\"element-957\">The margin of error formula for a population proportion is<\/p>\n<ul>\n<li>$E = z_{\\alpha\/2}\\cdot \\sqrt{\\frac{\\hat p \\hat q}{n}}$<\/li>\n<li>Solving for $n$ gives you an equation for the sample size.<\/li>\n<li>$n = \\frac{\\left(z_{\\alpha\/2}\\right)^2 \\hat p \\hat q}{E^2}$<\/li>\n<\/ul>\n<div id=\"element-724\" 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\">7.14<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"fs-idp171900368\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idp171900624\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-843\">Suppose a mobile phone company wants to determine the current percentage of customers aged 50+ who use text messaging on their cell phones. How many customers aged 50+ should the company survey in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of customers aged 50+ who use text messaging on their cell phones.<\/p>\n<\/div>\n<\/div>\n<div id=\"fs-idp53892304\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">7.14<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"eip-806\">From the problem, we know that <strong><em data-effect=\"italics\">E<\/em> = 0.03<\/strong> (3%=0.03) and $z_{\\alpha\/2}=z_{0.05}=1.645$ because the confidence level is 90%. (1-0.9 = 0.1, then 0.1 \/ 2 = 0.05, then 1-0.05 = 0.95, then in a spreadsheet =<code>NORM.S.INV(0.95)<\/code> = 1.645<\/p>\n<p id=\"eip-35\">However, in order to find <em data-effect=\"italics\">n<\/em>, we need to know the estimated (sample) proportion $\\hat p$. Remember that $\\hat q =1-\\hat p$. But, we do not know $\\hat p$ yet. Since we multiply\u00a0$\\hat p$ and\u00a0$\\hat q$ together, we make them both equal to 0.5 because\u00a0$\\hat p \\hat q$ = (0.5)(0.5) = 0.25 results in the largest possible product. (Try other products: (0.6)(0.4) = 0.24; (0.3)(0.7) = 0.21; (0.2)(0.8) = 0.16 and so on). The largest possible product gives us the largest <em data-effect=\"italics\">n<\/em>. This gives us a large enough sample so that we can be 90% confident that we are within three percentage points of the true population proportion. To calculate the sample size <em data-effect=\"italics\">n<\/em>, use the formula and make the substitutions.<\/p>\n<p>$n = \\frac{z^2 \\hat p \\hat q}{E^2} $ gives $n=\\frac{1.645^2 (0.5)(0.5)}{0.03^2}=751.7$<\/p>\n<p>Round the answer to the next higher value. The sample size should be 752 cell phone customers aged 50+ in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of all customers aged 50+ who use text messaging on their cell phones.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp13131184\" 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\">7.14<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-143\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-26\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-803\">Suppose an internet marketing company wants to determine the current percentage of customers who click on ads on their smartphones. How many customers should the company survey in order to be 90% confident that the estimated proportion is within five percentage points of the true population proportion of customers who click on ads on their smartphones?<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n","protected":false},"author":1,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-69","chapter","type-chapter","status-publish","hentry"],"part":65,"_links":{"self":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/69","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":4,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/69\/revisions"}],"predecessor-version":[{"id":495,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/69\/revisions\/495"}],"part":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/parts\/65"}],"metadata":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/69\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=69"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/contributor?post=69"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/license?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}