{"id":410,"date":"2021-08-09T05:12:43","date_gmt":"2021-08-09T09:12:43","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/statspsych\/?post_type=chapter&#038;p=410"},"modified":"2022-06-04T03:29:10","modified_gmt":"2022-06-04T07:29:10","slug":"chapter-7","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/statspsych\/chapter\/chapter-7\/","title":{"raw":"7. Independent Means t-test","rendered":"7. Independent Means t-test"},"content":{"raw":"<h1>7. Independent Means t-test<\/h1>\r\nIn this chapter, I will introduce to you one last t-test variation \u2013 the <strong>[pb_glossary id=\"412\"]independent means t-test[\/pb_glossary]<\/strong>. This one is intended for the classic experimental design, in which two independent samples are compared.\r\n\r\n<img class=\"aligncenter wp-image-427\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-692x1024.jpg\" alt=\"\" width=\"307\" height=\"454\" \/>\r\n\r\nIn a classic experimental design, we are comparing two samples. The <strong>independent means t-test<\/strong> is typically used to compare the data from an experimental group to those from a control group. The experimental group is the one that receives the manipulation, or the independent variable, and the control group is the one that receives either no manipulation, or an alternative one that represents the status quo \u2013 like a placebo. What makes this different from the repeated measures type of design, is that the scores from the two groups are independent. They are obtained from different participants who are randomly assigned to one group or the other.\r\n\r\nFor example, if I want to see if memory span is affected by the colour in which items are presented. I test one group of people with black and white items, and test another group of people with red items.\r\n\r\n<img class=\"aligncenter wp-image-385\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154.jpg\" alt=\"\" width=\"330\" height=\"205\" \/>\r\n\r\nI will compare one group average with the other group average. There is no relationship or dependency of one group of scores with the other group, so it will be appropriate to analyze the data with an <strong>independent t-test<\/strong>.\r\n\r\nWith all statistical tests, we know each sample comes from a population. The question is: are they different populations? To answer this question using statistical tests, we need to make some assumptions about the data. We have been making the [pb_glossary id=\"416\"]<strong>normal curve assumption<\/strong>[\/pb_glossary] all along, and we saw how the central limit theorem can be used to justify this assumption when our samples are large enough. With this new kind of t-test, we are also going to make the <strong>[pb_glossary id=\"417\"]homoscedasticity assumption[\/pb_glossary]<\/strong>: that the two populations we are comparing have the same variance. In an introductory course like this, we will not go into the technicalities of verifying this assumption, but it is possible to do so before we conduct the analysis.\r\n\r\n[h5p id=\"60\"]\r\n\r\n[h5p id=\"58\"]\r\n\r\nIn the <strong>independent means t-test<\/strong>, just like with the dependent t-test, we have no direct information about population 1 or 2. We calculate sample means from our research and comparison samples. To find the standard deviation for the comparison population, we will take sample based estimates using all the scores we have to hand, by pooling together the variance of each sample. This makes sense if we are assuming the two populations have equal variance.\r\n\r\n[h5p id=\"59\"]\r\n\r\nIn step 2, we will once again set the comparison population mean to zero, because the comparison reflects the distribution of means under the null hypothesis, in which there is no difference between the populations.\r\n\r\n<img class=\"aligncenter wp-image-395 \" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-300x101.jpg\" alt=\"\" width=\"134\" height=\"45\" \/>\r\n\r\nThe standard deviation will be calculated through a workflow previous students have told me looks like an hourglass shape.\r\n\r\n<img class=\"aligncenter wp-image-418\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1.png\" alt=\"\" width=\"426\" height=\"502\" \/>\r\n\r\nStarting from the top, we first calculate the variance of sample 1 and sample 2 separately.\r\n\r\n[latex] \\[S^{2}=\\frac{(X-M)^{2}}{N-1}\\] [\/latex]\r\n\r\nWe then pool the two variances together using a weighted average formula. This formula just allows us to count one variance more than the other if the sample size is bigger. With two independent samples, it is not uncommon to have an unequal N, or number of scores, in each group.\r\n\r\n[latex] \\[S^{2}_{Pooled}=\\frac{df_{1}}{df_{Total}}(S^2_{1})+\\frac{df_{2}}{df_{Total}}(S^2_{2})\\]\r\n[\/latex]\r\n\r\n&nbsp;\r\n\r\n[h5p id=\"63\"]\r\n\r\nOnce we have the pooled variance calculated, we use that to convert to the variance of the distribution of the difference between means, which is the comparison distribution for this test.\r\n[latex] \\[S^{2}_{M}=\\frac{S^{2}_{Pooled}}{N} \\] [\/latex]\r\n[latex] \\[S^{2}_{Difference}=S^{2}_{M1}+S^{2}_{M2} \\] [\/latex]\r\n\r\n[h5p id=\"64\"]\r\n\r\nWe then square root to get the estimated standard deviation for the comparison distribution.\r\n\r\n[latex] \\[S_{Difference}=\\sqrt{S^{2}_{Difference}} \\] [\/latex]\r\n\r\n[h5p id=\"65\"]\r\n\r\nNow for step 3: the one new thing here is the degrees of freedom we will use to look up the cutoff sample score in the <a href=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/back-matter\/t-distribution-tables\/\" target=\"_blank\" rel=\"noopener\">t tables<\/a>. Because we have two samples, we will use the pooled, or total, degrees of freedom for lookup. That is the main advantage of the <strong>independent means t-test<\/strong>. Because we have two samples of scores, we get the benefit of more degrees of freedom.\r\n\r\n[h5p id=\"61\"]\r\n\r\nFor step 4, we have a new t-test formula. We subtract the sample mean of the control group from the sample mean of the experimental group, so that our directionality makes sense when we mark the test score on the comparison distribution and determine whether it falls in the shaded tail.\r\n\r\n[latex] \\[t=\\frac{M_{1}-M_{2}}{S_{Difference}}\\] [\/latex]\r\n\r\n&nbsp;\r\n\r\n[h5p id=\"66\"]\r\n\r\nOne thing never changes: In step 5, if the t-test score falls in the shaded tail we reject the null hypothesis.\r\n\r\n<img class=\"aligncenter wp-image-425\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-1024x645.jpg\" alt=\"\" width=\"479\" height=\"302\" \/>\r\n\r\n[h5p id=\"62\"]\r\n\r\nAs we go through the course, we are repeating lots of concepts and procedure enough, that I start to go quickly through those elements. If some aspect of the hypothesis test is still not making sense, that\u2019s totally okay, and it\u2019s completely normal. But you need to come back to those bits and grapple with them, perhaps by heading back to earlier chapters where those concepts or procedures were first introduced. Do not give up on a concept if it is still fuzzy. By now things should be starting to gel. Are there any aspects that you are still doing by rote rather than through conceptual understanding? I recommend that you persist. It will make sense if you get enough examples and explanations. For most of us it takes quite a bit of repetition and a few different approaches. Check out another textbook for an alternative look at the same piece.\r\n\r\nIf we were writing up the hypothesis test outcome from the example illustrated above, we might interpret it this way in the results section: <span class=\"pullquote-left\">\"We found that people who consumed chocolate had significantly lower mood scores than the control group (p = 0.0145).\"<\/span>\r\n\r\nThe p-value represents the probability of the test score, or any score that is more extreme than that, occurring under the comparison distribution. To get that, we find the area under the curve beyond the test score, either in one tail or in both tails, depending on the directionality of the test.\r\n\r\nWe have now completed the decision tree for this section of the course. If we have two samples to compare, and there is no relationship between the individuals in the two samples, we use the <strong>independent t-test<\/strong>.\r\n\r\n<img class=\"aligncenter wp-image-436\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-1024x431.png\" alt=\"\" width=\"595\" height=\"250\" \/>\r\n<h1>[h5p id=\"57\"]<\/h1>\r\n<h1>Chapter Summary<\/h1>\r\nIn this chapter, we introduced the use of the <strong>independent means t-test<\/strong> in the context of hypothesis tests of the difference of two sample means. This test is appropriate for research designs in which two samples are formed through random assignment to groups, for example and experimental group and a control group. Scores from both samples are used to estimate the comparison population distribution, and to contribute to degrees of freedom.\r\n\r\nKey terms:\r\n<table class=\"no-lines\" style=\"border-collapse: collapse;width: 100%;height: 15px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 15px\">\r\n<td style=\"width: 33.3333%;height: 15px\"><strong>independent means t-test<\/strong><\/td>\r\n<td style=\"width: 33.3333%;height: 15px\"><strong>normal curve assumption<\/strong><\/td>\r\n<td style=\"width: 33.3333%;height: 15px\"><strong>homoscedasticity assumption<\/strong><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>","rendered":"<h1>7. Independent Means t-test<\/h1>\n<p>In this chapter, I will introduce to you one last t-test variation \u2013 the <strong><a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_410_412\">independent means t-test<\/a><\/strong>. This one is intended for the classic experimental design, in which two independent samples are compared.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-427\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-692x1024.jpg\" alt=\"\" width=\"307\" height=\"454\" srcset=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-692x1024.jpg 692w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-203x300.jpg 203w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-768x1137.jpg 768w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-65x96.jpg 65w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-225x333.jpg 225w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3-350x518.jpg 350w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.3.jpg 858w\" sizes=\"auto, (max-width: 307px) 100vw, 307px\" \/><\/p>\n<p>In a classic experimental design, we are comparing two samples. The <strong>independent means t-test<\/strong> is typically used to compare the data from an experimental group to those from a control group. The experimental group is the one that receives the manipulation, or the independent variable, and the control group is the one that receives either no manipulation, or an alternative one that represents the status quo \u2013 like a placebo. What makes this different from the repeated measures type of design, is that the scores from the two groups are independent. They are obtained from different participants who are randomly assigned to one group or the other.<\/p>\n<p>For example, if I want to see if memory span is affected by the colour in which items are presented. I test one group of people with black and white items, and test another group of people with red items.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-385\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154.jpg\" alt=\"\" width=\"330\" height=\"205\" srcset=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154.jpg 735w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154-300x187.jpg 300w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154-65x40.jpg 65w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154-225x140.jpg 225w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/IMG_0154-350x218.jpg 350w\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" \/><\/p>\n<p>I will compare one group average with the other group average. There is no relationship or dependency of one group of scores with the other group, so it will be appropriate to analyze the data with an <strong>independent t-test<\/strong>.<\/p>\n<p>With all statistical tests, we know each sample comes from a population. The question is: are they different populations? To answer this question using statistical tests, we need to make some assumptions about the data. We have been making the <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_410_416\"><strong>normal curve assumption<\/strong><\/a> all along, and we saw how the central limit theorem can be used to justify this assumption when our samples are large enough. With this new kind of t-test, we are also going to make the <strong><a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_410_417\">homoscedasticity assumption<\/a><\/strong>: that the two populations we are comparing have the same variance. In an introductory course like this, we will not go into the technicalities of verifying this assumption, but it is possible to do so before we conduct the analysis.<\/p>\n<div id=\"h5p-60\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-60\" class=\"h5p-iframe\" data-content-id=\"60\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.02. Normal curve assumption.\"><\/iframe><\/div>\n<\/div>\n<div id=\"h5p-58\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-58\" class=\"h5p-iframe\" data-content-id=\"58\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.03. Homoscedasticity assumption.\"><\/iframe><\/div>\n<\/div>\n<p>In the <strong>independent means t-test<\/strong>, just like with the dependent t-test, we have no direct information about population 1 or 2. We calculate sample means from our research and comparison samples. To find the standard deviation for the comparison population, we will take sample based estimates using all the scores we have to hand, by pooling together the variance of each sample. This makes sense if we are assuming the two populations have equal variance.<\/p>\n<div id=\"h5p-59\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-59\" class=\"h5p-iframe\" data-content-id=\"59\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.04. Independent mean t-test hypothesis\"><\/iframe><\/div>\n<\/div>\n<p>In step 2, we will once again set the comparison population mean to zero, because the comparison reflects the distribution of means under the null hypothesis, in which there is no difference between the populations.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-395\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-300x101.jpg\" alt=\"\" width=\"134\" height=\"45\" srcset=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-300x101.jpg 300w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-1024x344.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-768x258.jpg 768w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-65x22.jpg 65w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-225x76.jpg 225w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5-350x118.jpg 350w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-6.5.jpg 1537w\" sizes=\"auto, (max-width: 134px) 100vw, 134px\" \/><\/p>\n<p>The standard deviation will be calculated through a workflow previous students have told me looks like an hourglass shape.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-418\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1.png\" alt=\"\" width=\"426\" height=\"502\" srcset=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1.png 685w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1-255x300.png 255w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1-65x77.png 65w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1-225x265.png 225w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.1-350x412.png 350w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/p>\n<p>Starting from the top, we first calculate the variance of sample 1 and sample 2 separately.<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 39px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/ql-cache\/quicklatex.com-cda4a90a7d273c0103b22ca99d0a5165_l3.png\" height=\"39\" width=\"124\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#32;&#92;&#091;&#83;&#94;&#123;&#50;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#40;&#88;&#45;&#77;&#41;&#94;&#123;&#50;&#125;&#125;&#123;&#78;&#45;&#49;&#125;&#92;&#093;&#32;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>We then pool the two variances together using a weighted average formula. This formula just allows us to count one variance more than the other if the sample size is bigger. With two independent samples, it is not uncommon to have an unequal N, or number of scores, in each group.<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 40px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/ql-cache\/quicklatex.com-104123388f6a77e74f68ec9c28d1a5f0_l3.png\" height=\"40\" width=\"270\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#32;&#92;&#091;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#80;&#111;&#111;&#108;&#101;&#100;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#100;&#102;&#95;&#123;&#49;&#125;&#125;&#123;&#100;&#102;&#95;&#123;&#84;&#111;&#116;&#97;&#108;&#125;&#125;&#40;&#83;&#94;&#50;&#95;&#123;&#49;&#125;&#41;&#43;&#92;&#102;&#114;&#97;&#99;&#123;&#100;&#102;&#95;&#123;&#50;&#125;&#125;&#123;&#100;&#102;&#95;&#123;&#84;&#111;&#116;&#97;&#108;&#125;&#125;&#40;&#83;&#94;&#50;&#95;&#123;&#50;&#125;&#41;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<div id=\"h5p-63\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-63\" class=\"h5p-iframe\" data-content-id=\"63\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.07. (Continued). Pooled variance calculation.\"><\/iframe><\/div>\n<\/div>\n<p>Once we have the pooled variance calculated, we use that to convert to the variance of the distribution of the difference between means, which is the comparison distribution for this test.<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 40px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/ql-cache\/quicklatex.com-a3862cc74a7196cf8599278e700f391f_l3.png\" height=\"40\" width=\"106\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#32;&#92;&#091;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#77;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#80;&#111;&#111;&#108;&#101;&#100;&#125;&#125;&#123;&#78;&#125;&#32;&#92;&#093;&#32;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 24px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/ql-cache\/quicklatex.com-8a697044b808b6a937f9e9907ef65c24_l3.png\" height=\"24\" width=\"195\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#32;&#92;&#091;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#68;&#105;&#102;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#125;&#61;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#77;&#49;&#125;&#43;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#77;&#50;&#125;&#32;&#92;&#093;&#32;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<div id=\"h5p-64\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-64\" class=\"h5p-iframe\" data-content-id=\"64\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.08. (Continued). Variance of the distribution of the difference between means calculation\"><\/iframe><\/div>\n<\/div>\n<p>We then square root to get the estimated standard deviation for the comparison distribution.<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 32px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/ql-cache\/quicklatex.com-899537b8a778791340ee3725c9b28c16_l3.png\" height=\"32\" width=\"211\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#32;&#92;&#091;&#83;&#95;&#123;&#68;&#105;&#102;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#125;&#61;&#92;&#115;&#113;&#114;&#116;&#123;&#83;&#94;&#123;&#50;&#125;&#95;&#123;&#68;&#105;&#102;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#125;&#125;&#32;&#92;&#093;&#32;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<div id=\"h5p-65\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-65\" class=\"h5p-iframe\" data-content-id=\"65\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.09. (Continued). The estimated standard deviation for the comparison distribution calculation\"><\/iframe><\/div>\n<\/div>\n<p>Now for step 3: the one new thing here is the degrees of freedom we will use to look up the cutoff sample score in the <a href=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/back-matter\/t-distribution-tables\/\" target=\"_blank\" rel=\"noopener\">t tables<\/a>. Because we have two samples, we will use the pooled, or total, degrees of freedom for lookup. That is the main advantage of the <strong>independent means t-test<\/strong>. Because we have two samples of scores, we get the benefit of more degrees of freedom.<\/p>\n<div id=\"h5p-61\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-61\" class=\"h5p-iframe\" data-content-id=\"61\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.05. (Continued). Degrees of Freedom (df)\"><\/iframe><\/div>\n<\/div>\n<p>For step 4, we have a new t-test formula. We subtract the sample mean of the control group from the sample mean of the experimental group, so that our directionality makes sense when we mark the test score on the comparison distribution and determine whether it falls in the shaded tail.<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/ql-cache\/quicklatex.com-104d8a5c6ca82a7fda7bd4f33a0af9de_l3.png\" height=\"42\" width=\"117\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#32;&#92;&#091;&#116;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#77;&#95;&#123;&#49;&#125;&#45;&#77;&#95;&#123;&#50;&#125;&#125;&#123;&#83;&#95;&#123;&#68;&#105;&#102;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#125;&#125;&#92;&#093;&#32;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<div id=\"h5p-66\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-66\" class=\"h5p-iframe\" data-content-id=\"66\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.10. (Continued). T-test score calculation.\"><\/iframe><\/div>\n<\/div>\n<p>One thing never changes: In step 5, if the t-test score falls in the shaded tail we reject the null hypothesis.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-425\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-1024x645.jpg\" alt=\"\" width=\"479\" height=\"302\" srcset=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-1024x645.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-300x189.jpg 300w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-768x484.jpg 768w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-1536x968.jpg 1536w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-65x41.jpg 65w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-225x142.jpg 225w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2-350x221.jpg 350w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.2.jpg 1731w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/p>\n<div id=\"h5p-62\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-62\" class=\"h5p-iframe\" data-content-id=\"62\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.06. (Continued). Degrees of freedom and Critical Values.\"><\/iframe><\/div>\n<\/div>\n<p>As we go through the course, we are repeating lots of concepts and procedure enough, that I start to go quickly through those elements. If some aspect of the hypothesis test is still not making sense, that\u2019s totally okay, and it\u2019s completely normal. But you need to come back to those bits and grapple with them, perhaps by heading back to earlier chapters where those concepts or procedures were first introduced. Do not give up on a concept if it is still fuzzy. By now things should be starting to gel. Are there any aspects that you are still doing by rote rather than through conceptual understanding? I recommend that you persist. It will make sense if you get enough examples and explanations. For most of us it takes quite a bit of repetition and a few different approaches. Check out another textbook for an alternative look at the same piece.<\/p>\n<p>If we were writing up the hypothesis test outcome from the example illustrated above, we might interpret it this way in the results section: <span class=\"pullquote-left\">&#8220;We found that people who consumed chocolate had significantly lower mood scores than the control group (p = 0.0145).&#8221;<\/span><\/p>\n<p>The p-value represents the probability of the test score, or any score that is more extreme than that, occurring under the comparison distribution. To get that, we find the area under the curve beyond the test score, either in one tail or in both tails, depending on the directionality of the test.<\/p>\n<p>We have now completed the decision tree for this section of the course. If we have two samples to compare, and there is no relationship between the individuals in the two samples, we use the <strong>independent t-test<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-436\" src=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-1024x431.png\" alt=\"\" width=\"595\" height=\"250\" srcset=\"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-1024x431.png 1024w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-300x126.png 300w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-768x323.png 768w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-65x27.png 65w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-225x95.png 225w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4-350x147.png 350w, https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-content\/uploads\/sites\/1469\/2021\/08\/Fig-7.4.png 1194w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/p>\n<h1>\n<div id=\"h5p-57\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-57\" class=\"h5p-iframe\" data-content-id=\"57\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Practice 7.01. Choose different\u00a0tests.\"><\/iframe><\/div>\n<\/div>\n<\/h1>\n<h1>Chapter Summary<\/h1>\n<p>In this chapter, we introduced the use of the <strong>independent means t-test<\/strong> in the context of hypothesis tests of the difference of two sample means. This test is appropriate for research designs in which two samples are formed through random assignment to groups, for example and experimental group and a control group. Scores from both samples are used to estimate the comparison population distribution, and to contribute to degrees of freedom.<\/p>\n<p>Key terms:<\/p>\n<table class=\"no-lines\" style=\"border-collapse: collapse;width: 100%;height: 15px\">\n<tbody>\n<tr style=\"height: 15px\">\n<td style=\"width: 33.3333%;height: 15px\"><strong>independent means t-test<\/strong><\/td>\n<td style=\"width: 33.3333%;height: 15px\"><strong>normal curve assumption<\/strong><\/td>\n<td style=\"width: 33.3333%;height: 15px\"><strong>homoscedasticity assumption<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"glossary\"><span class=\"screen-reader-text\" id=\"definition\">definition<\/span><template id=\"term_410_412\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_410_412\"><div tabindex=\"-1\"><p>a statistical test used in hypothesis tests comparing the means of two independent samples, created by random assignment of individuals to experimental and control groups  <\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_410_416\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_410_416\"><div tabindex=\"-1\"><p>parametric tests like the t-test and Z-test require the assumption that the distribution of means for any given population is normally distributed<\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_410_417\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_410_417\"><div tabindex=\"-1\"><p>independent means t-tests require the assumption that the two populations we are comparing have the same variance<\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><\/div>","protected":false},"author":1394,"menu_order":7,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[48],"contributor":[],"license":[],"class_list":["post-410","chapter","type-chapter","status-publish","hentry","chapter-type-numberless"],"part":3,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/chapters\/410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/wp\/v2\/users\/1394"}],"version-history":[{"count":25,"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/chapters\/410\/revisions"}],"predecessor-version":[{"id":995,"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/chapters\/410\/revisions\/995"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/chapters\/410\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/wp\/v2\/media?parent=410"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/pressbooks\/v2\/chapter-type?post=410"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/wp\/v2\/contributor?post=410"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/statspsych\/wp-json\/wp\/v2\/license?post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}