{"id":128,"date":"2018-10-31T18:07:13","date_gmt":"2018-10-31T22:07:13","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/simplestats\/?post_type=part&#038;p=128"},"modified":"2019-11-15T18:22:40","modified_gmt":"2019-11-15T23:22:40","slug":"chapter-10-bivariate-testing-basics-of-regression","status":"publish","type":"part","link":"https:\/\/pressbooks.bccampus.ca\/simplestats\/part\/chapter-10-bivariate-testing-basics-of-regression\/","title":{"raw":"Chapter 10 Testing Associations II: Correlation and Regression","rendered":"Chapter 10 Testing Associations II: Correlation and Regression"},"content":{"raw":"&nbsp;\r\n\r\nThis is it: you are finally here, reading the<em> last<\/em> <em>chapter<\/em>. (And after nine chapters, what's just one more?) This is not a heavy chapter as some of the others but regression <em>is<\/em> sufficiently different form the type of testing about which you learned in Chapter 8 to deserve a heads-up -- so if you find yourself despairing at some point, just remind yourself that\u00a0<em>this is it<\/em>; once you've learned <em>this<\/em>, you will have a passing knowledge about <em>how, what for,<\/em> and <em>why<\/em> statistics is used in sociological research, and you will also be able to do some basic analysis on your own! -- and you'll be done in no time.\r\n\r\n&nbsp;\r\n\r\nPep talk aside, for this chapter you should review\/recall Chapter 7, and specifically Section 7.2.3 (<a href=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/7-2-3-between-two-continuous-variables\/\">https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/7-2-3-between-two-continuous-variables\/<\/a>) on examining bivariate associations between two variables, treated as continuous for the purposes of statistical analysis. We did that visually through a scatterplot (with a line of best fit) and numerically through the coefficient of correlation called Pearson's <em>r<\/em>.\r\n\r\n&nbsp;\r\n\r\nIn this chapter, you will learn what <em>r<\/em> actually is, and that it has its own <em>t<\/em>-test and a\u00a0<em>p<\/em>-value to test its significance. In addition, I will present a relatively brief and basic introduction into the topic of regression, a powerful and versatile technique with truly impressive number of applications which readily allows for doing <em>multivariate<\/em> analysis.\r\n\r\n&nbsp;\r\n\r\nAfter all, recall that when we do bivariate analysis, we ignore the complexity of the real world where variables are\/may be tangled in a veritable web of almost endless interrelationships. With bivariate analysis we ignore all that to focus on how just <em>two<\/em> variables are statistically associated. But because of that, we cannot say anything about <em>causality<\/em> as we cannot account for additional variables that could serve as alternative explanations to what we observe. And while multivariate regression cannot <em>completely<\/em> do that either (in the social sciences establishing causality is a pretty tall order), with careful assumptions and the right specifications, it can help bring us more than a few steps further in that direction.\r\n\r\n&nbsp;\r\n\r\nOf course, even if I haven't already told you, you would have been able to tell by now that multivariate regression analysis falls beyond the scope of what we do here. What follows is a necessary stepping stone, however; once you have the right idea about how regression works with two continuous variables, everything else <em>regression<\/em> follows the same basic principle and thus can be built on top of the foundation you will have by the end of this chapter (and book!).\r\n\r\nSo, ready? Let's go then!\u00a0The end is just several sections away!","rendered":"<p>&nbsp;<\/p>\n<p>This is it: you are finally here, reading the<em> last<\/em> <em>chapter<\/em>. (And after nine chapters, what&#8217;s just one more?) This is not a heavy chapter as some of the others but regression <em>is<\/em> sufficiently different form the type of testing about which you learned in Chapter 8 to deserve a heads-up &#8212; so if you find yourself despairing at some point, just remind yourself that\u00a0<em>this is it<\/em>; once you&#8217;ve learned <em>this<\/em>, you will have a passing knowledge about <em>how, what for,<\/em> and <em>why<\/em> statistics is used in sociological research, and you will also be able to do some basic analysis on your own! &#8212; and you&#8217;ll be done in no time.<\/p>\n<p>&nbsp;<\/p>\n<p>Pep talk aside, for this chapter you should review\/recall Chapter 7, and specifically Section 7.2.3 (<a href=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/7-2-3-between-two-continuous-variables\/\">https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/7-2-3-between-two-continuous-variables\/<\/a>) on examining bivariate associations between two variables, treated as continuous for the purposes of statistical analysis. We did that visually through a scatterplot (with a line of best fit) and numerically through the coefficient of correlation called Pearson&#8217;s <em>r<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<p>In this chapter, you will learn what <em>r<\/em> actually is, and that it has its own <em>t<\/em>-test and a\u00a0<em>p<\/em>-value to test its significance. In addition, I will present a relatively brief and basic introduction into the topic of regression, a powerful and versatile technique with truly impressive number of applications which readily allows for doing <em>multivariate<\/em> analysis.<\/p>\n<p>&nbsp;<\/p>\n<p>After all, recall that when we do bivariate analysis, we ignore the complexity of the real world where variables are\/may be tangled in a veritable web of almost endless interrelationships. With bivariate analysis we ignore all that to focus on how just <em>two<\/em> variables are statistically associated. But because of that, we cannot say anything about <em>causality<\/em> as we cannot account for additional variables that could serve as alternative explanations to what we observe. And while multivariate regression cannot <em>completely<\/em> do that either (in the social sciences establishing causality is a pretty tall order), with careful assumptions and the right specifications, it can help bring us more than a few steps further in that direction.<\/p>\n<p>&nbsp;<\/p>\n<p>Of course, even if I haven&#8217;t already told you, you would have been able to tell by now that multivariate regression analysis falls beyond the scope of what we do here. What follows is a necessary stepping stone, however; once you have the right idea about how regression works with two continuous variables, everything else <em>regression<\/em> follows the same basic principle and thus can be built on top of the foundation you will have by the end of this chapter (and book!).<\/p>\n<p>So, ready? Let&#8217;s go then!\u00a0The end is just several sections away!<\/p>\n","protected":false},"parent":0,"menu_order":8,"template":"","meta":{"pb_part_invisible":false,"pb_part_invisible_string":""},"contributor":[],"license":[],"class_list":["post-128","part","type-part","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/parts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/parts"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/types\/part"}],"version-history":[{"count":14,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/parts\/128\/revisions"}],"predecessor-version":[{"id":2143,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/parts\/128\/revisions\/2143"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/contributor?post=128"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/license?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}