{"id":8805,"date":"2024-09-09T05:10:09","date_gmt":"2024-09-09T05:10:09","guid":{"rendered":"https:\/\/4botany.appscodestudio.com\/?p=8805"},"modified":"2024-09-09T05:10:10","modified_gmt":"2024-09-09T05:10:10","slug":"two-population-means-with-known-standard-deviations","status":"publish","type":"post","link":"https:\/\/4botany.appscodestudio.com\/index.php\/2024\/09\/09\/two-population-means-with-known-standard-deviations\/","title":{"rendered":"Two Population Means with Known Standard Deviations"},"content":{"rendered":"\n<p id=\"eip-8888\">Even though this situation is not likely (knowing the population standard deviations is very unlikely), the following example illustrates hypothesis testing for independent means with known population standard deviations. The sampling distribution for the difference between the means is normal in accordance with the central limit theorem. The random variable is&nbsp;X1\u2013\u2013\u2013\u2013X2\u2013\u2013\u2013X1\u2013\u2013X2\u2013. The normal distribution has the following format:<\/p>\n\n\n\n<p><strong>The standard deviation<\/strong>&nbsp;is:<\/p>\n\n\n\n<p>(\u03c31)2n1+(\u03c32)2n2\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u221a(\u03c31)2n1+(\u03c32)2n2<\/p>\n\n\n\n<p>The&nbsp;<strong>test statistic<\/strong>&nbsp;(<em>z<\/em>-score) is:<\/p>\n\n\n\n<p>Zc=(x\u20131\u2013x\u20132)\u2013\u03b40(\u03c31)2n1+(\u03c32)2n2\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u221aZc=(x\u20131\u2013x\u20132)\u2013\u03b40(\u03c31)2n1+(\u03c32)2n2<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example&nbsp;10.7<\/h3>\n\n\n\n<p id=\"element-384\"><strong>Independent groups, population standard deviations known:<\/strong>\u00a0The mean lasting time of two competing floor waxes is to be compared.\u00a0<strong>Twenty floors<\/strong>\u00a0are randomly assigned\u00a0<strong>to test each wax<\/strong>. Both populations have a normal distributions. The data are recorded in\u00a0Table 10.8.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Wax<\/th><th>Sample mean number of months floor wax lasts<\/th><th>Population standard deviation<\/th><\/tr><\/thead><tbody><tr><td>1<\/td><td>3<\/td><td>0.33<\/td><\/tr><tr><td>2<\/td><td>2.9<\/td><td>0.36<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong>Table<\/strong>\u00a0<strong>10.8<\/strong><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Problem<\/h3>\n\n\n\n<p id=\"element-656\">Does the data indicate that&nbsp;<strong>wax 1 is more effective than wax 2<\/strong>? Test at a 5% level of significance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution<\/h3>\n\n\n\n<p id=\"element-795\">This is a test of two independent groups, two population means, population standard deviations known.<\/p>\n\n\n\n<p id=\"element-483\"><strong>Random Variable<\/strong>:&nbsp;X\u20131\u2013&nbsp;X\u20132X\u20131\u2013&nbsp;X\u20132&nbsp;= difference in the mean number of months the competing floor waxes last.<\/p>\n\n\n\n<p id=\"element-735\">H0:\u03bc1\u2264\u03bc2H0:\u03bc1\u2264\u03bc2<\/p>\n\n\n\n<p id=\"element-608\">Ha:\u03bc1&gt;\u03bc2Ha:\u03bc1&gt;\u03bc2<\/p>\n\n\n\n<p id=\"element-696\">The words&nbsp;<strong>&#8220;is more effective&#8221;<\/strong>&nbsp;says that&nbsp;<strong>wax 1 lasts longer than wax 2<\/strong>, on average. &#8220;Longer&#8221; is a \u201c&gt;\u201d symbol and goes into&nbsp;<em>H<sub>a<\/sub><\/em>. Therefore, this is a right-tailed test.<\/p>\n\n\n\n<p id=\"element-690\"><strong>Distribution for the test:<\/strong>&nbsp;The population standard deviations are known so the distribution is normal. Using the formula for the test statistic we find the calculated value for the problem.<\/p>\n\n\n\n<p>Zc=(\u03bc1\u2212\u03bc2)\u2212\u03b40\u03c321n1+\u03c322n2\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u221a=0.1Zc=(\u03bc1-\u03bc2)-\u03b40\u03c312n1+\u03c322n2=0.1<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/openstax.org\/apps\/archive\/20240812.170248\/resources\/27999c263316118c511a77c48bc9aa005518c593\" 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.\"\/><\/figure>\n\n\n\n<p><strong>Figure&nbsp;<\/strong><strong>10.7<\/strong><\/p>\n\n\n\n<p id=\"element-311\">The estimated difference between he two means is :&nbsp;X\u20131X\u20131&nbsp;\u2013&nbsp;X\u20132X\u20132&nbsp;= 3 \u2013 2.9 = 0.1<\/p>\n\n\n\n<p id=\"element-803\"><strong>Compare calculated value and critical value and Z<sub>\u03b1<\/sub>:<\/strong>&nbsp;We mark the calculated value on the graph and find the calculated value is not in the tail therefore we cannot reject the null hypothesis.<\/p>\n\n\n\n<p id=\"element-962\"><strong>Make a decision:<\/strong>&nbsp;the calculated value of the test statistic is not in the tail, therefore you cannot reject&nbsp;<em>H<sub>0<\/sub><\/em>.<\/p>\n\n\n\n<p id=\"element-132\"><strong>Conclusion:<\/strong>&nbsp;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\n\n\n<h3 class=\"wp-block-heading\">Try It&nbsp;10.7<\/h3>\n\n\n\n<p id=\"fs-idm99590512\">The means of the number of revolutions per minute of two competing engines are to be compared. Thirty engines of each type are randomly assigned to be tested. Both populations have normal distributions.\u00a0Table 10.9\u00a0shows the result. Do the data indicate that Engine 2 has higher RPM than Engine 1? Test at a 5% level of significance.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Engine<\/th><th>Sample mean number of RPM<\/th><th>Population standard deviation<\/th><\/tr><\/thead><tbody><tr><td>1<\/td><td>1,500<\/td><td>50<\/td><\/tr><tr><td>2<\/td><td>1,600<\/td><td>60<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong>Table<\/strong>\u00a0<strong>10.9<\/strong><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Example&nbsp;10.8<\/h3>\n\n\n\n<p id=\"fs-idm105362096\">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\n\n\n<h3 class=\"wp-block-heading\">Problem<\/h3>\n\n\n\n<p id=\"fs-idm126341728\">Do the data indicate that Democratic senators are older than Republican senators, on average? Test at a 5% level of significance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution<\/h3>\n\n\n\n<p id=\"fs-idm81176832\">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\u2019s-t distribution. Subscripts: 1: Democratic senators 2: Republican senators<\/p>\n\n\n\n<p id=\"fs-idm127611248\"><strong>Random variable:<\/strong>&nbsp;X\u20131&nbsp;\u2013&nbsp;X\u20132X\u20131&nbsp;\u2013&nbsp;X\u20132&nbsp;= difference in the mean age of Democratic and Republican U.S. senators.<\/p>\n\n\n\n<p id=\"fs-idm49757440\">H0:\u03bc1\u2264\u03bc2H0:\u03bc1\u2264\u03bc2&nbsp;H0:\u03bc1\u2212\u03bc2\u22640H0:\u03bc1-\u03bc2\u22640<\/p>\n\n\n\n<p id=\"fs-idm175162192\">Ha:\u03bc1&gt;\u03bc2Ha:\u03bc1&gt;\u03bc2&nbsp;Ha:\u03bc1\u2212\u03bc2&gt;0Ha:\u03bc1-\u03bc2&gt;0<\/p>\n\n\n\n<p id=\"fs-idm173135600\">The words &#8220;older than&#8221; translates as a \u201c&gt;\u201d symbol and goes into&nbsp;<em>H<sub>a<\/sub><\/em>. Therefore, this is a right-tailed test.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/openstax.org\/apps\/archive\/20240812.170248\/resources\/f4f39b75d2421b2e8f70860f0c56a41cfbe843d9\" 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.\"\/><\/figure>\n\n\n\n<p><strong>Figure&nbsp;<\/strong><strong>10.8<\/strong><\/p>\n\n\n\n<p id=\"fs-idm49745696\"><strong>Make a decision:<\/strong>&nbsp;The p-value is larger than 5%, therefore we cannot reject the null hypothesis. By calculating the test statistic we would find that the test statistic does not fall in the tail, therefore we cannot reject the null hypothesis. We reach the same conclusion using either method of a making this statistical decision.<\/p>\n\n\n\n<p id=\"fs-idm113348080\"><strong>Conclusion:<\/strong>&nbsp;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\n\n\n<h3 class=\"wp-block-heading\">Try It&nbsp;10.8<\/h3>\n\n\n\n<p id=\"para-00001\">The average age of 10 professors selected randomly in university A is 46.672 with a standard deviation of 8.53. The average age of 10 professors selected randomly in university B is 47.531 with a standard deviation of 7.83.<\/p>\n\n\n\n<p id=\"para-00002\">Does the data indicate that university A has older professors than university B, on average? Test at a 5% level of significance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Even though this situation is not likely (knowing the population standard deviations is very unlikely), the following example illustrates hypothesis testing for independent means with known population standard deviations. The sampling distribution for the difference between the means is normal in accordance with the central limit theorem. The random variable is&nbsp;X1\u2013\u2013\u2013\u2013X2\u2013\u2013\u2013X1\u2013\u2013X2\u2013. The normal distribution has [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1259],"tags":[],"class_list":["post-8805","post","type-post","status-publish","format-standard","hentry","category-hypothesis-testing-with-two-samples"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/8805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=8805"}],"version-history":[{"count":0,"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/8805\/revisions"}],"wp:attachment":[{"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=8805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=8805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4botany.appscodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=8805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}