{"id":288,"date":"2021-07-14T15:59:07","date_gmt":"2021-07-14T15:59:07","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/two-population-means-with-known-standard-deviations\/"},"modified":"2023-12-05T09:38:46","modified_gmt":"2023-12-05T09:38:46","slug":"two-population-means-with-known-standard-deviations","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/two-population-means-with-known-standard-deviations\/","title":{"raw":"More Testing for Two Population Means","rendered":"More Testing for Two Population Means"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>Learning Outcomes<\/h3>\r\n<section>\r\n<ul>\r\n \t<li>Conduct a hypothesis test for a difference in two population means with known standard deviations and interpret the conclusion in context<\/li>\r\n<\/ul>\r\n<\/section><\/div>\r\nEven though this situation is not likely (knowing the population standard deviations is not likely), the following example illustrates hypothesis testing for independent means, known population standard deviations. The sampling distribution for the difference between the means is normal and both populations must be normal. The random variable is\u00a0[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}[\/latex]. The normal distribution has the following format:\r\n\r\n<strong>Normal distribution<\/strong> is: [latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}\\sim{N}\\Bigg[{\\mu_{{1}}-\\mu_{{2}},\\sqrt{{\\dfrac{{(\\sigma_{{1}})}^{{2}}}{{n}_{{1}}}+\\dfrac{{(\\sigma_{{2}})}^{{2}}}{{n}_{{2}}}}}\\Bigg]}[\/latex]\r\n\r\n<strong>The standard deviation<\/strong> is: [latex]\\displaystyle\\sqrt{\\dfrac{(\\sigma_1)^2}{n_1}+\\dfrac{(\\sigma_2)^2}{n_2}}[\/latex]\r\n\r\nThe\u00a0<strong>test statistic<\/strong> (<em>z<\/em>-score) is: [latex]\\displaystyle{z}=\\dfrac{(\\overline{x}_1-\\overline{x}_2)-(\\mu_1-\\mu_2)}{\\sqrt{\\dfrac{(\\sigma_1)^2}{n_1}+\\dfrac{(\\sigma_2)^2}{n_2}}}[\/latex]\r\n<div class=\"textbox examples\">\r\n<h3>Recall: ORDER OF OPERATIONS<\/h3>\r\n<div align=\"left\">\r\n<table style=\"border-collapse: collapse; width: 100%; height: 36px;\" border=\"1\">\r\n<tbody>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Please<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Excuse<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>My<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Dear<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Aunt<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Sally<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">parentheses<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">exponents<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">multiplication<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">division<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">addition<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">subtraction<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]( \\ )[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]x^2[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]\\times \\ \\mathrm{or} \\ \\div[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]+ \\ \\mathrm{or} \\ -[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h2>To calculate the test statistic (z-score) follow these steps:<\/h2>\r\n<strong>First, find the numerator. Calculate the difference between the two sample means [latex](\\overline{x}_1- \\overline{x}_2)[\/latex] and the two population means [latex](\\mu _1- \\mu _2)[\/latex], then subtract them.\u00a0<\/strong>\r\n\r\n&nbsp;\r\n\r\n<strong>Second, find the denominator. You will end up taking the square root of the entire bottom; a square root can be understood as parentheses.\u00a0<\/strong>\r\n\r\nStep 1: Calculate [latex]\\frac{(\\sigma _1)^2}{n_1}[\/latex] by squaring the population standard deviation of the first population and then dividing by the sample size taken from the first population.\r\n\r\nStep 2: Calculate [latex]\\frac{(\\sigma _2)^2}{n_2}[\/latex] by squaring the population standard deviation of the second population and then dividing by the sample size taken from the second population.\r\n\r\nStep 3: Add the value you got in Step 1 and Step 2.\r\n\r\nStep 4: Find the square root of the value you found in Step 3.\r\n\r\n<strong>Third, take the numerator and divide by the denominator.<\/strong>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 1<\/h3>\r\n<strong>Independent groups, population standard deviations known.<\/strong> The mean lasting time of two competing floor waxes is to be compared. <strong>Twenty floors<\/strong> are randomly assigned <strong>to test each wax<\/strong>. Both populations have a normal distribution. The data are recorded in the table.\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Wax<\/th>\r\n<th>Sample Mean Number of Months Floor Wax Lasts<\/th>\r\n<th>Population Standard Deviation<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>1<\/td>\r\n<td>3<\/td>\r\n<td>0.33<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>2.9<\/td>\r\n<td>0.36<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nDoes the data indicate that\u00a0<strong>wax 1 is more effective than wax 2<\/strong>? Test at a 5% level of significance.\r\n\r\n[reveal-answer q=\"528070\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"528070\"]\r\n\r\nThis is a test of two independent groups, two population means, population standard deviations known.\r\n\r\n<strong>Random Variable:\u00a0<\/strong>[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}[\/latex] = difference in the mean number of months the competing floor waxes last.\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u03bc<\/em><sub>2<\/sub>\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> &gt; <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em>\r\n\r\nThe words\u00a0<strong>\"is more effective\"<\/strong> say that <strong>wax 1 lasts longer than wax 2<\/strong>, on average. \"Longer\" is a \"&gt;\" symbol and goes into <em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>. Therefore, this is a right-tailed test.\r\n\r\n<strong>Distribution for the test:<\/strong> The population standard deviations are known so the distribution is normal. Using the formula, the distribution is:\r\n\r\n[latex]{\\overline{x}_1}-{\\overline{x}_2}[\/latex] ~\u00a0<em>N<\/em> [latex]\\left ( 0, {\\sqrt{{\\dfrac{0.33^2}{20}}+{\\dfrac{0.36^2}{20}}}} \\right )[\/latex]\r\n\r\nSince\u00a0<em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em> then <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2264 0 and the mean for the normal distribution is zero.\r\n\r\n<strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong> <em>p<\/em>-value = 0.1799\r\n\r\n<strong>Graph:<\/strong>\r\n\r\n<img class=\"aligncenter wp-image-2119 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01164754\/b1f75ddc67fcefaac0c13f287233c298b7eec36f1.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. The values 0 and 0.1 are labeled on the horiztonal axis. A vertical line extends from 0.1 to the curve. The region under the curve to the right of the line is shaded to represent p-value = 0.1799.\" width=\"487\" height=\"208\" \/>\r\n\r\n[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}={3}-{2.9}={0.1}[\/latex]\r\n\r\n<strong>Compare <em data-redactor-tag=\"em\">\u03b1<\/em> and the <em>p<\/em>-value:<\/strong> <em>\u03b1<\/em> = 0.05 and <em>p<\/em>-value = 0.1799. Therefore, <em>\u03b1<\/em> &lt; <em>p<\/em>-value.\r\n\r\n<strong>Make a decision:<\/strong> Since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, do not reject <em>H<sub>0<\/sub><\/em>.\r\n\r\n<strong>Conclusion:<\/strong> At the 5% level of significance, from the sample data, there is not sufficient evidence to conclude that the mean time wax 1 lasts is longer (wax 1 is more effective) than the mean time wax 2 lasts.\r\n<h4>USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/h4>\r\n<ul>\r\n \t<li>Press <code style=\"line-height: 1.6em;\">STAT<\/code>.<\/li>\r\n \t<li>Arrow over to <code style=\"line-height: 1.6em;\">TESTS<\/code> and press <code style=\"line-height: 1.6em;\">3:2-SampZTest<\/code>.<\/li>\r\n \t<li>Arrow over to\u00a0<code style=\"line-height: 1.6em;\">Stats<\/code> and press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\r\n \t<li>Arrow down and enter <code style=\"line-height: 1.6em;\">.33<\/code> for sigma1, <code style=\"line-height: 1.6em;\">.36<\/code> for sigma2, <code style=\"line-height: 1.6em;\">3<\/code> for the first sample mean,<code style=\"line-height: 1.6em;\">20<\/code> for n1, <code style=\"line-height: 1.6em;\">2.9<\/code> for the second sample mean, and <code style=\"line-height: 1.6em;\">20<\/code> for n2.<\/li>\r\n \t<li>Arrow down to <em>\u03bc<\/em><sub>1<\/sub>: and arrow to &gt; <em>\u03bc<\/em><sub>2<\/sub>.<\/li>\r\n \t<li>Press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\r\n \t<li>Arrow down to <code style=\"line-height: 1.6em;\">Calculate<\/code> and press\u00a0<code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\r\n \t<li>The <em>p<\/em>-value is <em>p<\/em> = 0.1799 and the test statistic is 0.9157.<\/li>\r\n \t<li>Do the procedure again, but instead of\u00a0<code style=\"line-height: 1.6em;\">Calculate<\/code> do <code style=\"line-height: 1.6em;\">Draw<\/code>.<\/li>\r\n<\/ul>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>try it 1<\/h3>\r\nThe means of the number of revolutions per minute of two competing engines are to be compared. Thirty engines are randomly assigned to be tested. Both populations have normal distributions. The table below shows the result. Do the data indicate that Engine 2 has a higher RPM than Engine 1? Test at a 5% level of significance.\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Engine<\/th>\r\n<th>Sample Mean Number of RPM<\/th>\r\n<th>Population Standard Deviation<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>1<\/td>\r\n<td>1,500<\/td>\r\n<td>50<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>1,600<\/td>\r\n<td>60<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"621672\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"621672\"]\r\n\r\nThe\u00a0<em>p<\/em>-value is almost zero, so we reject the null hypothesis. There is sufficient evidence to conclude that Engine 2 runs at a higher RPM than Engine 1.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h3><\/h3>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 2<\/h3>\r\nAn interested citizen wanted to know if Democratic U. S. senators are older than Republican U.S. senators, on average. On May 26, 2013, the mean age of 30 randomly selected Republican Senators was 61 years 247 days old (61.675 years) with a standard deviation of 10.17 years. The mean age of 30 randomly selected Democratic senators was 61 years 257 days old (61.704 years) with a standard deviation of 9.55 years.\r\n\r\nDo the data indicate that Democratic senators are older than Republican senators, on average? Test at a 5% level of significance.\r\n\r\n[reveal-answer q=\"706589\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"706589\"]\r\n\r\nThis is a test of two independent groups, two population means. The population standard deviations are unknown, but the sum of the sample sizes is 30 + 30 = 60, which is greater than 30, so we can use the normal approximation to the Student's <em>t<\/em>-distribution. Subscripts: 1: Democratic senators 2: Republican senators\r\n\r\n<strong>Random variable: <\/strong>[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}[\/latex] = difference in the mean age of Democratic and Republican U.S. senators.\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u00b5<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2264 0\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> &gt; <em>\u00b5<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em> &gt; 0\r\n\r\nThe words \"older than\" translate as a \"&gt;\" symbol and go into\r\n<em>Ha<\/em>. Therefore, this is a right-tailed test.\r\n\r\n<strong>Distribution for the test: <\/strong>The distribution is the normal approximation to the Student's <em>t<\/em> for means, independent groups. Using the formula, the distribution is:\r\n\r\n[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}\\sim{N}\\Bigg[{0,\\sqrt{{\\dfrac{{(9.55)}^{{2}}}{30}+\\dfrac {{(10.17)}^{{2}}}{30}}}}\\Bigg][\/latex]\r\n\r\nSince\u00a0<em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em>, <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2264 0 and the mean for the normal distribution is zero.\r\n\r\n(<strong>Calculating the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution<\/strong> gives <em>p<\/em>-value = 0.4040)\r\n\r\n<strong>Graph:<\/strong>\r\n\r\n<img class=\"aligncenter wp-image-2120 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01164922\/2eda4226c1b4f5ca3be359676ce1f640d4a07377.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. A vertical line to the right of zero extends from the axis to the curve. The region under the curve to the right of the line is shaded representing p-value = 0.4955.\" width=\"488\" height=\"177\" \/>\r\n\r\n<strong>Compare <em data-redactor-tag=\"em\">\u03b1<\/em> and the <em>p<\/em>-value:\u00a0<\/strong><em>\u03b1<\/em> = 0.05 and <em>p<\/em>-value = 0.4040. Therefore, <em>\u03b1<\/em> &lt; <em>p<\/em>-value.\r\n\r\n<strong>Make a decision:<\/strong> Since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, do not reject <em>H<sub>0<\/sub><\/em>.\r\n\r\n<strong>Conclusion:<\/strong> At the 5% level of significance, from the sample data, there is not sufficient evidence to conclude that the mean age of Democratic senators is greater than the mean age of the Republican senators.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<section>\n<ul>\n<li>Conduct a hypothesis test for a difference in two population means with known standard deviations and interpret the conclusion in context<\/li>\n<\/ul>\n<\/section>\n<\/div>\n<p>Even though this situation is not likely (knowing the population standard deviations is not likely), the following example illustrates hypothesis testing for independent means, known population standard deviations. The sampling distribution for the difference between the means is normal and both populations must be normal. The random variable is\u00a0[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}[\/latex]. The normal distribution has the following format:<\/p>\n<p><strong>Normal distribution<\/strong> is: [latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}\\sim{N}\\Bigg[{\\mu_{{1}}-\\mu_{{2}},\\sqrt{{\\dfrac{{(\\sigma_{{1}})}^{{2}}}{{n}_{{1}}}+\\dfrac{{(\\sigma_{{2}})}^{{2}}}{{n}_{{2}}}}}\\Bigg]}[\/latex]<\/p>\n<p><strong>The standard deviation<\/strong> is: [latex]\\displaystyle\\sqrt{\\dfrac{(\\sigma_1)^2}{n_1}+\\dfrac{(\\sigma_2)^2}{n_2}}[\/latex]<\/p>\n<p>The\u00a0<strong>test statistic<\/strong> (<em>z<\/em>-score) is: [latex]\\displaystyle{z}=\\dfrac{(\\overline{x}_1-\\overline{x}_2)-(\\mu_1-\\mu_2)}{\\sqrt{\\dfrac{(\\sigma_1)^2}{n_1}+\\dfrac{(\\sigma_2)^2}{n_2}}}[\/latex]<\/p>\n<div class=\"textbox examples\">\n<h3>Recall: ORDER OF OPERATIONS<\/h3>\n<div style=\"text-align: left;\">\n<table style=\"border-collapse: collapse; width: 100%; height: 36px;\">\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Please<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Excuse<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>My<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Dear<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Aunt<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Sally<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">parentheses<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">exponents<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">multiplication<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">division<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">addition<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">subtraction<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]( \\ )[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]x^2[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]\\times \\ \\mathrm{or} \\ \\div[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]+ \\ \\mathrm{or} \\ -[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>To calculate the test statistic (z-score) follow these steps:<\/h2>\n<p><strong>First, find the numerator. Calculate the difference between the two sample means [latex](\\overline{x}_1- \\overline{x}_2)[\/latex] and the two population means [latex](\\mu _1- \\mu _2)[\/latex], then subtract them.\u00a0<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Second, find the denominator. You will end up taking the square root of the entire bottom; a square root can be understood as parentheses.\u00a0<\/strong><\/p>\n<p>Step 1: Calculate [latex]\\frac{(\\sigma _1)^2}{n_1}[\/latex] by squaring the population standard deviation of the first population and then dividing by the sample size taken from the first population.<\/p>\n<p>Step 2: Calculate [latex]\\frac{(\\sigma _2)^2}{n_2}[\/latex] by squaring the population standard deviation of the second population and then dividing by the sample size taken from the second population.<\/p>\n<p>Step 3: Add the value you got in Step 1 and Step 2.<\/p>\n<p>Step 4: Find the square root of the value you found in Step 3.<\/p>\n<p><strong>Third, take the numerator and divide by the denominator.<\/strong><\/p>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 1<\/h3>\n<p><strong>Independent groups, population standard deviations known.<\/strong> The mean lasting time of two competing floor waxes is to be compared. <strong>Twenty floors<\/strong> are randomly assigned <strong>to test each wax<\/strong>. Both populations have a normal distribution. The data are recorded in the table.<\/p>\n<table>\n<thead>\n<tr>\n<th>Wax<\/th>\n<th>Sample Mean Number of Months Floor Wax Lasts<\/th>\n<th>Population Standard Deviation<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>3<\/td>\n<td>0.33<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>2.9<\/td>\n<td>0.36<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Does the data indicate that\u00a0<strong>wax 1 is more effective than wax 2<\/strong>? Test at a 5% level of significance.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q528070\">Show Answer<\/span><\/p>\n<div id=\"q528070\" class=\"hidden-answer\" style=\"display: none\">\n<p>This is a test of two independent groups, two population means, population standard deviations known.<\/p>\n<p><strong>Random Variable:\u00a0<\/strong>[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}[\/latex] = difference in the mean number of months the competing floor waxes last.<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u03bc<\/em><sub>2<\/sub><\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> &gt; <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em><\/p>\n<p>The words\u00a0<strong>&#8220;is more effective&#8221;<\/strong> say that <strong>wax 1 lasts longer than wax 2<\/strong>, on average. &#8220;Longer&#8221; is a &#8220;&gt;&#8221; symbol and goes into <em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>. Therefore, this is a right-tailed test.<\/p>\n<p><strong>Distribution for the test:<\/strong> The population standard deviations are known so the distribution is normal. Using the formula, the distribution is:<\/p>\n<p>[latex]{\\overline{x}_1}-{\\overline{x}_2}[\/latex] ~\u00a0<em>N<\/em> [latex]\\left ( 0, {\\sqrt{{\\dfrac{0.33^2}{20}}+{\\dfrac{0.36^2}{20}}}} \\right )[\/latex]<\/p>\n<p>Since\u00a0<em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em> then <em>\u03bc<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u03bc<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2264 0 and the mean for the normal distribution is zero.<\/p>\n<p><strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong> <em>p<\/em>-value = 0.1799<\/p>\n<p><strong>Graph:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2119 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01164754\/b1f75ddc67fcefaac0c13f287233c298b7eec36f1.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. The values 0 and 0.1 are labeled on the horiztonal axis. A vertical line extends from 0.1 to the curve. The region under the curve to the right of the line is shaded to represent p-value = 0.1799.\" width=\"487\" height=\"208\" \/><\/p>\n<p>[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}={3}-{2.9}={0.1}[\/latex]<\/p>\n<p><strong>Compare <em data-redactor-tag=\"em\">\u03b1<\/em> and the <em>p<\/em>-value:<\/strong> <em>\u03b1<\/em> = 0.05 and <em>p<\/em>-value = 0.1799. Therefore, <em>\u03b1<\/em> &lt; <em>p<\/em>-value.<\/p>\n<p><strong>Make a decision:<\/strong> Since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, do not reject <em>H<sub>0<\/sub><\/em>.<\/p>\n<p><strong>Conclusion:<\/strong> At the 5% level of significance, from the sample data, there is not sufficient evidence to conclude that the mean time wax 1 lasts is longer (wax 1 is more effective) than the mean time wax 2 lasts.<\/p>\n<h4>USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/h4>\n<ul>\n<li>Press <code style=\"line-height: 1.6em;\">STAT<\/code>.<\/li>\n<li>Arrow over to <code style=\"line-height: 1.6em;\">TESTS<\/code> and press <code style=\"line-height: 1.6em;\">3:2-SampZTest<\/code>.<\/li>\n<li>Arrow over to\u00a0<code style=\"line-height: 1.6em;\">Stats<\/code> and press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\n<li>Arrow down and enter <code style=\"line-height: 1.6em;\">.33<\/code> for sigma1, <code style=\"line-height: 1.6em;\">.36<\/code> for sigma2, <code style=\"line-height: 1.6em;\">3<\/code> for the first sample mean,<code style=\"line-height: 1.6em;\">20<\/code> for n1, <code style=\"line-height: 1.6em;\">2.9<\/code> for the second sample mean, and <code style=\"line-height: 1.6em;\">20<\/code> for n2.<\/li>\n<li>Arrow down to <em>\u03bc<\/em><sub>1<\/sub>: and arrow to &gt; <em>\u03bc<\/em><sub>2<\/sub>.<\/li>\n<li>Press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\n<li>Arrow down to <code style=\"line-height: 1.6em;\">Calculate<\/code> and press\u00a0<code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\n<li>The <em>p<\/em>-value is <em>p<\/em> = 0.1799 and the test statistic is 0.9157.<\/li>\n<li>Do the procedure again, but instead of\u00a0<code style=\"line-height: 1.6em;\">Calculate<\/code> do <code style=\"line-height: 1.6em;\">Draw<\/code>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>try it 1<\/h3>\n<p>The means of the number of revolutions per minute of two competing engines are to be compared. Thirty engines are randomly assigned to be tested. Both populations have normal distributions. The table below shows the result. Do the data indicate that Engine 2 has a higher RPM than Engine 1? Test at a 5% level of significance.<\/p>\n<table>\n<thead>\n<tr>\n<th>Engine<\/th>\n<th>Sample Mean Number of RPM<\/th>\n<th>Population Standard Deviation<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>1,500<\/td>\n<td>50<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>1,600<\/td>\n<td>60<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q621672\">Show Answer<\/span><\/p>\n<div id=\"q621672\" class=\"hidden-answer\" style=\"display: none\">\n<p>The\u00a0<em>p<\/em>-value is almost zero, so we reject the null hypothesis. There is sufficient evidence to conclude that Engine 2 runs at a higher RPM than Engine 1.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h3><\/h3>\n<div class=\"textbox exercises\">\n<h3>Example 2<\/h3>\n<p>An interested citizen wanted to know if Democratic U. S. senators are older than Republican U.S. senators, on average. On May 26, 2013, the mean age of 30 randomly selected Republican Senators was 61 years 247 days old (61.675 years) with a standard deviation of 10.17 years. The mean age of 30 randomly selected Democratic senators was 61 years 257 days old (61.704 years) with a standard deviation of 9.55 years.<\/p>\n<p>Do the data indicate that Democratic senators are older than Republican senators, on average? Test at a 5% level of significance.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q706589\">Show Answer<\/span><\/p>\n<div id=\"q706589\" class=\"hidden-answer\" style=\"display: none\">\n<p>This is a test of two independent groups, two population means. The population standard deviations are unknown, but the sum of the sample sizes is 30 + 30 = 60, which is greater than 30, so we can use the normal approximation to the Student&#8217;s <em>t<\/em>-distribution. Subscripts: 1: Democratic senators 2: Republican senators<\/p>\n<p><strong>Random variable: <\/strong>[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}[\/latex] = difference in the mean age of Democratic and Republican U.S. senators.<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u00b5<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2264 0<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> &gt; <em>\u00b5<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em> &gt; 0<\/p>\n<p>The words &#8220;older than&#8221; translate as a &#8220;&gt;&#8221; symbol and go into<br \/>\n<em>Ha<\/em>. Therefore, this is a right-tailed test.<\/p>\n<p><strong>Distribution for the test: <\/strong>The distribution is the normal approximation to the Student&#8217;s <em>t<\/em> for means, independent groups. Using the formula, the distribution is:<\/p>\n<p>[latex]\\displaystyle\\overline{{X}}_{{1}}-\\overline{{X}}_{{2}}\\sim{N}\\Bigg[{0,\\sqrt{{\\dfrac{{(9.55)}^{{2}}}{30}+\\dfrac {{(10.17)}^{{2}}}{30}}}}\\Bigg][\/latex]<\/p>\n<p>Since\u00a0<em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2264 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em>, <em>\u00b5<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2013 <em>\u00b5<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2264 0 and the mean for the normal distribution is zero.<\/p>\n<p>(<strong>Calculating the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution<\/strong> gives <em>p<\/em>-value = 0.4040)<\/p>\n<p><strong>Graph:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2120 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01164922\/2eda4226c1b4f5ca3be359676ce1f640d4a07377.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. A vertical line to the right of zero extends from the axis to the curve. The region under the curve to the right of the line is shaded representing p-value = 0.4955.\" width=\"488\" height=\"177\" \/><\/p>\n<p><strong>Compare <em data-redactor-tag=\"em\">\u03b1<\/em> and the <em>p<\/em>-value:\u00a0<\/strong><em>\u03b1<\/em> = 0.05 and <em>p<\/em>-value = 0.4040. Therefore, <em>\u03b1<\/em> &lt; <em>p<\/em>-value.<\/p>\n<p><strong>Make a decision:<\/strong> Since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, do not reject <em>H<sub>0<\/sub><\/em>.<\/p>\n<p><strong>Conclusion:<\/strong> At the 5% level of significance, from the sample data, there is not sufficient evidence to conclude that the mean age of Democratic senators is greater than the mean age of the Republican senators.<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-288\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Two Population Means with Known Standard Deviations. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/10-2-two-population-means-with-known-standard-deviations\">https:\/\/openstax.org\/books\/introductory-statistics\/pages\/10-2-two-population-means-with-known-standard-deviations<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/li><li>Introductory Statistics. <strong>Authored by<\/strong>: Barbara Illowsky, Susan Dean. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\">https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":169134,"menu_order":11,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Two Population Means with Known Standard Deviations\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/10-2-two-population-means-with-known-standard-deviations\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\"},{\"type\":\"cc\",\"description\":\"Introductory Statistics\",\"author\":\"Barbara Illowsky, Susan Dean\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-288","chapter","type-chapter","status-publish","hentry"],"part":285,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/users\/169134"}],"version-history":[{"count":19,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/288\/revisions"}],"predecessor-version":[{"id":3903,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/288\/revisions\/3903"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/parts\/285"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/288\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapter-type?post=288"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/contributor?post=288"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/license?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}