
{"id":397,"date":"2021-12-15T23:08:31","date_gmt":"2021-12-15T23:08:31","guid":{"rendered":"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-12\/"},"modified":"2025-11-05T23:18:10","modified_gmt":"2025-11-05T23:18:10","slug":"chapter-12","status":"publish","type":"chapter","link":"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-12\/","title":{"raw":"Chapter 12: Correlations","rendered":"Chapter 12: Correlations"},"content":{"raw":"<div class=\"textbox textbox--sidebar textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<h3 class=\"Chapter-element-head\">Key Terms<\/h3>\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\n&nbsp;\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor257\"><span class=\"Hyperlink-underscore\">confound variables<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor265\"><span class=\"Hyperlink-underscore\">correlation matrices<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor241\"><span class=\"Hyperlink-underscore\">covariance<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor236\"><span class=\"Hyperlink-underscore\">curvilinear relationship<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor237\"><span class=\"Hyperlink-underscore\">inverse relationship<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor247\"><span class=\"Hyperlink-underscore\">linear relationship<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor238\"><span class=\"Hyperlink-underscore\">magnitude<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor239\"><span class=\"Hyperlink-underscore\">negative relationship<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor240\"><span class=\"Hyperlink-underscore\">no relationship<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor262\"><span class=\"Hyperlink-underscore\">outlier<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor001\"><span class=\"Hyperlink-underscore\">positive relationship<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor258\"><span class=\"Hyperlink-underscore\">range restriction<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor264\"><span class=\"Hyperlink-underscore\">Spearman\u2019s rho<\/span><\/a><\/p>\r\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor242\"><span class=\"Hyperlink-underscore\">sum of products<\/span><\/a><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<p class=\"p1\"><b>Introduction: Seeing Connections in Social Inequality<\/b><\/p>\r\n<p class=\"p2\">Correlation analysis allows us to see how social realities move together. From a social justice perspective, correlation helps reveal the relationships between privilege, power, and marginalization\u2014showing, for example, how income relates to educational opportunity, how policing intensity relates to neighborhood racial composition, or how access to health care tracks with poverty rates. Understanding correlation reminds us that social problems rarely exist in isolation; they are interconnected and systemic. By quantifying the strength and direction of these connections, correlation analysis helps us move beyond assumptions and anecdotes toward evidence-based arguments for equity and reform.<\/p>\r\n<p class=\"Text-1st\">Thus far, all of our analyses have focused on comparing the value of a continuous variable across different groups via mean differences. We will now turn away from means and look instead at how to assess the relationship between two continuous variables in the form of correlations. As we will see, the logic behind correlations is the same as it was behind group means, but we will now have the ability to assess an entirely new data structure.<\/p>\r\n\r\n<h3 class=\"H1\">Variability and Covariance<\/h3>\r\n<p class=\"Text-1st\">A common theme throughout statistics is the notion that individuals will differ on different characteristics and traits, which we call <span class=\"italic\">variance<\/span>. In inferential statistics and hypothesis testing, our goal is to find systematic reasons for differences and rule out random chance as the cause. By doing this, we are using information on a different variable\u2014which so far has been group membership like in ANOVA\u2014to explain this variance. In correlations, we will instead use two continuous variables to account for the variance.<\/p>\r\n<p class=\"Text\">Because we have two continuous variables, we will have two characteristics or scores on which people will vary. What we want to know is whether people vary on the scores together. That is, as one score changes, does the other score also change in a predictable or consistent way? This notion of variables differing together is called [pb_glossary id=\"705\"]<a id=\"_idTextAnchor241\"><\/a>[\/pb_glossary]<span class=\"key-term\">covariance<\/span> (the prefix <span class=\"italic\">co-<\/span> meaning \u201ctogether\u201d).<\/p>\r\n<p class=\"Text\">Let\u2019s look at our formula for variance on a single variable:<\/p>\r\n<p class=\"Equation\"><img class=\"_idGenObjectAttribute-198\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2021\/12\/Eqn12.1-2.png\" alt=\"\" \/><\/p>\r\n<p class=\"Text\">We use <span class=\"italic\">X<\/span> to represent a person\u2019s score on the variable at hand, and <img class=\"_idGenObjectAttribute-32\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn3.2-upperM-6.png\" alt=\"Upper M\" \/> to represent the mean of that variable. The numerator of this formula is the sum of squares, which we have seen several times for various uses. Recall that squaring a value is just multiplying that value by itself.<\/p>\r\n\r\n<ul>\r\n \t<li>\r\n<table class=\"grid landscape\" style=\"border-collapse: collapse;width: 41.0335%;height: 97.9943px\" border=\"1\"><caption>Correlation Table<\/caption>\r\n<tbody>\r\n<tr style=\"height: 38.9957px\">\r\n<th style=\"width: 13.0221%;height: 38.9957px\" scope=\"rowgroup\"><\/th>\r\n<th style=\"width: 11.284%;height: 38.9957px\" scope=\"row\">X<\/th>\r\n<th style=\"width: 11.1616%;height: 38.9957px\" scope=\"row\">Y<\/th>\r\n<th style=\"width: 12.4493%;height: 38.9957px\">XY<\/th>\r\n<th style=\"width: 15.1191%;height: 38.9957px\">X<sup>2<\/sup><\/th>\r\n<th style=\"width: 12.7006%;height: 38.9957px\">Y<sup>2<\/sup><\/th>\r\n<\/tr>\r\n<tr style=\"height: 28.9986px\">\r\n<td style=\"width: 13.0221%;height: 28.9986px\">Total<\/td>\r\n<td style=\"width: 11.284%;height: 28.9986px\"><\/td>\r\n<td style=\"width: 11.1616%;height: 28.9986px\"><\/td>\r\n<td style=\"width: 12.4493%;height: 28.9986px\"><\/td>\r\n<td style=\"width: 15.1191%;height: 28.9986px\"><\/td>\r\n<td style=\"width: 12.7006%;height: 28.9986px\"><\/td>\r\n<\/tr>\r\n<tr style=\"height: 30px\">\r\n<td style=\"width: 13.0221%;height: 30px\">Mean<\/td>\r\n<td style=\"width: 11.284%;height: 30px\"><\/td>\r\n<td style=\"width: 11.1616%;height: 30px\"><\/td>\r\n<td style=\"width: 12.4493%;height: 30px\"><\/td>\r\n<td style=\"width: 15.1191%;height: 30px\"><\/td>\r\n<td style=\"width: 12.7006%;height: 30px\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n<\/ul>\r\n<p class=\"Text\"><span style=\"text-align: initial;font-size: 1.125rem\">This table works the same way it did before (remember that the column headers tell you exactly what to do in that column). We list our raw data for the <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">X<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> and <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">Y<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> variables in the <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">X<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> and <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">Y<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> columns, respectively, then add them up so we can calculate the mean of each variable. Next, you multiply your values for X and Y. The fourth and fifth columns require you to square each X value and square each Y value. (See below)<\/span><\/p>\r\n\r\n<ul>\r\n \t<li>Table calculations:\r\n<ul>\r\n \t<li>X and Y = values from data provided<\/li>\r\n \t<li>XY\u00a0 = multiply X and Y<\/li>\r\n \t<li>x<sup>2<\/sup> and y<sup>2<\/sup>= Square each value<\/li>\r\n \t<li>Total - After calculations are complete for each section add them up to find the total and calculate the mean.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\nTo get Pearson's r, you will use the values calculated above along with the n (number of pairs) to use the following formula:\r\n\r\n<span style=\"font-size: 12pt\"><img class=\"equation_image\" title=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257Bn%255Cleft(%255CSigma%2520xy%255Cright)-%255Cleft(%255CSigma%2520x%255Cright)%255Cleft(%255CSigma%2520y%255Cright)%257D%257B%255Csqrt%257B%255Cleft(n%255CSigma%2520x%255E2-%255C%253A%255Cleft(%255CSigma%2520x%255Cright)%255E2%255Cright)%255Cleft(n%255CSigma%2520y%255E2-%255C%253A%255Cleft(%255CSigma%2520y%255Cright)%255E2%255Cright)%257D%257D\" alt=\"Formula for correlation\" width=\"330\" height=\"78\" data-equation-content=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" \/><\/span>\r\n\r\nA positive r indicates that the two variables are related and move in the same direction. That is, as one variable goes up, the other will also go up, and vice versa. A negative r means that the variables are related but move in opposite directions when they change, which is called an <span class=\"key-term\">inverse relationship<\/span>. In an inverse relationship, as one variable goes up, the other variable goes down. The closer r is to zero, that means the variables are not related. As one variable goes up or down, the other variable does not change in a consistent or predictable way.\r\n<p class=\"Text\">The previous paragraph brings us to an important definition about relationships between variables. What we are looking for in a relationship is a consistent or predictable pattern. That is, the variables change together, either in the same direction or opposite directions, in the same way each time. It doesn\u2019t matter if this relationship is positive or negative, only that it is not zero. If there is no consistency in how the variables change within a person, then the relationship is zero and does not exist. We will revisit this notion of direction vs. zero relationship later on.<\/p>\r\n\r\n<h3 class=\"H1\">Visualizing Relationships: Scatterplots<\/h3>\r\n<p class=\"Text-1st\"><a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-2\/\"><span class=\"Hyperlink-underscore\">Chapter 2<\/span><\/a> covered many different forms of data visualization, and visualizing data remains an important first step in understanding and describing our data before we move into inferential statistics. Nowhere is this more important than in correlation. Correlations are visualized by a scatter plot, where our <span class=\"italic\">X<\/span> variable values are plotted on the <span class=\"italic\">x<\/span>-axis, the <span class=\"italic\">Y<\/span> variable values are plotted on the <span class=\"italic\">y<\/span>-axis, and each point or marker in the plot represents a single person\u2019s score on <span class=\"italic\">X<\/span> and\u00a0<span class=\"italic\">Y<\/span>. <a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a> shows a scatter plot for hypothetical scores on job satisfaction (<span class=\"italic\">X<\/span>) and worker well-being\u00a0(<span class=\"italic\">Y<\/span>). We can see from the axes that each of these variables is measured on a 10-point scale, with 10 being the highest on both variables (high satisfaction and good well-being) and 1 being the lowest (dissatisfaction and poor well-being). When we look at this plot, we can see that the variables do seem to be related. The higher scores on job satisfaction tend to also be the higher scores on well-being, and the same is true of the lower scores.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor243\"><\/a>Figure 12.1.<\/span> Plotting job satisfaction and well-being scores. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/81\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Job Satisfaction and Well-Being<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer550\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Job_Satisfaction_and_Well-Being-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\"><a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a> demonstrates a positive relationship. As scores on <span class=\"italic\">X<\/span> increase, scores on <span class=\"italic\">Y<\/span> also tend to increase. Although this is not a perfect relationship (if it were, the points would form a single straight line), it is nonetheless very clearly positive. This is one of the key benefits to scatter plots: they make it very easy to see the direction of the relationship. As another example, <a href=\"#_idTextAnchor244\"><span class=\"Fig-table-number-underscore\">Figure 12.2<\/span><\/a> shows a negative relationship between job satisfaction (<span class=\"italic\">X<\/span>) and burnout (<span class=\"italic\">Y<\/span>). As we can see from this plot, higher scores on job satisfaction tend to correspond with lower scores on burnout, which is how stressed, unenergetic, and unhappy someone is at their job. As with <a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a>, this is not a perfect relationship, but it is still a clear one. As these figures show, points in a positive relationship move from the bottom left of the plot to the top right, and points in a negative relationship move from the top left to the bottom\u00a0right.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor244\"><\/a>Figure 12.2.<\/span> Plotting job satisfaction and burnout scores. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/82\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Job Satisfaction and Burnout<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer552\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Job_Satisfaction_and_Burnout-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\"><a id=\"_idTextAnchor245\"><\/a>Scatter plots can also indicate that there is no relationship between the two variables. In these scatter plots (for example, <a href=\"#_idTextAnchor246\"><span class=\"Fig-table-number-underscore\">Figure 12.3<\/span><\/a>, which plots job satisfaction and job performance) there is no interpretable shape or line in the scatter plot. The points appear randomly throughout the plot. If we tried to draw a straight line through these points, it would basically be flat. The low scores on job satisfaction have roughly the same scores on job performance as do the high scores on job satisfaction. Scores in the middle or average range of job satisfaction have some scores on job performance that are about equal to the high and low levels and some scores on job performance that are a little higher, but the overall picture is one of inconsistency.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor246\"><\/a>Figure 12.3.<\/span> Plotting no relationship between job satisfaction and job performance. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/83\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Job Satisfaction and Job Performance<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer554\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Job_Satisfaction_and_Job_Performance-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\">As we can see, scatter plots are very useful for giving us an approximate idea of whether there is a relationship between the two variables and, if there is, if that relationship is positive or negative. They are also the only way to determine one of the characteristics of correlations that are discussed next:\u00a0form.<\/p>\r\n\r\n<h3 class=\"H1\">Three Characteristics<\/h3>\r\n<p class=\"Text-1st\">When we talk about correlations, there are three traits that we need to know in order to truly understand the relationship (or lack of relationship) between <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span>: form, direction, and magnitude. We will discuss each of them in turn.<\/p>\r\n\r\n<h4 class=\"H2\">Form<\/h4>\r\n<p class=\"Text-1st\">The first characteristic of relationships between variables is their form. The form of a relationship is the shape it takes in a scatter plot, and a scatter plot is the only way it is possible to assess the form of a relationship. There are three forms we look for: linear, curvilinear, or no relationship. A [pb_glossary id=\"707\"]<a id=\"_idTextAnchor247\"><\/a>[\/pb_glossary]<span class=\"key-term\">linear relationship<\/span> is what we saw in <a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a>, <a href=\"#_idTextAnchor244\"><span class=\"Fig-table-number-underscore\">Figure 12.2<\/span><\/a>, and <a href=\"#_idTextAnchor246\"><span class=\"Fig-table-number-underscore\">Figure 12.3<\/span><\/a>. If we drew a line through the middle points in any of the scatter plots, we would be best suited with a straight line. The term <span class=\"italic\">linear<\/span> comes from the word <span class=\"italic\">line<\/span>. A linear relationship is what we will always assume when we calculate correlations. All of the correlations presented here are only valid for linear relationships. Thus, it is important to plot our data to make sure we meet this assumption.<\/p>\r\n<p class=\"Text\">The relationship between two variables can also be curvilinear. As the name suggests, a [pb_glossary id=\"706\"]<a id=\"_idTextAnchor236\"><\/a>[\/pb_glossary]<span class=\"key-term\">curvilinear relationship<\/span> is one in which a line through the middle of the points in a scatter plot will be curved rather than straight. An example is presented in\u00a0<a href=\"#_idTextAnchor249\"><span class=\"Fig-table-number-underscore\">Figure 12.5<\/span><\/a>.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer556\" class=\"_idGenObjectStyleOverride-1\"><\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor249\"><\/a>Figure 12.5.<\/span> Inverted-U curvilinear relationship. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/85\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Curvilinear Relation Inverted U<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer558\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Curvilinear_Relation_Inverted_U-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\">Curvilinear relationships can take many shapes, and the example above is only one possibility. The correlation has clear pattern, but that pattern is not a straight line. If we try to draw a straight line through them, we would get a result similar to what is shown in <a href=\"#_idTextAnchor250\"><span class=\"Fig-table-number-underscore\">Figure 12.6<\/span><\/a>.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor250\"><\/a>Figure 12.6.<\/span> Overlaying a straight line on a curvilinear relationship. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/86\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Curvilinear Relation Inverted U with Straight Line<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer560\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Curvilinear_Relation_Inverted_U_with_Straight_Line-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\">Although that line is the closest it can be to all points at the same time, it clearly does a very poor job of representing the relationship we see. Additionally, the line itself is flat, suggesting there is no relationship between the two variables even though the data show that there is one. This is important to keep in mind, because the math behind our calculations of correlation coefficients will only ever produce a straight line\u2014we cannot create a curved line with the techniques discussed here.<\/p>\r\n<p class=\"Text\">Finally, sometimes when we create a scatter plot, we end up with no interpretable relationship at all. An example of this is shown in <a href=\"#_idTextAnchor251\"><span class=\"Fig-table-number-underscore\">Figure 12.7<\/span><\/a>. The points in this plot show no consistency in relationship, and a line through the middle would once again be a straight, flat line.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor251\"><\/a>Figure 12.7.<\/span> No relationship. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/87\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot No Relation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer562\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_No_Relation-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\">Sometimes when we look at scatter plots, it is tempting to get biased by a few points that fall far away from the rest of the points and seem to imply that there may be some sort of relationship. These points are called outliers, and we will discuss them in more detail <a href=\"#_idTextAnchor261\"><span class=\"Hyperlink-underscore\">later in the chapter<\/span><\/a>. These can be common, so it is important to formally test for a relationship between our variables, not just rely on visualization. This is the point of hypothesis testing with correlations, and we will go in-depth on it soon. First, however, we need to describe the other two characteristics of relationships: direction and magnitude.<\/p>\r\n\r\n<h4 class=\"H2\">Direction<\/h4>\r\n<p class=\"Text-1st\">The direction of the relationship between two variables tells us whether the variables change in the same way at the same time or in opposite ways at the same time. We saw this concept earlier when first discussing scatter plots, and we used the terms positive and negative. A <span class=\"key-term\">positive relationship<\/span> is one in which <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> change in the same direction: as <span class=\"italic\">X<\/span> goes up, <span class=\"italic\">Y<\/span> goes up, and as <span class=\"italic\">X<\/span> goes down, <span class=\"italic\">Y<\/span> also goes down. A <span class=\"key-term\">negative relationship<\/span> is just the opposite: <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> change together in opposite directions: as <span class=\"italic\">X<\/span> goes up, <span class=\"italic\">Y<\/span> goes down, and vice versa.<\/p>\r\n<p class=\"Text\">As we will see soon, when we calculate a correlation coefficient, we are quantifying the relationship demonstrated in a scatter plot. That is, we are putting a number to it (pearson's r). The r value will be either positive, negative, or zero, and we interpret the sign of the number as our direction. If the r value is positive, it is a positive relationship, and if it is negative, it is a negative relationship. If it is zero, then there is no relationship.<\/p>\r\n\r\n<h4 class=\"H2\">Magnitude<\/h4>\r\n<p class=\"Text-1st\">The pearson's r value we calculate for our correlation coefficient, which we will describe in detail below, corresponds to the magnitude of the relationship between the two variables. The <span class=\"key-term\">magnitude<\/span> is how strong or how consistent the relationship between the variables is. Higher numbers mean greater magnitude, which means a stronger relationship.<img class=\"aligncenter\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbZ_HgnFcgDuTn6pIx6LSR2Ne9WMM8hF1Ai-vOBRG6OFbuL4O2vaciPtLVUXPSQXWWpxxRtUkMb-S-cOA4NvzaF8LW0azjtIsVifGMhnKDt7nffblcDzE2TyfWoHGQocCvo5x9MXUVYa7T\/s1600\/correlation_coefficient.gif\" \/><\/p>\r\n<p class=\"Text\">Our correlation coefficients will take on any value between \u22121.00 and 1.00, with 0.00 in the middle, which again represents no relationship. A correlation of \u22121.00 is a perfect negative relationship; as <span class=\"italic\">X<\/span> goes up by some amount, <span class=\"italic\">Y<\/span> goes down by the same amount, consistently. Likewise, a correlation of 1.00 indicates a perfect positive relationship; as <span class=\"italic\">X<\/span> goes up by some amount, <span class=\"italic\">Y<\/span> also goes up by the same amount. Finally, a correlation of 0.00, which indicates no relationship, means that as <span class=\"italic\">X<\/span> goes up by some amount, <span class=\"italic\">Y<\/span> may or may not change by any amount, and it does so inconsistently.<\/p>\r\n<p class=\"Text\">The vast majority of correlations do not reach \u22121.00 or 1.00. Instead, they fall in between, and we use rough cut offs for how strong the relationship is based on this number. Importantly, the sign of the number (the direction of the relationship) has no bearing on how strong the relationship is. The only thing that matters is the magnitude, or the absolute value of the correlation coefficient. A correlation of \u22121 is just as strong as a correlation of 1. We generally use values of .10, .30, and .50 as indicating weak, moderate, and strong relationships, respectively.<\/p>\r\n<p class=\"Text\">The strength of a relationship, just like the form and direction, can also be inferred from a scatter plot, though this is much more difficult to do. Some examples of weak and strong relationships are shown in <a href=\"#_idTextAnchor252\"><span class=\"Fig-table-number-underscore\">Figure 12.8<\/span><\/a> and <a href=\"#_idTextAnchor253\"><span class=\"Fig-table-number-underscore\">Figure 12.9<\/span><\/a>, respectively. Weak correlations still have an interpretable form and direction, but it is much harder to see. Strong correlations have a very clear pattern, and the points tend to form a line. The examples show two different directions, but remember that the direction does not matter for the strength, only the consistency of the relationship and the size of the number, which we will see next.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor252\"><\/a>Figure 12.8.<\/span> Weak positive correlation. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/88\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Weak Positive Correlation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer564\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Weak_Positive_Correlation-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor253\"><\/a>Figure 12.9.<\/span> Strong negative correlation. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/89\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Strong Negative Correlation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer566\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Strong_Negative_Correlation-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<h3 class=\"H1\">Pearson\u2019s <span class=\"bold-italic CharOverride-4\">r<\/span><\/h3>\r\n<p class=\"Text-1st\">There are several different types of correlation coefficients, but we will only focus on Pearson\u2019s <span class=\"italic\">r<\/span>, the most popular correlation coefficient for assessing linear relationships, which serves as both a descriptive statistic (like <img class=\"_idGenObjectAttribute-32\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn3.2-upperM-6.png\" alt=\"Upper M\" \/>) and a test statistic (like <span class=\"italic\">t<\/span>). It is descriptive because it describes what is happening in the scatter plot; <span class=\"italic\">r <\/span>will have both a sign (+\/\u2212) for the direction and a number (0 to 1 in absolute value) for the magnitude. As noted above, because it assumes a linear relationship, nothing about <span class=\"italic\">r <\/span>will suggest what the form is\u2014it will only tell what the direction and magnitude will be if the form is linear. (Remember: always make a scatter plot first!) The coefficient <span class=\"italic\">r <\/span>also works as a test statistic because the magnitude of <span class=\"italic\">r can then be compared to a critical value. <\/span>Luckily, we do not need to do this conversion by hand. Instead, we will have a table of <span class=\"italic\">r <\/span>critical values that looks very similar to our <span class=\"italic\">t\u00a0<\/span>table, and we can compare our <span class=\"italic\">r <\/span>directly to those.<\/p>\r\n<p class=\"Text\">The formula for <span class=\"italic\">r <\/span>is very simple:<\/p>\r\n<p class=\"Equation\"><span style=\"font-size: 12pt\"><img class=\"equation_image\" title=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257Bn%255Cleft(%255CSigma%2520xy%255Cright)-%255Cleft(%255CSigma%2520x%255Cright)%255Cleft(%255CSigma%2520y%255Cright)%257D%257B%255Csqrt%257B%255Cleft(n%255CSigma%2520x%255E2-%255C%253A%255Cleft(%255CSigma%2520x%255Cright)%255E2%255Cright)%255Cleft(n%255CSigma%2520y%255E2-%255C%253A%255Cleft(%255CSigma%2520y%255Cright)%255E2%255Cright)%257D%257D\" alt=\"Formula for correlation\" width=\"284\" height=\"68\" data-equation-content=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" \/><\/span><\/p>\r\n<p class=\"Example-New\"><span class=\"Example--\">Example <\/span> Anxiety and Depression<\/p>\r\n<p class=\"Text-1st\">Anxiety and depression are often reported to be highly linked (or \u201ccomorbid\u201d). Our hypothesis testing procedure follows the same four-step process as before, starting with our null and alternative hypotheses. We will look for a positive relationship between our variables among a group of 10 people because that is what we would expect based on them being comorbid.<\/p>\r\n\r\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 1:<\/span> State the Hypotheses<\/h5>\r\n<p class=\"Text-1st\">Our hypotheses for correlations start with a baseline assumption of no relationship, and our alternative will be directional if we expect to find a specific type of relationship. For this example, we expect a positive relationship:<\/p>\r\nH<sub>0<\/sub>:There is no relation between anxiety and depression or H<sub>0<\/sub>: r=0\r\n\r\nH<sub>A<\/sub>:There is a positive relationship between anxiety and depression or H<sub>A<\/sub>: r&gt;0\r\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 2:<\/span> Find the Critical Values<\/h5>\r\n<p class=\"Text-1st\">The critical values for correlations come from the correlation table (a portion of which appears in <a href=\"#_idTextAnchor254\"><span class=\"Fig-table-number-underscore\">Table 12.1<\/span><\/a>), which looks very similar to the <span class=\"italic\">t<\/span>\u00a0table. (The complete correlation table can be found in <a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/back-matter\/appendix-d\/\"><span class=\"Hyperlink-underscore\">Appendix D<\/span><\/a>.) Just like our <span class=\"italic\">t<\/span>\u00a0table, the column of critical values is based on our significance level (<img class=\"_idGenObjectAttribute-89\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn7.1-alpha-6.png\" alt=\"alpha\" \/>) and the directionality of our test. The row is determined by our degrees of freedom. For correlations, we have n \u2212 2 degrees of freedom, with our n being the number of pairs. For our example, we have 10 people, so our degrees of freedom = 10 \u2212 2 = 8.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer584\" class=\"_idGenObjectStyleOverride-1\">\r\n<p class=\"Table-title\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor254\"><\/a>Table 12.1.<\/span> Critical Values for Pearson\u2019s <span class=\"italic\">r<\/span> (Correlation Table)<\/p>\r\n\r\n<table id=\"table066\" class=\"Foster-table\" style=\"height: 323px\"><colgroup> <col class=\"_idGenTableRowColumn-103\" \/> <col class=\"_idGenTableRowColumn-104\" \/> <col class=\"_idGenTableRowColumn-21\" \/> <col class=\"_idGenTableRowColumn-75\" \/> <col class=\"_idGenTableRowColumn-4\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-43\" style=\"height: 68px;width: 99.3125px\" rowspan=\"4\">\r\n<p class=\"Table-col-hd ParaOverride-4\"><img class=\"_idGenObjectAttribute-205\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/EqnA.1a-2.png\" alt=\"\" \/><\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-21\" style=\"height: 17px;width: 303.188px\" colspan=\"4\">\r\n<p class=\"Table-straddle-hd\">Level of Significance for One-Tailed Test<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.05<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.025<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.01<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-23 _idGenCellOverride-4\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.005<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-64\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-24 _idGenCellOverride-1\" style=\"height: 17px;width: 303.188px\" colspan=\"4\">\r\n<p class=\"Table-straddle-hd\">Level of Significance for Two-Tailed Test<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.10<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.05<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.02<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-23 _idGenCellOverride-4\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">.01<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">1<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.988<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.997<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.9995<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-1\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.9999<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">2<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.900<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.950<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.980<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.990<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">3<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.805<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.878<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.934<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.959<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">4<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.729<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.811<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.882<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.917<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">5<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.669<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.754<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.833<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.875<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">6<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.621<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.707<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.789<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.834<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">7<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.582<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.666<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.750<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.798<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">8<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.549<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.632<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.715<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.765<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">9<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.521<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.602<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.685<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.735<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">10<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.497<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.576<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.658<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.708<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">11<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.476<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.553<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.634<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.684<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">12<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.458<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.532<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.612<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.661<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">13<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.441<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.514<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.592<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.641<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">14<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.426<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.497<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.574<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.623<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-11\" style=\"height: 17px\">\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 99.3125px\">\r\n<p class=\"Table-body ParaOverride-4\">15<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.412<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 60.7109px\">\r\n<p class=\"Table-body\">.482<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 75.6484px\">\r\n<p class=\"Table-body\">.558<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body\" style=\"height: 17px;width: 76.1172px\">\r\n<p class=\"Table-body\">.606<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<\/div>\r\n<p class=\"Text\">We were not given any information about the level of significance at which we should test our hypothesis, so we will assume <span class=\"Symbol\">a<\/span> = .05 as always. From our table, we can see that a one-tailed test (because we expect only a positive relationship) at the <span class=\"Symbol\">a<\/span> = .05 level has a critical value of <span class=\"italic\">r* <\/span>= .549. Thus, if our observed correlation is greater than .549, it will be statistically significant. This is a rather high bar (remember, the guideline for a strong relationship is <span class=\"italic\">r <\/span>= .50); this is because we have so few people. Larger samples make it easier to find significant relationships.<\/p>\r\n\r\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 3:<\/span> Calculate the Test Statistic and Effect Size<\/h5>\r\n<p class=\"Text-1st\">We have laid out our hypotheses and the criteria we will use to assess them, so now we can move on to our test statistic. Before we do that, we must first create a scatter plot of the data to make sure that the most likely form of our relationship is in fact linear. <a href=\"#_idTextAnchor255\"><span class=\"Fig-table-number-underscore\">Figure 12.10<\/span><\/a> shows our data plotted out, and it looks like they are, in fact, linearly related, so Pearson\u2019s <span class=\"italic\">r <\/span>is appropriate.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor255\"><\/a>Figure 12.10.<\/span> Scatter plot of depression and anxiety. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/90\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Depression and Anxiety<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer586\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Depression_and_Anxiety-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\">The data we gather from our participants is as follows:<\/p>\r\n\r\n<table id=\"table067\" class=\"grid\">\r\n<thead>\r\n<tr>\r\n<th class=\"Foster-table Table-body-first Table-body CellOverride-45\" style=\"width: 87px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Depression.<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body CellOverride-46\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">2.81<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">1.96<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.43<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.40<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">4.71<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">1.80<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">4.27<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.68<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body CellOverride-47\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">2.44<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-first Table-body CellOverride-48\" style=\"width: 39px\">\r\n<p class=\"Table-body ParaOverride-4\">3.13<\/p>\r\n<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<colgroup> <col class=\"_idGenTableRowColumn-60\" \/> <col class=\"_idGenTableRowColumn-60\" \/> <col class=\"_idGenTableRowColumn-105\" \/> <col class=\"_idGenTableRowColumn-60\" \/> <col class=\"_idGenTableRowColumn-105\" \/> <col class=\"_idGenTableRowColumn-60\" \/> <col class=\"_idGenTableRowColumn-105\" \/> <col class=\"_idGenTableRowColumn-60\" \/> <col class=\"_idGenTableRowColumn-105\" \/> <col class=\"_idGenTableRowColumn-60\" \/> <col class=\"_idGenTableRowColumn-105\" \/> <\/colgroup>\r\n<tbody>\r\n<tr class=\"Foster-table _idGenTableRowColumn-11\">\r\n<th class=\"Foster-table Table-body-last Table-body CellOverride-45\" style=\"width: 87px\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Anxiety.<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body CellOverride-46\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.54<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.05<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.81<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.43<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">4.03<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.59<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">4.17<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.46<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body CellOverride-47\" style=\"width: 38px\">\r\n<p class=\"Table-body ParaOverride-4\">3.19<\/p>\r\n<\/th>\r\n<th class=\"Foster-table Table-body-last Table-body CellOverride-48\" style=\"width: 39px\">\r\n<p class=\"Table-body ParaOverride-4\">4.12<\/p>\r\n<\/th>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p class=\"Text\">We will need to put these values into our sum of products table to calculate the standard deviation and covariance of our variables. We will use <span class=\"italic\">X<\/span> for depression and <span class=\"italic\">Y<\/span> for anxiety to keep track of our data, but be aware that this choice is arbitrary and the math will work out the same if we decided to do the opposite. Our table is thus:<\/p>\r\n\r\n<table class=\"grid landscape\" style=\"border-collapse: collapse;width: 41.0335%;height: 266px\" border=\"1\"><caption>Correlation Table<\/caption>\r\n<tbody>\r\n<tr style=\"height: 38.9957px\">\r\n<th style=\"width: 13.0221%;height: 38px\" scope=\"rowgroup\"><\/th>\r\n<th style=\"width: 11.284%;height: 38px\" scope=\"row\">X<\/th>\r\n<th style=\"width: 11.1616%;height: 38px\" scope=\"row\">Y<\/th>\r\n<th style=\"width: 12.4493%;height: 38px\">XY<\/th>\r\n<th style=\"width: 15.1191%;height: 38px\">X<sup>2<\/sup><\/th>\r\n<th style=\"width: 12.7006%;height: 38px\">Y<sup>2<\/sup><\/th>\r\n<\/tr>\r\n<tr style=\"height: 28.9986px\">\r\n<td style=\"width: 13.0221%;height: 28px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-1\" style=\"width: 11.284%;height: 28px\">\r\n<p class=\"Table-body\">2.81<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-1\" style=\"width: 11.1616%;height: 28px\">\r\n<p class=\"Table-body\">3.54<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 28px\">9.95<\/td>\r\n<td style=\"width: 15.1191%;height: 28px\">7.90<\/td>\r\n<td style=\"width: 12.7006%;height: 28px\">12.53<\/td>\r\n<\/tr>\r\n<tr style=\"height: 30px\">\r\n<td style=\"width: 13.0221%;height: 30px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 30px\">\r\n<p class=\"Table-body\">1.96<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 30px\">\r\n<p class=\"Table-body\">3.05<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 30px\">5.98<\/td>\r\n<td style=\"width: 15.1191%;height: 30px\">3.84<\/td>\r\n<td style=\"width: 12.7006%;height: 30px\">9.30<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">3.43<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">3.81<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">13.07<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">11.76<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">14.52<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">3.40<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">3.43<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">11.66<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">11.56<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">11.76<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">4.71<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">4.03<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">18.98<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">22.18<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">16.24<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">1.80<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">3.59<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">6.46<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">3.24<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">12.89<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">4.27<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">4.17<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">17.81<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">18.23<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">17.39<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">3.68<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">3.46<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">12.73<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">13.54<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">11.97<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">2.44<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">3.19<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">7.78<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">5.95<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">10.18<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-50 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">3.13<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-50 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">4.12<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">12.90<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">9.80<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">16.97<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-11\" style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\">Total<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-52\" style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">31.63<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-52\" style=\"width: 11.1616%;height: 17px\">\r\n<p class=\"Table-body\">36.39<\/p>\r\n<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">117.32<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">108.00<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">133.75<\/td>\r\n<\/tr>\r\n<tr style=\"height: 17px\">\r\n<td style=\"width: 13.0221%;height: 17px\">Mean<\/td>\r\n<td style=\"width: 11.284%;height: 17px\">\r\n<p class=\"Table-body\">3.16<\/p>\r\n<\/td>\r\n<td style=\"width: 11.1616%;height: 17px\">3.64<\/td>\r\n<td style=\"width: 12.4493%;height: 17px\">11.73<\/td>\r\n<td style=\"width: 15.1191%;height: 17px\">10.80<\/td>\r\n<td style=\"width: 12.7006%;height: 17px\">13.38<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p class=\"Text\">The total row is the sum of each column. We can see from this that the sum of the <span class=\"italic\">X<\/span> observations is 31.63, which makes the mean of the <span class=\"italic\">X<\/span> variable <span class=\"italic\">M<\/span> = 3.16. \u00a0The second column is all the Y observations which sum to 36.39 and has a mean of 3.64. The third column is XY, where you multiply the values of X and the values of Y across the table. For example 2.81x3.54 = 9.95. The fourth column requires you to square each X value and the fifth column requires you to square each Y value. Once you have completed the table, you have everything you need to complete the formula below.<\/p>\r\n\r\n<ul>\r\n \t<li>Table calculations:\r\n<ul>\r\n \t<li>X and Y = values from data provided<\/li>\r\n \t<li>XY\u00a0 = multiply X and Y<\/li>\r\n \t<li>x<sup>2<\/sup> and y<sup>2<\/sup>= Square each value<\/li>\r\n \t<li>Total - After calculations are complete for each section add them up to find the total and calculate the mean.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p class=\"Text\"><span style=\"font-size: 12pt\"><img class=\"equation_image\" title=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257Bn%255Cleft(%255CSigma%2520xy%255Cright)-%255Cleft(%255CSigma%2520x%255Cright)%255Cleft(%255CSigma%2520y%255Cright)%257D%257B%255Csqrt%257B%255Cleft(n%255CSigma%2520x%255E2-%255C%253A%255Cleft(%255CSigma%2520x%255Cright)%255E2%255Cright)%255Cleft(n%255CSigma%2520y%255E2-%255C%253A%255Cleft(%255CSigma%2520y%255Cright)%255E2%255Cright)%257D%257D\" alt=\"Formula for correlation\" width=\"377\" height=\"89\" data-equation-content=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" \/><\/span><\/p>\r\nPlugging in the number from the table, you should get the r as shown below:\r\n<p class=\"Text\"><span style=\"font-size: 12pt\"><img class=\"equation_image\" title=\"r=\\frac{10\\left(117.32\\right)-\\left(31.63\\right)\\left(36.39\\right)}{\\sqrt{\\left(10\\left(108\\right)^{}-\\:\\left(31.63\\right)^2\\right)\\left(10\\left(133.75\\right)-\\:\\left(36.39\\right)^2\\right)}}=.680\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257B10%255Cleft(117.32%255Cright)-%255Cleft(31.63%255Cright)%255Cleft(36.39%255Cright)%257D%257B%255Csqrt%257B%255Cleft(10%255Cleft(108%255Cright)%255E%257B%257D-%255C%253A%255Cleft(31.63%255Cright)%255E2%255Cright)%255Cleft(10%255Cleft(133.75%255Cright)-%255C%253A%255Cleft(36.39%255Cright)%255E2%255Cright)%257D%257D%253D.680?scale=1\" alt=\"LaTeX: r=\\frac{10\\left(117.32\\right)-\\left(31.63\\right)\\left(36.39\\right)}{\\sqrt{\\left(10\\left(108\\right)^{}-\\:\\left(31.63\\right)^2\\right)\\left(10\\left(133.75\\right)-\\:\\left(36.39\\right)^2\\right)}}=.680\" width=\"419\" height=\"66\" data-equation-content=\"r=\\frac{10\\left(117.32\\right)-\\left(31.63\\right)\\left(36.39\\right)}{\\sqrt{\\left(10\\left(108\\right)^{}-\\:\\left(31.63\\right)^2\\right)\\left(10\\left(133.75\\right)-\\:\\left(36.39\\right)^2\\right)}}=.680\" data-ignore-a11y-check=\"\" \/><\/span><\/p>\r\n<p class=\"Text\">So our observed correlation between anxiety and depression is <span class=\"italic\">r <\/span>= .680, which, based on sign and magnitude, is a strong, positive correlation. Now we need to compare it to our critical value to see if it is also statistically significant.<\/p>\r\n\r\n<h6 class=\"H4\">Pearson\u2019s <span class=\"semibold-italic CharOverride-12\">r<\/span><\/h6>\r\n<p class=\"Text-1st\">Pearson\u2019s <span class=\"italic\">r <\/span>is an incredibly flexible and useful statistic. Not only is it both descriptive and inferential, as we saw above, but because it is on a standardized metric (always between \u22121.00 and 1.00).<\/p>\r\n\r\n<h6>Coefficient of Determination (r<sup>2<\/sup>)<\/h6>\r\n<p class=\"Text\">In addition to <span class=\"italic\">r, <\/span>there is an additional effect size we can calculate for our results. This effect size is <span class=\"italic\">r<\/span><span class=\"superscript _idGenCharOverride-1\">2<\/span>, and it is exactly what it looks like\u2014it is the squared value of our correlation coefficient. The <span class=\"italic\">r<\/span><sup><span class=\"superscript _idGenCharOverride-1\">2<\/span><\/sup> is the squared correlation coefficient. The reason we use <span class=\"italic\">r<\/span><span class=\"superscript _idGenCharOverride-1\">2<\/span> as an effect size is because our ability to explain variance is often important to us. r<sup>2\u00a0<\/sup>tetlls us how much of the variance in one variable can be explained by the the variable. Therefore,<\/p>\r\n<p class=\"Text\"><span class=\"italic\">r<\/span><sup><span class=\"superscript _idGenCharOverride-1\">2=\u00a0<\/span><\/sup><span class=\"superscript _idGenCharOverride-1\">.680x.680 = .46<\/span><\/p>\r\n<p class=\"Text\"><span class=\"superscript _idGenCharOverride-1\">This means 46% of the variance in anxiety scores can be explained by the variance in depression scores.\u00a0\u00a0<\/span><\/p>\r\n\r\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 4:<\/span> Make a Decision<\/h5>\r\n<p class=\"Text-1st\">Our critical value was <span class=\"italic\">r<\/span>* = .549 and our obtained value was <span class=\"italic\">r <\/span>= .680. Our obtained value was larger than our critical value, so we can reject the null hypothesis.<\/p>\r\n<p class=\"Text-indented-2p\">Reject <span class=\"italic\">H<\/span><sub><span class=\"subscript _idGenCharOverride-1\">0<\/span><\/sub>. Based on our sample of 10 people, there is a statistically significant, strong, positive relationship between anxiety and depression, <span class=\"italic\">r<\/span>(8) = .680, <span class=\"italic\">p<\/span> &lt; .05.<\/p>\r\n<p class=\"Text\">Notice in our interpretation that, because we already know the magnitude and direction of our correlation, we can interpret that. We also report the degrees of freedom, just like with <span class=\"italic\">t<\/span>, and we know that <span class=\"italic\">p<\/span> &lt; .05 because we rejected the null hypothesis. As we can see, even though we are dealing with a very different type of data, our process of hypothesis testing has remained unchanged. The <span class=\"italic\">r<\/span><sup><span class=\"superscript _idGenCharOverride-1\">2<\/span><\/sup> statistic is called the coefficient of determination and it tells us what percentage of the variance in the <span class=\"italic\">X<\/span> variable is explained by the <span class=\"italic\">Y<\/span> variable (and vice versa).<\/p>\r\n<p class=\"Text\"><a href=\"#_idTextAnchor256\"><span class=\"Fig-table-number-underscore\">Figure 12.11<\/span><\/a> shows the output from SPSS for this example.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor256\"><\/a>Figure 12.11.<\/span> Output from SPSS for the correlation described in the Anxiety and Depression example. The output provides the Pearson\u2019s <span class=\"italic\">r<\/span>, and the exact <span class=\"italic\">p<\/span> value (.015, which is less than .05). Based on our sample of 10 people, there is a statistically significant, strong, positive relationship between anxiety and depression, <span class=\"italic\">r<\/span>(8) = .68, <span class=\"italic\">p<\/span> = .015. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/91\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">JASP correlation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Rupa G. Gordon\/Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer594\" class=\"_idGenObjectStyleOverride-2\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/JASP_correlation-2.jpg\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<h3 class=\"H1\">Correlation versus Causation<\/h3>\r\n<p class=\"Text-1st\">We cover a great deal of material in introductory statistics and, as mentioned <a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-1\/\"><span class=\"Hyperlink-underscore\">Chapter 1<\/span><\/a>, many of the principles underlying what we do in statistics can be used in your day-to-day life to help you interpret information objectively and make better decisions. We now come to what may be the most important lesson in introductory statistics: the difference between correlation and causation.<\/p>\r\n<p class=\"Text\">It is very, very tempting to look at variables that are correlated and assume that this means they are causally related; that is, it gives the impression that <span class=\"italic\">X<\/span> is causing <span class=\"italic\">Y<\/span>. However, in reality, correlations do not\u2014and cannot\u2014do this. Correlations <span class=\"italic\">do not<\/span> prove causation. No matter how logical or how obvious or how convenient it may seem, no correlational analysis can demonstrate causality. The <span class=\"italic\">only<\/span> way to demonstrate a causal relationship is with a properly designed and controlled experiment.<\/p>\r\n<p class=\"Text\">Many times, we have good reason for assessing the correlation between two variables, and often that reason will be that we suspect one causes the other. Thus, when we run our analyses and find strong, statistically significant results, it is tempting to say that we found the causal relationship that we are looking for. The reason we cannot do this is that, without an experimental design that includes random assignment and control variables, the relationship we observe between the two variables may be caused by something else that we failed to measure\u2014something we can only detect and control for with an experiment. These [pb_glossary id=\"703\"]<a id=\"_idTextAnchor257\"><\/a>[\/pb_glossary]<span class=\"key-term\">confound variables<\/span>, which we will represent with <span class=\"italic\">Z<\/span>, can cause two variables <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> to appear related when in fact they are not. They do this by being the hidden\u2014or lurking\u2014cause of each variable independently. That is, if <span class=\"italic\">Z <\/span>causes <span class=\"italic\">X<\/span> and <span class=\"italic\">Z <\/span>causes <span class=\"italic\">Y<\/span>, the <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> will appear to be related. However, if we control for the effect of <span class=\"italic\">Z <\/span>(the method for doing this is beyond the scope of this text), then the relationship between <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> will disappear.<\/p>\r\n<p class=\"Text\">A popular example of this effect is the correlation between ice cream sales and deaths by drowning. These variables are known to correlate very strongly over time. However, this does not prove that one causes the other. The lurking variable in this case is the weather\u2014people enjoy swimming and enjoy eating ice cream more during hot weather as a way to cool off. As another example, consider shoe size and spelling ability in elementary school children. Although there should clearly be no causal relationship here, the variables are nonetheless consistently correlated. The confound in this case? Age. Older children spell better than younger children and are also bigger, so they have larger shoes.<\/p>\r\n<p class=\"Text\">That is why we use experimental designs; by randomly assigning people to groups and manipulating variables in those groups, we can balance out individual differences in any variable that may be our cause. It is not always possible to do an experiment, however, so there are certain situations in which we will have to be satisfied with our observed relationship and do the best we can to control for known confounds. However, in these situations, even if we do an excellent job of controlling for many extraneous (a statistical and research term for \u201coutside\u201d) variables, we must be careful not to use causal language. That is because, even after controls, sometimes variables are related just by chance.<\/p>\r\n<p class=\"Text\">Sometimes, variables will end up being related simply due to random chance, and we call these correlations spurious. Spurious just means random, so what we are seeing is random correlations because, given enough time, enough variables, and enough data, sampling error will eventually cause some variables to appear related when they are not. Sometimes, this even results in incredibly strong, but completely nonsensical, correlations. This becomes more and more of a problem as our ability to collect massive datasets and dig through them improves, so it is very important to think critically about any relationship you encounter.<\/p>\r\n\r\n<h3 class=\"H1\">Final Considerations<\/h3>\r\n<p class=\"Text-1st\">Correlations, although simple to calculate, can be very complex, and there are many additional issues we should consider. We will look at two of the most common issues that affect our correlations and discuss some other correlations and reporting methods you may encounter.<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\"><\/div>\r\n<\/div>\r\n<h4 class=\"H2\"><a id=\"_idTextAnchor261\"><\/a>Outliers<\/h4>\r\n<p class=\"Text-1st\">One issue that can cause the observed size of our correlation to be inappropriately large or small is the presence of outliers. An [pb_glossary id=\"708\"]<a id=\"_idTextAnchor262\"><\/a>[\/pb_glossary]<span class=\"key-term\">outlier<\/span> is a data point that falls far away from the rest of the observations in the dataset. Sometimes outliers are the result of incorrect data entry, poor or intentionally misleading responses, or simple random chance. Other times, however, they represent real people with meaningful values on our variables. The distinction between meaningful and accidental outliers is a difficult one that is based on the expert judgment of the researcher. Sometimes, we will remove the outlier (if we think it is an accident) or we may decide to keep it (if we find the scores to still be meaningful even though they are different).<\/p>\r\n<p class=\"Text\">The scatter plots in <a href=\"#_idTextAnchor263\"><span class=\"Fig-table-number-underscore\">Figure 12.14<\/span><\/a> show the effects that an outlier can have on data. In the first plot, we have our raw dataset. You can see in the upper right corner that there is an outlier observation that is very far from the rest of our observations on both the <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> variables. In the middle plot, we see the correlation computed when we include the outlier, along with a straight line representing the relationship; here, it is a positive relationship. In the third plot, we see the correlation after removing the outlier, along with a line showing the direction once again. Not only did the correlation get stronger, it completely changed direction!<\/p>\r\n\r\n<div class=\"_idGenObjectLayout-2\">\r\n<div class=\"Side-legend\">\r\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor263\"><\/a>Figure 12.14.<\/span> Three scatter plots showing correlations with and without outliers. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/94\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Correlations and Outliers<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"_idGenObjectLayout-1\">\r\n<div id=\"_idContainer600\" class=\"_idGenObjectStyleOverride-1\"><img class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Correlations_and_Outliers-2.png\" alt=\"\" \/><\/div>\r\n<\/div>\r\n<p class=\"Text\">In general, there are three effects that an outlier can have on a correlation: it can change the magnitude (make it stronger or weaker), it can change the significance (make a non-significant correlation significant or vice versa), and\/or it can change the direction (make a positive relationship negative or vice versa). Outliers are a big issue in small datasets where a single observation can have a strong weight compared with the rest. However, as our sample sizes get very large (into the hundreds), the effects of outliers diminish because they are outweighed by the rest of the data. Nevertheless, no matter how large a dataset you have, it is always a good idea to screen for outliers, both statistically (using analyses that we do not cover here) and visually (using scatter plots).<\/p>\r\n\r\n<h4 class=\"H2\">Other Correlation Coefficients<\/h4>\r\n<p class=\"Text-1st\">In this chapter we have focused on Pearson\u2019s <span class=\"italic\">r <\/span>as our correlation coefficient because it is very common and useful. There are, however, many other correlations out there, each of which is designed for a different type of data. The most common of these is [pb_glossary id=\"710\"]<a id=\"_idTextAnchor264\"><\/a>[\/pb_glossary]<span class=\"key-term\">Spearman\u2019s rho<\/span> (<img class=\"_idGenObjectAttribute-31\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn7.1-rho-3.png\" alt=\"rho\" \/>), which is designed to be used on ordinal data rather than continuous data. This is a useful analysis if we have ranked data or our data do not conform to the normal distribution. There are even more correlations for ordered categories, but they are much less common and beyond the scope of this chapter.<\/p>\r\n<p class=\"Text\">Additionally, the principles of correlations underlie many other advanced analyses. In <a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-13\/\"><span class=\"Hyperlink-underscore\">Chapter 13<\/span><\/a>, we will learn about regression, which is a formal way of running and analyzing a correlation that can be extended to more than two variables. Regression is a powerful technique that serves as the basis for even our most advanced statistical models, so what we have learned in this chapter will open the door to an entire world of possibilities in data analysis.<\/p>\r\n\r\n<h4 class=\"H2\">Correlation Matrices<\/h4>\r\n<p class=\"Text-1st\">Many research studies look at the relationship between more than two continuous variables. In such situations, we could simply list all of our correlations, but that would take up a lot of space and make it difficult to quickly find the relationship we are looking for. Instead, we create [pb_glossary id=\"704\"]<a id=\"_idTextAnchor265\"><\/a>[\/pb_glossary]<span class=\"key-term\">correlation matrices<\/span> so that we can quickly and simply display our results. A matrix is like a grid that contains our values. There is one row and one column for each of our variables, and the intersections of the rows and columns for different variables contain the correlation for those two variables.<\/p>\r\n<p class=\"Text\">At the <a href=\"#_idTextAnchor245\"><span class=\"Hyperlink-underscore\">beginning of the chapter<\/span><\/a>, we saw scatter plots presenting data for correlations between job satisfaction, well-being, burnout, and job performance. We can create a correlation matrix to quickly display the numerical values of each. Such a matrix is shown below.<\/p>\r\n\r\n<table id=\"table069\" class=\"Foster-table\"><colgroup> <col class=\"_idGenTableRowColumn-55\" \/> <col class=\"_idGenTableRowColumn-107\" \/> <col class=\"_idGenTableRowColumn-108\" \/> <col class=\"_idGenTableRowColumn-91\" \/> <col class=\"_idGenTableRowColumn-109\" \/> <\/colgroup>\r\n<thead>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-54\"><\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-55\">\r\n<p class=\"Table-col-hd\">Satisfaction<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-56\">\r\n<p class=\"Table-col-hd\">Well-being<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-56\">\r\n<p class=\"Table-col-hd\">Burnout<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-56\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Performance<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-57 _idGenCellOverride-1\">\r\n<p class=\"Table-col-hd\">Satisfaction<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-55 _idGenCellOverride-1\">\r\n<p class=\"Table-body\">1.00<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-1\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-1\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-1\"><\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-57 _idGenCellOverride-2\">\r\n<p class=\"Table-col-hd\">Well-being<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-55 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">0.41<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">1.00<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\"><\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-57 _idGenCellOverride-2\">\r\n<p class=\"Table-col-hd\">Burnout<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-55 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">\u22120.54<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">\u22120.87<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">1.00<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\"><\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-8\">\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-57\">\r\n<p class=\"Table-col-hd\">Performance<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-55\">\r\n<p class=\"Table-body\">0.08<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-56\">\r\n<p class=\"Table-body\">0.21<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-56\">\r\n<p class=\"Table-body\">\u22120.33<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-56\">\r\n<p class=\"Table-body ParaOverride-4\">1.00<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p class=\"Text\">Notice that there are values of 1.00 where each row and column of the same variable intersect. This is because a variable correlates perfectly with itself, so the value is always exactly 1.00. Also notice that the upper cells are left blank and only the cells below the diagonal of 1.00s are filled in. This is because correlation matrices are symmetrical: they have the same values above the diagonal as below it. Filling in both sides would provide redundant information and make it a bit harder to read the matrix, so we leave the upper triangle blank.<\/p>\r\n<p class=\"Text\">Correlation matrices are a very condensed way of presenting many results quickly, so they appear in almost all research studies that use continuous variables. Many matrices also include columns that show the variable means and standard deviations, as well as asterisks showing whether or not each correlation is statistically significant.<\/p>\r\n\r\n<h3 class=\"p1\"><b>Conclusion: The Power of Correlation in Social Justice Research<\/b><\/h3>\r\n<p class=\"p2\">Understanding correlation is essential for uncovering patterns that reveal inequality and systemic bias. In social justice work, correlation helps us identify the relationships between structural factors\u2014like race, gender, income, education, and health outcomes\u2014that shape people\u2019s lives. While correlation does not prove causation, it provides the critical first step toward recognizing disparities and prompting deeper investigation. By measuring and interpreting correlations responsibly, social scientists can expose hidden patterns of privilege and disadvantage, turning data into evidence for advocacy and change. Correlation reminds us that social issues are not random; they are interconnected, measurable, and, ultimately, addressable through informed action.<\/p>\r\n&nbsp;\r\n<h3 class=\"H1\">Exercises<\/h3>\r\n<ol>\r\n \t<li class=\"Numbered-list-Exercises-1st\">What does a correlation assess?<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">What are the three characteristics of a correlation coefficient?<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">What is the difference between covariance and correlation?<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">Why is it important to visualize correlational data in a scatter plot before performing analyses?\r\n<ol>\r\n \t<li class=\"Numbered-list-Exercises\">What sort of relationship is displayed in the scatter plot below?\r\n<p class=\"Figure ParaOverride-46\"><img class=\"_idGenObjectAttribute-212\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_in_Exercises-2.png\" alt=\"\" \/>\r\n<span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/95\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot in Exercises<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\r\n<p class=\"Fig-legend-unnumbered ParaOverride-47\"><\/p>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">What is the direction and magnitude of the following correlation coefficients?\r\n<ol>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">\u2212.81<\/li>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">.40<\/li>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">.15<\/li>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">\u2212.08<\/li>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">.29<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">Create a scatter plot from the following data:\r\n<table id=\"table070\" class=\"Foster-table _idGenTablePara-2\"><colgroup> <col class=\"_idGenTableRowColumn-53\" \/> <col class=\"_idGenTableRowColumn-110\" \/><\/colgroup>\r\n<thead>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-8\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Hours Studying<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Overall Class Performance<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-1\">\r\n<p class=\"Table-body ParaOverride-4\">0.62<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-1\">\r\n<p class=\"Table-body ParaOverride-4\">2.02<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.50<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">4.62<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">0.34<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">2.60<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">0.97<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.59<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">3.54<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">4.67<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">0.69<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">2.52<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.53<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">2.28<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">0.32<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.68<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.94<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">2.50<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.25<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">4.04<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.42<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">2.63<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">3.07<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">3.53<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">3.99<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">3.90<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">1.73<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-4\">2.75<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-11\">\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-8\">\r\n<p class=\"Table-body ParaOverride-4\">1.29<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body\">\r\n<p class=\"Table-body ParaOverride-4\">2.95<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">In the following correlation matrix, what is the relationship (number, direction, and magnitude) between\r\n<ol>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">Pay and Satisfaction<\/li>\r\n \t<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">Stress and Health\r\n<table id=\"table071\" class=\"Foster-table _idGenTablePara-3\"><colgroup> <col class=\"_idGenTableRowColumn-106\" \/> <col class=\"_idGenTableRowColumn-1\" \/> <col class=\"_idGenTableRowColumn-34\" \/> <col class=\"_idGenTableRowColumn-111\" \/> <col class=\"_idGenTableRowColumn-76\" \/><\/colgroup>\r\n<thead>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-54\">\r\n<p class=\"Table-col-hd\"><span class=\"CharOverride-23\">Workplace<\/span><\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-58\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Pay<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-1\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Satisfaction<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-1\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Stress<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd CellOverride-1\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Health<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-45 _idGenCellOverride-1\">\r\n<p class=\"Table-col-hd\">Pay<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-58 _idGenCellOverride-1\">\r\n<p class=\"Table-body ParaOverride-5\">1.00<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-1\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-1\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-1\"><\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-45 _idGenCellOverride-2\">\r\n<p class=\"Table-col-hd\">Satisfaction<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-58 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-5\">.68<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">1.00<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\"><\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\"><\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-45 _idGenCellOverride-2\">\r\n<p class=\"Table-col-hd\">Stress<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-58 _idGenCellOverride-2\">\r\n<p class=\"Table-body ParaOverride-5\">.02<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">\u2212.23<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">1.00<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\"><\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-8\">\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-45\">\r\n<p class=\"Table-col-hd\">Health<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-58\">\r\n<p class=\"Table-body ParaOverride-5\">.05<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-59\">\r\n<p class=\"Table-body\">.15<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-59\">\r\n<p class=\"Table-body\">\u2212.48<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-59\">\r\n<p class=\"Table-body ParaOverride-4\">1.00<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">Using the data from Problem 7, test for a statistically significant relationship between the variables.<\/li>\r\n \t<li class=\"Numbered-list-Exercises\">Researchers investigated mother-infant vocalizations in several cultures to determine the extent to which such vocal interactions are true for all humans or culture-specific. They thought that mothers who talked more would have babies who vocalized (babbled) more. They observed mothers and infants for 50 minutes and recorded the number of times the mother spoke and the baby vocalized during the observation session. Data below are for 10 mother-infant pairs in Cameroon. Test the hypothesis at the <span class=\"Symbol\">a<\/span> = .05 level using the four-step hypothesis testing procedure.\r\n<table id=\"table072\" class=\"Foster-table _idGenTablePara-2\"><colgroup> <col class=\"_idGenTableRowColumn-112\" \/> <col class=\"_idGenTableRowColumn-113\" \/><\/colgroup>\r\n<thead>\r\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\r\n<td class=\"Foster-table Table-col-hd CellOverride-8\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Mother Spoke<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-col-hd\">\r\n<p class=\"Table-col-hd ParaOverride-4\">Baby Vocalized<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-1\">\r\n<p class=\"Table-body\">80<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-1\">\r\n<p class=\"Table-body\">110<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">60<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">110<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">120<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">100<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">100<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">130<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">100<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">140<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">90<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">115<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">80<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">150<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">40<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">130<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\r\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\r\n<p class=\"Table-body\">80<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\r\n<p class=\"Table-body\">95<\/p>\r\n<\/td>\r\n<\/tr>\r\n<tr class=\"Foster-table _idGenTableRowColumn-8\">\r\n<td class=\"Foster-table Table-body-last Table-body CellOverride-8\">\r\n<p class=\"Table-body\">50<\/p>\r\n<\/td>\r\n<td class=\"Foster-table Table-body-last Table-body\">\r\n<p class=\"Table-body\">50<\/p>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n<\/ol>\r\n<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<h3 class=\"H1\">Answers to Odd-Numbered Exercises<\/h3>\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<h3 class=\"H1\">1)<\/h3>\r\n<h3 class=\"H1\">Correlations assess the linear relationship between two continuous variables.<\/h3>\r\n3)\r\n<span style=\"font-size: 0.8em;font-weight: lighter\">Covariance is an unstandardized measure of how related two continuous variables are. Correlations are standardized versions of covariance that fall between \u22121.00 and 1.00.<\/span>\r\n\r\n5)\r\n\r\n<span style=\"font-size: 0.8em;font-weight: lighter\">Strong, positive, linear relationship<\/span>\r\n\r\n7)\r\n\r\n<span style=\"font-size: 0.8em;font-weight: lighter\">Your scatter plot should look similar to this:<\/span>\r\n<p class=\"Figure ParaOverride-46\"><img class=\"_idGenObjectAttribute-213\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Studying_and_Performance-2.png\" alt=\"\" \/><\/p>\r\n\r\n<\/div>\r\n9)\r\n<span class=\"Fig-source\" style=\"text-align: initial;font-size: 0.8em\">(\u201c<\/span><a style=\"text-align: initial;font-size: 0.8em\" href=\"https:\/\/irl.umsl.edu\/oer-img\/96\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Studying and Performance<\/span><\/span><\/a><span class=\"Fig-source\" style=\"text-align: initial;font-size: 0.8em\">\u201d by Judy Schmitt is licensed under <\/span><a style=\"text-align: initial;font-size: 0.8em\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\" style=\"text-align: initial;font-size: 0.8em\">.)<\/span>\r\n<div class=\"textbox__content\">\r\n\r\n<span class=\"italic\">Step 1:<\/span> <span class=\"italic\">H<\/span><span class=\"subscript _idGenCharOverride-1\">0<\/span>: <span class=\"Symbol\">r<\/span> = 0 \u201cThere is no relationship between time spent studying and overall performance in class,\u201d <span class=\"italic\">H<\/span><span class=\"subscript _idGenCharOverride-1\">A<\/span>: <span class=\"Symbol\">r<\/span> &gt; 0 \u201cThere is a positive relationship between time spent studying and overall performance in class.\u201d\r\n<span class=\"italic\">Step 2:<\/span> <span class=\"italic\">d<\/span><span class=\"italic\">f<\/span> = 15 \u2212 2 = 13, <span class=\"Symbol\">a<\/span> = .05, one-tailed test, <span class=\"italic\">r<\/span>* = .441\r\n<span class=\"italic\">Step 3:<\/span> Using the sum of products table, you should find: <img class=\"_idGenObjectAttribute-137\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn12.13x-2.png\" alt=\"\" \/> = 1.61, <span class=\"italic\">SS<\/span><span class=\"subscript-italic CharOverride-17\">X<\/span> = 17.44, <img class=\"_idGenObjectAttribute-206\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn12.13y-2.png\" alt=\"\" \/> = 2.95, <span class=\"italic\">SS<\/span><span class=\"subscript-italic _idGenCharOverride-1\">Y<\/span>\u00a0=\u00a013.60, <span class=\"italic\">SP<\/span> = 10.06, <span class=\"italic\">r <\/span>= .65\r\n<span class=\"italic\">Step 4:<\/span> Obtained statistic is greater than critical value, reject <span class=\"italic\">H<\/span><span class=\"subscript CharOverride-17\">0<\/span>. There is a statistically significant, strong, positive relationship between time spent studying and performance in class, <span class=\"italic\">r<\/span>(13) = .65, <span class=\"italic\">p<\/span>\u00a0&lt;\u00a0.05.\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;","rendered":"<div class=\"textbox textbox--sidebar textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<h3 class=\"Chapter-element-head\">Key Terms<\/h3>\n<\/header>\n<div class=\"textbox__content\">\n<p>&nbsp;<\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor257\"><span class=\"Hyperlink-underscore\">confound variables<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor265\"><span class=\"Hyperlink-underscore\">correlation matrices<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor241\"><span class=\"Hyperlink-underscore\">covariance<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor236\"><span class=\"Hyperlink-underscore\">curvilinear relationship<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor237\"><span class=\"Hyperlink-underscore\">inverse relationship<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor247\"><span class=\"Hyperlink-underscore\">linear relationship<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor238\"><span class=\"Hyperlink-underscore\">magnitude<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor239\"><span class=\"Hyperlink-underscore\">negative relationship<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor240\"><span class=\"Hyperlink-underscore\">no relationship<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor262\"><span class=\"Hyperlink-underscore\">outlier<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor001\"><span class=\"Hyperlink-underscore\">positive relationship<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor258\"><span class=\"Hyperlink-underscore\">range restriction<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor264\"><span class=\"Hyperlink-underscore\">Spearman\u2019s rho<\/span><\/a><\/p>\n<p class=\"Key-terms\"><a href=\"#_idTextAnchor242\"><span class=\"Hyperlink-underscore\">sum of products<\/span><\/a><\/p>\n<\/div>\n<\/div>\n<p class=\"p1\"><b>Introduction: Seeing Connections in Social Inequality<\/b><\/p>\n<p class=\"p2\">Correlation analysis allows us to see how social realities move together. From a social justice perspective, correlation helps reveal the relationships between privilege, power, and marginalization\u2014showing, for example, how income relates to educational opportunity, how policing intensity relates to neighborhood racial composition, or how access to health care tracks with poverty rates. Understanding correlation reminds us that social problems rarely exist in isolation; they are interconnected and systemic. By quantifying the strength and direction of these connections, correlation analysis helps us move beyond assumptions and anecdotes toward evidence-based arguments for equity and reform.<\/p>\n<p class=\"Text-1st\">Thus far, all of our analyses have focused on comparing the value of a continuous variable across different groups via mean differences. We will now turn away from means and look instead at how to assess the relationship between two continuous variables in the form of correlations. As we will see, the logic behind correlations is the same as it was behind group means, but we will now have the ability to assess an entirely new data structure.<\/p>\n<h3 class=\"H1\">Variability and Covariance<\/h3>\n<p class=\"Text-1st\">A common theme throughout statistics is the notion that individuals will differ on different characteristics and traits, which we call <span class=\"italic\">variance<\/span>. In inferential statistics and hypothesis testing, our goal is to find systematic reasons for differences and rule out random chance as the cause. By doing this, we are using information on a different variable\u2014which so far has been group membership like in ANOVA\u2014to explain this variance. In correlations, we will instead use two continuous variables to account for the variance.<\/p>\n<p class=\"Text\">Because we have two continuous variables, we will have two characteristics or scores on which people will vary. What we want to know is whether people vary on the scores together. That is, as one score changes, does the other score also change in a predictable or consistent way? This notion of variables differing together is called <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_705\"><a id=\"_idTextAnchor241\"><\/a><\/a><span class=\"key-term\">covariance<\/span> (the prefix <span class=\"italic\">co-<\/span> meaning \u201ctogether\u201d).<\/p>\n<p class=\"Text\">Let\u2019s look at our formula for variance on a single variable:<\/p>\n<p class=\"Equation\"><img decoding=\"async\" class=\"_idGenObjectAttribute-198\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2021\/12\/Eqn12.1-2.png\" alt=\"\" \/><\/p>\n<p class=\"Text\">We use <span class=\"italic\">X<\/span> to represent a person\u2019s score on the variable at hand, and <img decoding=\"async\" class=\"_idGenObjectAttribute-32\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn3.2-upperM-6.png\" alt=\"Upper M\" \/> to represent the mean of that variable. The numerator of this formula is the sum of squares, which we have seen several times for various uses. Recall that squaring a value is just multiplying that value by itself.<\/p>\n<ul>\n<li>\n<table class=\"grid landscape\" style=\"border-collapse: collapse;width: 41.0335%;height: 97.9943px\">\n<caption>Correlation Table<\/caption>\n<tbody>\n<tr style=\"height: 38.9957px\">\n<th style=\"width: 13.0221%;height: 38.9957px\" scope=\"rowgroup\"><\/th>\n<th style=\"width: 11.284%;height: 38.9957px\" scope=\"row\">X<\/th>\n<th style=\"width: 11.1616%;height: 38.9957px\" scope=\"row\">Y<\/th>\n<th style=\"width: 12.4493%;height: 38.9957px\">XY<\/th>\n<th style=\"width: 15.1191%;height: 38.9957px\">X<sup>2<\/sup><\/th>\n<th style=\"width: 12.7006%;height: 38.9957px\">Y<sup>2<\/sup><\/th>\n<\/tr>\n<tr style=\"height: 28.9986px\">\n<td style=\"width: 13.0221%;height: 28.9986px\">Total<\/td>\n<td style=\"width: 11.284%;height: 28.9986px\"><\/td>\n<td style=\"width: 11.1616%;height: 28.9986px\"><\/td>\n<td style=\"width: 12.4493%;height: 28.9986px\"><\/td>\n<td style=\"width: 15.1191%;height: 28.9986px\"><\/td>\n<td style=\"width: 12.7006%;height: 28.9986px\"><\/td>\n<\/tr>\n<tr style=\"height: 30px\">\n<td style=\"width: 13.0221%;height: 30px\">Mean<\/td>\n<td style=\"width: 11.284%;height: 30px\"><\/td>\n<td style=\"width: 11.1616%;height: 30px\"><\/td>\n<td style=\"width: 12.4493%;height: 30px\"><\/td>\n<td style=\"width: 15.1191%;height: 30px\"><\/td>\n<td style=\"width: 12.7006%;height: 30px\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ul>\n<p class=\"Text\"><span style=\"text-align: initial;font-size: 1.125rem\">This table works the same way it did before (remember that the column headers tell you exactly what to do in that column). We list our raw data for the <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">X<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> and <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">Y<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> variables in the <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">X<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> and <\/span><span class=\"italic\" style=\"text-align: initial;font-size: 1.125rem\">Y<\/span><span style=\"text-align: initial;font-size: 1.125rem\"> columns, respectively, then add them up so we can calculate the mean of each variable. Next, you multiply your values for X and Y. The fourth and fifth columns require you to square each X value and square each Y value. (See below)<\/span><\/p>\n<ul>\n<li>Table calculations:\n<ul>\n<li>X and Y = values from data provided<\/li>\n<li>XY\u00a0 = multiply X and Y<\/li>\n<li>x<sup>2<\/sup> and y<sup>2<\/sup>= Square each value<\/li>\n<li>Total &#8211; After calculations are complete for each section add them up to find the total and calculate the mean.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>To get Pearson&#8217;s r, you will use the values calculated above along with the n (number of pairs) to use the following formula:<\/p>\n<p><span style=\"font-size: 12pt\"><img loading=\"lazy\" decoding=\"async\" class=\"equation_image\" title=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257Bn%255Cleft(%255CSigma%2520xy%255Cright)-%255Cleft(%255CSigma%2520x%255Cright)%255Cleft(%255CSigma%2520y%255Cright)%257D%257B%255Csqrt%257B%255Cleft(n%255CSigma%2520x%255E2-%255C%253A%255Cleft(%255CSigma%2520x%255Cright)%255E2%255Cright)%255Cleft(n%255CSigma%2520y%255E2-%255C%253A%255Cleft(%255CSigma%2520y%255Cright)%255E2%255Cright)%257D%257D\" alt=\"Formula for correlation\" width=\"330\" height=\"78\" data-equation-content=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" \/><\/span><\/p>\n<p>A positive r indicates that the two variables are related and move in the same direction. That is, as one variable goes up, the other will also go up, and vice versa. A negative r means that the variables are related but move in opposite directions when they change, which is called an <span class=\"key-term\">inverse relationship<\/span>. In an inverse relationship, as one variable goes up, the other variable goes down. The closer r is to zero, that means the variables are not related. As one variable goes up or down, the other variable does not change in a consistent or predictable way.<\/p>\n<p class=\"Text\">The previous paragraph brings us to an important definition about relationships between variables. What we are looking for in a relationship is a consistent or predictable pattern. That is, the variables change together, either in the same direction or opposite directions, in the same way each time. It doesn\u2019t matter if this relationship is positive or negative, only that it is not zero. If there is no consistency in how the variables change within a person, then the relationship is zero and does not exist. We will revisit this notion of direction vs. zero relationship later on.<\/p>\n<h3 class=\"H1\">Visualizing Relationships: Scatterplots<\/h3>\n<p class=\"Text-1st\"><a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-2\/\"><span class=\"Hyperlink-underscore\">Chapter 2<\/span><\/a> covered many different forms of data visualization, and visualizing data remains an important first step in understanding and describing our data before we move into inferential statistics. Nowhere is this more important than in correlation. Correlations are visualized by a scatter plot, where our <span class=\"italic\">X<\/span> variable values are plotted on the <span class=\"italic\">x<\/span>-axis, the <span class=\"italic\">Y<\/span> variable values are plotted on the <span class=\"italic\">y<\/span>-axis, and each point or marker in the plot represents a single person\u2019s score on <span class=\"italic\">X<\/span> and\u00a0<span class=\"italic\">Y<\/span>. <a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a> shows a scatter plot for hypothetical scores on job satisfaction (<span class=\"italic\">X<\/span>) and worker well-being\u00a0(<span class=\"italic\">Y<\/span>). We can see from the axes that each of these variables is measured on a 10-point scale, with 10 being the highest on both variables (high satisfaction and good well-being) and 1 being the lowest (dissatisfaction and poor well-being). When we look at this plot, we can see that the variables do seem to be related. The higher scores on job satisfaction tend to also be the higher scores on well-being, and the same is true of the lower scores.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor243\"><\/a>Figure 12.1.<\/span> Plotting job satisfaction and well-being scores. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/81\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Job Satisfaction and Well-Being<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer550\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Job_Satisfaction_and_Well-Being-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\"><a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a> demonstrates a positive relationship. As scores on <span class=\"italic\">X<\/span> increase, scores on <span class=\"italic\">Y<\/span> also tend to increase. Although this is not a perfect relationship (if it were, the points would form a single straight line), it is nonetheless very clearly positive. This is one of the key benefits to scatter plots: they make it very easy to see the direction of the relationship. As another example, <a href=\"#_idTextAnchor244\"><span class=\"Fig-table-number-underscore\">Figure 12.2<\/span><\/a> shows a negative relationship between job satisfaction (<span class=\"italic\">X<\/span>) and burnout (<span class=\"italic\">Y<\/span>). As we can see from this plot, higher scores on job satisfaction tend to correspond with lower scores on burnout, which is how stressed, unenergetic, and unhappy someone is at their job. As with <a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a>, this is not a perfect relationship, but it is still a clear one. As these figures show, points in a positive relationship move from the bottom left of the plot to the top right, and points in a negative relationship move from the top left to the bottom\u00a0right.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor244\"><\/a>Figure 12.2.<\/span> Plotting job satisfaction and burnout scores. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/82\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Job Satisfaction and Burnout<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer552\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Job_Satisfaction_and_Burnout-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\"><a id=\"_idTextAnchor245\"><\/a>Scatter plots can also indicate that there is no relationship between the two variables. In these scatter plots (for example, <a href=\"#_idTextAnchor246\"><span class=\"Fig-table-number-underscore\">Figure 12.3<\/span><\/a>, which plots job satisfaction and job performance) there is no interpretable shape or line in the scatter plot. The points appear randomly throughout the plot. If we tried to draw a straight line through these points, it would basically be flat. The low scores on job satisfaction have roughly the same scores on job performance as do the high scores on job satisfaction. Scores in the middle or average range of job satisfaction have some scores on job performance that are about equal to the high and low levels and some scores on job performance that are a little higher, but the overall picture is one of inconsistency.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor246\"><\/a>Figure 12.3.<\/span> Plotting no relationship between job satisfaction and job performance. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/83\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Job Satisfaction and Job Performance<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer554\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Job_Satisfaction_and_Job_Performance-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\">As we can see, scatter plots are very useful for giving us an approximate idea of whether there is a relationship between the two variables and, if there is, if that relationship is positive or negative. They are also the only way to determine one of the characteristics of correlations that are discussed next:\u00a0form.<\/p>\n<h3 class=\"H1\">Three Characteristics<\/h3>\n<p class=\"Text-1st\">When we talk about correlations, there are three traits that we need to know in order to truly understand the relationship (or lack of relationship) between <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span>: form, direction, and magnitude. We will discuss each of them in turn.<\/p>\n<h4 class=\"H2\">Form<\/h4>\n<p class=\"Text-1st\">The first characteristic of relationships between variables is their form. The form of a relationship is the shape it takes in a scatter plot, and a scatter plot is the only way it is possible to assess the form of a relationship. There are three forms we look for: linear, curvilinear, or no relationship. A <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_707\"><a id=\"_idTextAnchor247\"><\/a><\/a><span class=\"key-term\">linear relationship<\/span> is what we saw in <a href=\"#_idTextAnchor243\"><span class=\"Fig-table-number-underscore\">Figure 12.1<\/span><\/a>, <a href=\"#_idTextAnchor244\"><span class=\"Fig-table-number-underscore\">Figure 12.2<\/span><\/a>, and <a href=\"#_idTextAnchor246\"><span class=\"Fig-table-number-underscore\">Figure 12.3<\/span><\/a>. If we drew a line through the middle points in any of the scatter plots, we would be best suited with a straight line. The term <span class=\"italic\">linear<\/span> comes from the word <span class=\"italic\">line<\/span>. A linear relationship is what we will always assume when we calculate correlations. All of the correlations presented here are only valid for linear relationships. Thus, it is important to plot our data to make sure we meet this assumption.<\/p>\n<p class=\"Text\">The relationship between two variables can also be curvilinear. As the name suggests, a <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_706\"><a id=\"_idTextAnchor236\"><\/a><\/a><span class=\"key-term\">curvilinear relationship<\/span> is one in which a line through the middle of the points in a scatter plot will be curved rather than straight. An example is presented in\u00a0<a href=\"#_idTextAnchor249\"><span class=\"Fig-table-number-underscore\">Figure 12.5<\/span><\/a>.<\/p>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer556\" class=\"_idGenObjectStyleOverride-1\"><\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor249\"><\/a>Figure 12.5.<\/span> Inverted-U curvilinear relationship. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/85\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Curvilinear Relation Inverted U<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer558\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Curvilinear_Relation_Inverted_U-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\">Curvilinear relationships can take many shapes, and the example above is only one possibility. The correlation has clear pattern, but that pattern is not a straight line. If we try to draw a straight line through them, we would get a result similar to what is shown in <a href=\"#_idTextAnchor250\"><span class=\"Fig-table-number-underscore\">Figure 12.6<\/span><\/a>.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor250\"><\/a>Figure 12.6.<\/span> Overlaying a straight line on a curvilinear relationship. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/86\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Curvilinear Relation Inverted U with Straight Line<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer560\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Curvilinear_Relation_Inverted_U_with_Straight_Line-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\">Although that line is the closest it can be to all points at the same time, it clearly does a very poor job of representing the relationship we see. Additionally, the line itself is flat, suggesting there is no relationship between the two variables even though the data show that there is one. This is important to keep in mind, because the math behind our calculations of correlation coefficients will only ever produce a straight line\u2014we cannot create a curved line with the techniques discussed here.<\/p>\n<p class=\"Text\">Finally, sometimes when we create a scatter plot, we end up with no interpretable relationship at all. An example of this is shown in <a href=\"#_idTextAnchor251\"><span class=\"Fig-table-number-underscore\">Figure 12.7<\/span><\/a>. The points in this plot show no consistency in relationship, and a line through the middle would once again be a straight, flat line.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor251\"><\/a>Figure 12.7.<\/span> No relationship. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/87\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot No Relation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer562\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_No_Relation-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\">Sometimes when we look at scatter plots, it is tempting to get biased by a few points that fall far away from the rest of the points and seem to imply that there may be some sort of relationship. These points are called outliers, and we will discuss them in more detail <a href=\"#_idTextAnchor261\"><span class=\"Hyperlink-underscore\">later in the chapter<\/span><\/a>. These can be common, so it is important to formally test for a relationship between our variables, not just rely on visualization. This is the point of hypothesis testing with correlations, and we will go in-depth on it soon. First, however, we need to describe the other two characteristics of relationships: direction and magnitude.<\/p>\n<h4 class=\"H2\">Direction<\/h4>\n<p class=\"Text-1st\">The direction of the relationship between two variables tells us whether the variables change in the same way at the same time or in opposite ways at the same time. We saw this concept earlier when first discussing scatter plots, and we used the terms positive and negative. A <span class=\"key-term\">positive relationship<\/span> is one in which <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> change in the same direction: as <span class=\"italic\">X<\/span> goes up, <span class=\"italic\">Y<\/span> goes up, and as <span class=\"italic\">X<\/span> goes down, <span class=\"italic\">Y<\/span> also goes down. A <span class=\"key-term\">negative relationship<\/span> is just the opposite: <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> change together in opposite directions: as <span class=\"italic\">X<\/span> goes up, <span class=\"italic\">Y<\/span> goes down, and vice versa.<\/p>\n<p class=\"Text\">As we will see soon, when we calculate a correlation coefficient, we are quantifying the relationship demonstrated in a scatter plot. That is, we are putting a number to it (pearson&#8217;s r). The r value will be either positive, negative, or zero, and we interpret the sign of the number as our direction. If the r value is positive, it is a positive relationship, and if it is negative, it is a negative relationship. If it is zero, then there is no relationship.<\/p>\n<h4 class=\"H2\">Magnitude<\/h4>\n<p class=\"Text-1st\">The pearson&#8217;s r value we calculate for our correlation coefficient, which we will describe in detail below, corresponds to the magnitude of the relationship between the two variables. The <span class=\"key-term\">magnitude<\/span> is how strong or how consistent the relationship between the variables is. Higher numbers mean greater magnitude, which means a stronger relationship.<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbZ_HgnFcgDuTn6pIx6LSR2Ne9WMM8hF1Ai-vOBRG6OFbuL4O2vaciPtLVUXPSQXWWpxxRtUkMb-S-cOA4NvzaF8LW0azjtIsVifGMhnKDt7nffblcDzE2TyfWoHGQocCvo5x9MXUVYa7T\/s1600\/correlation_coefficient.gif\" alt=\"image\" \/><\/p>\n<p class=\"Text\">Our correlation coefficients will take on any value between \u22121.00 and 1.00, with 0.00 in the middle, which again represents no relationship. A correlation of \u22121.00 is a perfect negative relationship; as <span class=\"italic\">X<\/span> goes up by some amount, <span class=\"italic\">Y<\/span> goes down by the same amount, consistently. Likewise, a correlation of 1.00 indicates a perfect positive relationship; as <span class=\"italic\">X<\/span> goes up by some amount, <span class=\"italic\">Y<\/span> also goes up by the same amount. Finally, a correlation of 0.00, which indicates no relationship, means that as <span class=\"italic\">X<\/span> goes up by some amount, <span class=\"italic\">Y<\/span> may or may not change by any amount, and it does so inconsistently.<\/p>\n<p class=\"Text\">The vast majority of correlations do not reach \u22121.00 or 1.00. Instead, they fall in between, and we use rough cut offs for how strong the relationship is based on this number. Importantly, the sign of the number (the direction of the relationship) has no bearing on how strong the relationship is. The only thing that matters is the magnitude, or the absolute value of the correlation coefficient. A correlation of \u22121 is just as strong as a correlation of 1. We generally use values of .10, .30, and .50 as indicating weak, moderate, and strong relationships, respectively.<\/p>\n<p class=\"Text\">The strength of a relationship, just like the form and direction, can also be inferred from a scatter plot, though this is much more difficult to do. Some examples of weak and strong relationships are shown in <a href=\"#_idTextAnchor252\"><span class=\"Fig-table-number-underscore\">Figure 12.8<\/span><\/a> and <a href=\"#_idTextAnchor253\"><span class=\"Fig-table-number-underscore\">Figure 12.9<\/span><\/a>, respectively. Weak correlations still have an interpretable form and direction, but it is much harder to see. Strong correlations have a very clear pattern, and the points tend to form a line. The examples show two different directions, but remember that the direction does not matter for the strength, only the consistency of the relationship and the size of the number, which we will see next.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor252\"><\/a>Figure 12.8.<\/span> Weak positive correlation. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/88\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Weak Positive Correlation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer564\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Weak_Positive_Correlation-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor253\"><\/a>Figure 12.9.<\/span> Strong negative correlation. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/89\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Strong Negative Correlation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer566\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Strong_Negative_Correlation-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<h3 class=\"H1\">Pearson\u2019s <span class=\"bold-italic CharOverride-4\">r<\/span><\/h3>\n<p class=\"Text-1st\">There are several different types of correlation coefficients, but we will only focus on Pearson\u2019s <span class=\"italic\">r<\/span>, the most popular correlation coefficient for assessing linear relationships, which serves as both a descriptive statistic (like <img decoding=\"async\" class=\"_idGenObjectAttribute-32\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn3.2-upperM-6.png\" alt=\"Upper M\" \/>) and a test statistic (like <span class=\"italic\">t<\/span>). It is descriptive because it describes what is happening in the scatter plot; <span class=\"italic\">r <\/span>will have both a sign (+\/\u2212) for the direction and a number (0 to 1 in absolute value) for the magnitude. As noted above, because it assumes a linear relationship, nothing about <span class=\"italic\">r <\/span>will suggest what the form is\u2014it will only tell what the direction and magnitude will be if the form is linear. (Remember: always make a scatter plot first!) The coefficient <span class=\"italic\">r <\/span>also works as a test statistic because the magnitude of <span class=\"italic\">r can then be compared to a critical value. <\/span>Luckily, we do not need to do this conversion by hand. Instead, we will have a table of <span class=\"italic\">r <\/span>critical values that looks very similar to our <span class=\"italic\">t\u00a0<\/span>table, and we can compare our <span class=\"italic\">r <\/span>directly to those.<\/p>\n<p class=\"Text\">The formula for <span class=\"italic\">r <\/span>is very simple:<\/p>\n<p class=\"Equation\"><span style=\"font-size: 12pt\"><img loading=\"lazy\" decoding=\"async\" class=\"equation_image\" title=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257Bn%255Cleft(%255CSigma%2520xy%255Cright)-%255Cleft(%255CSigma%2520x%255Cright)%255Cleft(%255CSigma%2520y%255Cright)%257D%257B%255Csqrt%257B%255Cleft(n%255CSigma%2520x%255E2-%255C%253A%255Cleft(%255CSigma%2520x%255Cright)%255E2%255Cright)%255Cleft(n%255CSigma%2520y%255E2-%255C%253A%255Cleft(%255CSigma%2520y%255Cright)%255E2%255Cright)%257D%257D\" alt=\"Formula for correlation\" width=\"284\" height=\"68\" data-equation-content=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" \/><\/span><\/p>\n<p class=\"Example-New\"><span class=\"Example--\">Example <\/span> Anxiety and Depression<\/p>\n<p class=\"Text-1st\">Anxiety and depression are often reported to be highly linked (or \u201ccomorbid\u201d). Our hypothesis testing procedure follows the same four-step process as before, starting with our null and alternative hypotheses. We will look for a positive relationship between our variables among a group of 10 people because that is what we would expect based on them being comorbid.<\/p>\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 1:<\/span> State the Hypotheses<\/h5>\n<p class=\"Text-1st\">Our hypotheses for correlations start with a baseline assumption of no relationship, and our alternative will be directional if we expect to find a specific type of relationship. For this example, we expect a positive relationship:<\/p>\n<p>H<sub>0<\/sub>:There is no relation between anxiety and depression or H<sub>0<\/sub>: r=0<\/p>\n<p>H<sub>A<\/sub>:There is a positive relationship between anxiety and depression or H<sub>A<\/sub>: r&gt;0<\/p>\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 2:<\/span> Find the Critical Values<\/h5>\n<p class=\"Text-1st\">The critical values for correlations come from the correlation table (a portion of which appears in <a href=\"#_idTextAnchor254\"><span class=\"Fig-table-number-underscore\">Table 12.1<\/span><\/a>), which looks very similar to the <span class=\"italic\">t<\/span>\u00a0table. (The complete correlation table can be found in <a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/back-matter\/appendix-d\/\"><span class=\"Hyperlink-underscore\">Appendix D<\/span><\/a>.) Just like our <span class=\"italic\">t<\/span>\u00a0table, the column of critical values is based on our significance level (<img decoding=\"async\" class=\"_idGenObjectAttribute-89\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn7.1-alpha-6.png\" alt=\"alpha\" \/>) and the directionality of our test. The row is determined by our degrees of freedom. For correlations, we have n \u2212 2 degrees of freedom, with our n being the number of pairs. For our example, we have 10 people, so our degrees of freedom = 10 \u2212 2 = 8.<\/p>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer584\" class=\"_idGenObjectStyleOverride-1\">\n<p class=\"Table-title\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor254\"><\/a>Table 12.1.<\/span> Critical Values for Pearson\u2019s <span class=\"italic\">r<\/span> (Correlation Table)<\/p>\n<table id=\"table066\" class=\"Foster-table\" style=\"height: 323px\">\n<colgroup>\n<col class=\"_idGenTableRowColumn-103\" \/>\n<col class=\"_idGenTableRowColumn-104\" \/>\n<col class=\"_idGenTableRowColumn-21\" \/>\n<col class=\"_idGenTableRowColumn-75\" \/>\n<col class=\"_idGenTableRowColumn-4\" \/> <\/colgroup>\n<thead>\n<tr class=\"Foster-table _idGenTableRowColumn-5\" style=\"height: 17px\">\n<td class=\"Foster-table Table-col-hd CellOverride-43\" style=\"height: 68px;width: 99.3125px\" rowspan=\"4\">\n<p class=\"Table-col-hd ParaOverride-4\"><img decoding=\"async\" class=\"_idGenObjectAttribute-205\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/EqnA.1a-2.png\" alt=\"\" \/><\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-21\" style=\"height: 17px;width: 303.188px\" colspan=\"4\">\n<p class=\"Table-straddle-hd\">Level of Significance for One-Tailed Test<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-5\" style=\"height: 17px\">\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-col-hd ParaOverride-4\">.05<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-col-hd ParaOverride-4\">.025<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-col-hd ParaOverride-4\">.01<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-23 _idGenCellOverride-4\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-col-hd ParaOverride-4\">.005<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-64\" style=\"height: 17px\">\n<td class=\"Foster-table Table-col-hd CellOverride-24 _idGenCellOverride-1\" style=\"height: 17px;width: 303.188px\" colspan=\"4\">\n<p class=\"Table-straddle-hd\">Level of Significance for Two-Tailed Test<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-5\" style=\"height: 17px\">\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-col-hd ParaOverride-4\">.10<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-col-hd ParaOverride-4\">.05<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-44 _idGenCellOverride-4\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-col-hd ParaOverride-4\">.02<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-23 _idGenCellOverride-4\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-col-hd ParaOverride-4\">.01<\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">1<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.988<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.997<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-1\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.9995<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-1\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.9999<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">2<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.900<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.950<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.980<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.990<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">3<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.805<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.878<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.934<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.959<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">4<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.729<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.811<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.882<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.917<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">5<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.669<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.754<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.833<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.875<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">6<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.621<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.707<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.789<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.834<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">7<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.582<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.666<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.750<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.798<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">8<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.549<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.632<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.715<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.765<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">9<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.521<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.602<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.685<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.735<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">10<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.497<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.576<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.658<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.708<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">11<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.476<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.553<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.634<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.684<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">12<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.458<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.532<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.612<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.661<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">13<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.441<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.514<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.592<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.641<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">14<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.426<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.497<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-43 _idGenCellOverride-2\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.574<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.623<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-11\" style=\"height: 17px\">\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 99.3125px\">\n<p class=\"Table-body ParaOverride-4\">15<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.412<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 60.7109px\">\n<p class=\"Table-body\">.482<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-43\" style=\"height: 17px;width: 75.6484px\">\n<p class=\"Table-body\">.558<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body\" style=\"height: 17px;width: 76.1172px\">\n<p class=\"Table-body\">.606<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"Text\">We were not given any information about the level of significance at which we should test our hypothesis, so we will assume <span class=\"Symbol\">a<\/span> = .05 as always. From our table, we can see that a one-tailed test (because we expect only a positive relationship) at the <span class=\"Symbol\">a<\/span> = .05 level has a critical value of <span class=\"italic\">r* <\/span>= .549. Thus, if our observed correlation is greater than .549, it will be statistically significant. This is a rather high bar (remember, the guideline for a strong relationship is <span class=\"italic\">r <\/span>= .50); this is because we have so few people. Larger samples make it easier to find significant relationships.<\/p>\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 3:<\/span> Calculate the Test Statistic and Effect Size<\/h5>\n<p class=\"Text-1st\">We have laid out our hypotheses and the criteria we will use to assess them, so now we can move on to our test statistic. Before we do that, we must first create a scatter plot of the data to make sure that the most likely form of our relationship is in fact linear. <a href=\"#_idTextAnchor255\"><span class=\"Fig-table-number-underscore\">Figure 12.10<\/span><\/a> shows our data plotted out, and it looks like they are, in fact, linearly related, so Pearson\u2019s <span class=\"italic\">r <\/span>is appropriate.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor255\"><\/a>Figure 12.10.<\/span> Scatter plot of depression and anxiety. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/90\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Depression and Anxiety<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer586\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Depression_and_Anxiety-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\">The data we gather from our participants is as follows:<\/p>\n<table id=\"table067\" class=\"grid\">\n<thead>\n<tr>\n<th class=\"Foster-table Table-body-first Table-body CellOverride-45\" style=\"width: 87px\">\n<p class=\"Table-col-hd ParaOverride-4\">Depression.<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body CellOverride-46\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">2.81<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">1.96<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.43<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.40<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">4.71<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">1.80<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">4.27<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.68<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body CellOverride-47\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">2.44<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-first Table-body CellOverride-48\" style=\"width: 39px\">\n<p class=\"Table-body ParaOverride-4\">3.13<\/p>\n<\/th>\n<\/tr>\n<\/thead>\n<colgroup>\n<col class=\"_idGenTableRowColumn-60\" \/>\n<col class=\"_idGenTableRowColumn-60\" \/>\n<col class=\"_idGenTableRowColumn-105\" \/>\n<col class=\"_idGenTableRowColumn-60\" \/>\n<col class=\"_idGenTableRowColumn-105\" \/>\n<col class=\"_idGenTableRowColumn-60\" \/>\n<col class=\"_idGenTableRowColumn-105\" \/>\n<col class=\"_idGenTableRowColumn-60\" \/>\n<col class=\"_idGenTableRowColumn-105\" \/>\n<col class=\"_idGenTableRowColumn-60\" \/>\n<col class=\"_idGenTableRowColumn-105\" \/> <\/colgroup>\n<tbody>\n<tr class=\"Foster-table _idGenTableRowColumn-11\">\n<th class=\"Foster-table Table-body-last Table-body CellOverride-45\" style=\"width: 87px\">\n<p class=\"Table-col-hd ParaOverride-4\">Anxiety.<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body CellOverride-46\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.54<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.05<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.81<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.43<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">4.03<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.59<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">4.17<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.46<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body CellOverride-47\" style=\"width: 38px\">\n<p class=\"Table-body ParaOverride-4\">3.19<\/p>\n<\/th>\n<th class=\"Foster-table Table-body-last Table-body CellOverride-48\" style=\"width: 39px\">\n<p class=\"Table-body ParaOverride-4\">4.12<\/p>\n<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"Text\">We will need to put these values into our sum of products table to calculate the standard deviation and covariance of our variables. We will use <span class=\"italic\">X<\/span> for depression and <span class=\"italic\">Y<\/span> for anxiety to keep track of our data, but be aware that this choice is arbitrary and the math will work out the same if we decided to do the opposite. Our table is thus:<\/p>\n<table class=\"grid landscape\" style=\"border-collapse: collapse;width: 41.0335%;height: 266px\">\n<caption>Correlation Table<\/caption>\n<tbody>\n<tr style=\"height: 38.9957px\">\n<th style=\"width: 13.0221%;height: 38px\" scope=\"rowgroup\"><\/th>\n<th style=\"width: 11.284%;height: 38px\" scope=\"row\">X<\/th>\n<th style=\"width: 11.1616%;height: 38px\" scope=\"row\">Y<\/th>\n<th style=\"width: 12.4493%;height: 38px\">XY<\/th>\n<th style=\"width: 15.1191%;height: 38px\">X<sup>2<\/sup><\/th>\n<th style=\"width: 12.7006%;height: 38px\">Y<sup>2<\/sup><\/th>\n<\/tr>\n<tr style=\"height: 28.9986px\">\n<td style=\"width: 13.0221%;height: 28px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-1\" style=\"width: 11.284%;height: 28px\">\n<p class=\"Table-body\">2.81<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-1\" style=\"width: 11.1616%;height: 28px\">\n<p class=\"Table-body\">3.54<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 28px\">9.95<\/td>\n<td style=\"width: 15.1191%;height: 28px\">7.90<\/td>\n<td style=\"width: 12.7006%;height: 28px\">12.53<\/td>\n<\/tr>\n<tr style=\"height: 30px\">\n<td style=\"width: 13.0221%;height: 30px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 30px\">\n<p class=\"Table-body\">1.96<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 30px\">\n<p class=\"Table-body\">3.05<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 30px\">5.98<\/td>\n<td style=\"width: 15.1191%;height: 30px\">3.84<\/td>\n<td style=\"width: 12.7006%;height: 30px\">9.30<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">3.43<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">3.81<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">13.07<\/td>\n<td style=\"width: 15.1191%;height: 17px\">11.76<\/td>\n<td style=\"width: 12.7006%;height: 17px\">14.52<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">3.40<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">3.43<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">11.66<\/td>\n<td style=\"width: 15.1191%;height: 17px\">11.56<\/td>\n<td style=\"width: 12.7006%;height: 17px\">11.76<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">4.71<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">4.03<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">18.98<\/td>\n<td style=\"width: 15.1191%;height: 17px\">22.18<\/td>\n<td style=\"width: 12.7006%;height: 17px\">16.24<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">1.80<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">3.59<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">6.46<\/td>\n<td style=\"width: 15.1191%;height: 17px\">3.24<\/td>\n<td style=\"width: 12.7006%;height: 17px\">12.89<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">4.27<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">4.17<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">17.81<\/td>\n<td style=\"width: 15.1191%;height: 17px\">18.23<\/td>\n<td style=\"width: 12.7006%;height: 17px\">17.39<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">3.68<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">3.46<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">12.73<\/td>\n<td style=\"width: 15.1191%;height: 17px\">13.54<\/td>\n<td style=\"width: 12.7006%;height: 17px\">11.97<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">2.44<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-49 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">3.19<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">7.78<\/td>\n<td style=\"width: 15.1191%;height: 17px\">5.95<\/td>\n<td style=\"width: 12.7006%;height: 17px\">10.18<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-50 _idGenCellOverride-2\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">3.13<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-50 _idGenCellOverride-2\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">4.12<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">12.90<\/td>\n<td style=\"width: 15.1191%;height: 17px\">9.80<\/td>\n<td style=\"width: 12.7006%;height: 17px\">16.97<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-11\" style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\">Total<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-52\" style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">31.63<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-52\" style=\"width: 11.1616%;height: 17px\">\n<p class=\"Table-body\">36.39<\/p>\n<\/td>\n<td style=\"width: 12.4493%;height: 17px\">117.32<\/td>\n<td style=\"width: 15.1191%;height: 17px\">108.00<\/td>\n<td style=\"width: 12.7006%;height: 17px\">133.75<\/td>\n<\/tr>\n<tr style=\"height: 17px\">\n<td style=\"width: 13.0221%;height: 17px\">Mean<\/td>\n<td style=\"width: 11.284%;height: 17px\">\n<p class=\"Table-body\">3.16<\/p>\n<\/td>\n<td style=\"width: 11.1616%;height: 17px\">3.64<\/td>\n<td style=\"width: 12.4493%;height: 17px\">11.73<\/td>\n<td style=\"width: 15.1191%;height: 17px\">10.80<\/td>\n<td style=\"width: 12.7006%;height: 17px\">13.38<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"Text\">The total row is the sum of each column. We can see from this that the sum of the <span class=\"italic\">X<\/span> observations is 31.63, which makes the mean of the <span class=\"italic\">X<\/span> variable <span class=\"italic\">M<\/span> = 3.16. \u00a0The second column is all the Y observations which sum to 36.39 and has a mean of 3.64. The third column is XY, where you multiply the values of X and the values of Y across the table. For example 2.81&#215;3.54 = 9.95. The fourth column requires you to square each X value and the fifth column requires you to square each Y value. Once you have completed the table, you have everything you need to complete the formula below.<\/p>\n<ul>\n<li>Table calculations:\n<ul>\n<li>X and Y = values from data provided<\/li>\n<li>XY\u00a0 = multiply X and Y<\/li>\n<li>x<sup>2<\/sup> and y<sup>2<\/sup>= Square each value<\/li>\n<li>Total &#8211; After calculations are complete for each section add them up to find the total and calculate the mean.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p class=\"Text\"><span style=\"font-size: 12pt\"><img loading=\"lazy\" decoding=\"async\" class=\"equation_image\" title=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257Bn%255Cleft(%255CSigma%2520xy%255Cright)-%255Cleft(%255CSigma%2520x%255Cright)%255Cleft(%255CSigma%2520y%255Cright)%257D%257B%255Csqrt%257B%255Cleft(n%255CSigma%2520x%255E2-%255C%253A%255Cleft(%255CSigma%2520x%255Cright)%255E2%255Cright)%255Cleft(n%255CSigma%2520y%255E2-%255C%253A%255Cleft(%255CSigma%2520y%255Cright)%255E2%255Cright)%257D%257D\" alt=\"Formula for correlation\" width=\"377\" height=\"89\" data-equation-content=\"r=\\frac{n\\left(\\Sigma xy\\right)-\\left(\\Sigma x\\right)\\left(\\Sigma y\\right)}{\\sqrt{\\left(n\\Sigma x^2-\\:\\left(\\Sigma x\\right)^2\\right)\\left(n\\Sigma y^2-\\:\\left(\\Sigma y\\right)^2\\right)}}\" \/><\/span><\/p>\n<p>Plugging in the number from the table, you should get the r as shown below:<\/p>\n<p class=\"Text\"><span style=\"font-size: 12pt\"><img loading=\"lazy\" decoding=\"async\" class=\"equation_image\" title=\"r=\\frac{10\\left(117.32\\right)-\\left(31.63\\right)\\left(36.39\\right)}{\\sqrt{\\left(10\\left(108\\right)^{}-\\:\\left(31.63\\right)^2\\right)\\left(10\\left(133.75\\right)-\\:\\left(36.39\\right)^2\\right)}}=.680\" src=\"https:\/\/palomar.instructure.com\/equation_images\/r%253D%255Cfrac%257B10%255Cleft(117.32%255Cright)-%255Cleft(31.63%255Cright)%255Cleft(36.39%255Cright)%257D%257B%255Csqrt%257B%255Cleft(10%255Cleft(108%255Cright)%255E%257B%257D-%255C%253A%255Cleft(31.63%255Cright)%255E2%255Cright)%255Cleft(10%255Cleft(133.75%255Cright)-%255C%253A%255Cleft(36.39%255Cright)%255E2%255Cright)%257D%257D%253D.680?scale=1\" alt=\"LaTeX: r=\\frac{10\\left(117.32\\right)-\\left(31.63\\right)\\left(36.39\\right)}{\\sqrt{\\left(10\\left(108\\right)^{}-\\:\\left(31.63\\right)^2\\right)\\left(10\\left(133.75\\right)-\\:\\left(36.39\\right)^2\\right)}}=.680\" width=\"419\" height=\"66\" data-equation-content=\"r=\\frac{10\\left(117.32\\right)-\\left(31.63\\right)\\left(36.39\\right)}{\\sqrt{\\left(10\\left(108\\right)^{}-\\:\\left(31.63\\right)^2\\right)\\left(10\\left(133.75\\right)-\\:\\left(36.39\\right)^2\\right)}}=.680\" data-ignore-a11y-check=\"\" \/><\/span><\/p>\n<p class=\"Text\">So our observed correlation between anxiety and depression is <span class=\"italic\">r <\/span>= .680, which, based on sign and magnitude, is a strong, positive correlation. Now we need to compare it to our critical value to see if it is also statistically significant.<\/p>\n<h6 class=\"H4\">Pearson\u2019s <span class=\"semibold-italic CharOverride-12\">r<\/span><\/h6>\n<p class=\"Text-1st\">Pearson\u2019s <span class=\"italic\">r <\/span>is an incredibly flexible and useful statistic. Not only is it both descriptive and inferential, as we saw above, but because it is on a standardized metric (always between \u22121.00 and 1.00).<\/p>\n<h6>Coefficient of Determination (r<sup>2<\/sup>)<\/h6>\n<p class=\"Text\">In addition to <span class=\"italic\">r, <\/span>there is an additional effect size we can calculate for our results. This effect size is <span class=\"italic\">r<\/span><span class=\"superscript _idGenCharOverride-1\">2<\/span>, and it is exactly what it looks like\u2014it is the squared value of our correlation coefficient. The <span class=\"italic\">r<\/span><sup><span class=\"superscript _idGenCharOverride-1\">2<\/span><\/sup> is the squared correlation coefficient. The reason we use <span class=\"italic\">r<\/span><span class=\"superscript _idGenCharOverride-1\">2<\/span> as an effect size is because our ability to explain variance is often important to us. r<sup>2\u00a0<\/sup>tetlls us how much of the variance in one variable can be explained by the the variable. Therefore,<\/p>\n<p class=\"Text\"><span class=\"italic\">r<\/span><sup><span class=\"superscript _idGenCharOverride-1\">2=\u00a0<\/span><\/sup><span class=\"superscript _idGenCharOverride-1\">.680x.680 = .46<\/span><\/p>\n<p class=\"Text\"><span class=\"superscript _idGenCharOverride-1\">This means 46% of the variance in anxiety scores can be explained by the variance in depression scores.\u00a0\u00a0<\/span><\/p>\n<h5 class=\"H3-step\"><span class=\"Step--\">Step 4:<\/span> Make a Decision<\/h5>\n<p class=\"Text-1st\">Our critical value was <span class=\"italic\">r<\/span>* = .549 and our obtained value was <span class=\"italic\">r <\/span>= .680. Our obtained value was larger than our critical value, so we can reject the null hypothesis.<\/p>\n<p class=\"Text-indented-2p\">Reject <span class=\"italic\">H<\/span><sub><span class=\"subscript _idGenCharOverride-1\">0<\/span><\/sub>. Based on our sample of 10 people, there is a statistically significant, strong, positive relationship between anxiety and depression, <span class=\"italic\">r<\/span>(8) = .680, <span class=\"italic\">p<\/span> &lt; .05.<\/p>\n<p class=\"Text\">Notice in our interpretation that, because we already know the magnitude and direction of our correlation, we can interpret that. We also report the degrees of freedom, just like with <span class=\"italic\">t<\/span>, and we know that <span class=\"italic\">p<\/span> &lt; .05 because we rejected the null hypothesis. As we can see, even though we are dealing with a very different type of data, our process of hypothesis testing has remained unchanged. The <span class=\"italic\">r<\/span><sup><span class=\"superscript _idGenCharOverride-1\">2<\/span><\/sup> statistic is called the coefficient of determination and it tells us what percentage of the variance in the <span class=\"italic\">X<\/span> variable is explained by the <span class=\"italic\">Y<\/span> variable (and vice versa).<\/p>\n<p class=\"Text\"><a href=\"#_idTextAnchor256\"><span class=\"Fig-table-number-underscore\">Figure 12.11<\/span><\/a> shows the output from SPSS for this example.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor256\"><\/a>Figure 12.11.<\/span> Output from SPSS for the correlation described in the Anxiety and Depression example. The output provides the Pearson\u2019s <span class=\"italic\">r<\/span>, and the exact <span class=\"italic\">p<\/span> value (.015, which is less than .05). Based on our sample of 10 people, there is a statistically significant, strong, positive relationship between anxiety and depression, <span class=\"italic\">r<\/span>(8) = .68, <span class=\"italic\">p<\/span> = .015. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/91\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">JASP correlation<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Rupa G. Gordon\/Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer594\" class=\"_idGenObjectStyleOverride-2\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/JASP_correlation-2.jpg\" alt=\"\" \/><\/div>\n<\/div>\n<h3 class=\"H1\">Correlation versus Causation<\/h3>\n<p class=\"Text-1st\">We cover a great deal of material in introductory statistics and, as mentioned <a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-1\/\"><span class=\"Hyperlink-underscore\">Chapter 1<\/span><\/a>, many of the principles underlying what we do in statistics can be used in your day-to-day life to help you interpret information objectively and make better decisions. We now come to what may be the most important lesson in introductory statistics: the difference between correlation and causation.<\/p>\n<p class=\"Text\">It is very, very tempting to look at variables that are correlated and assume that this means they are causally related; that is, it gives the impression that <span class=\"italic\">X<\/span> is causing <span class=\"italic\">Y<\/span>. However, in reality, correlations do not\u2014and cannot\u2014do this. Correlations <span class=\"italic\">do not<\/span> prove causation. No matter how logical or how obvious or how convenient it may seem, no correlational analysis can demonstrate causality. The <span class=\"italic\">only<\/span> way to demonstrate a causal relationship is with a properly designed and controlled experiment.<\/p>\n<p class=\"Text\">Many times, we have good reason for assessing the correlation between two variables, and often that reason will be that we suspect one causes the other. Thus, when we run our analyses and find strong, statistically significant results, it is tempting to say that we found the causal relationship that we are looking for. The reason we cannot do this is that, without an experimental design that includes random assignment and control variables, the relationship we observe between the two variables may be caused by something else that we failed to measure\u2014something we can only detect and control for with an experiment. These <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_703\"><a id=\"_idTextAnchor257\"><\/a><\/a><span class=\"key-term\">confound variables<\/span>, which we will represent with <span class=\"italic\">Z<\/span>, can cause two variables <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> to appear related when in fact they are not. They do this by being the hidden\u2014or lurking\u2014cause of each variable independently. That is, if <span class=\"italic\">Z <\/span>causes <span class=\"italic\">X<\/span> and <span class=\"italic\">Z <\/span>causes <span class=\"italic\">Y<\/span>, the <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> will appear to be related. However, if we control for the effect of <span class=\"italic\">Z <\/span>(the method for doing this is beyond the scope of this text), then the relationship between <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> will disappear.<\/p>\n<p class=\"Text\">A popular example of this effect is the correlation between ice cream sales and deaths by drowning. These variables are known to correlate very strongly over time. However, this does not prove that one causes the other. The lurking variable in this case is the weather\u2014people enjoy swimming and enjoy eating ice cream more during hot weather as a way to cool off. As another example, consider shoe size and spelling ability in elementary school children. Although there should clearly be no causal relationship here, the variables are nonetheless consistently correlated. The confound in this case? Age. Older children spell better than younger children and are also bigger, so they have larger shoes.<\/p>\n<p class=\"Text\">That is why we use experimental designs; by randomly assigning people to groups and manipulating variables in those groups, we can balance out individual differences in any variable that may be our cause. It is not always possible to do an experiment, however, so there are certain situations in which we will have to be satisfied with our observed relationship and do the best we can to control for known confounds. However, in these situations, even if we do an excellent job of controlling for many extraneous (a statistical and research term for \u201coutside\u201d) variables, we must be careful not to use causal language. That is because, even after controls, sometimes variables are related just by chance.<\/p>\n<p class=\"Text\">Sometimes, variables will end up being related simply due to random chance, and we call these correlations spurious. Spurious just means random, so what we are seeing is random correlations because, given enough time, enough variables, and enough data, sampling error will eventually cause some variables to appear related when they are not. Sometimes, this even results in incredibly strong, but completely nonsensical, correlations. This becomes more and more of a problem as our ability to collect massive datasets and dig through them improves, so it is very important to think critically about any relationship you encounter.<\/p>\n<h3 class=\"H1\">Final Considerations<\/h3>\n<p class=\"Text-1st\">Correlations, although simple to calculate, can be very complex, and there are many additional issues we should consider. We will look at two of the most common issues that affect our correlations and discuss some other correlations and reporting methods you may encounter.<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\"><\/div>\n<\/div>\n<h4 class=\"H2\"><a id=\"_idTextAnchor261\"><\/a>Outliers<\/h4>\n<p class=\"Text-1st\">One issue that can cause the observed size of our correlation to be inappropriately large or small is the presence of outliers. An <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_708\"><a id=\"_idTextAnchor262\"><\/a><\/a><span class=\"key-term\">outlier<\/span> is a data point that falls far away from the rest of the observations in the dataset. Sometimes outliers are the result of incorrect data entry, poor or intentionally misleading responses, or simple random chance. Other times, however, they represent real people with meaningful values on our variables. The distinction between meaningful and accidental outliers is a difficult one that is based on the expert judgment of the researcher. Sometimes, we will remove the outlier (if we think it is an accident) or we may decide to keep it (if we find the scores to still be meaningful even though they are different).<\/p>\n<p class=\"Text\">The scatter plots in <a href=\"#_idTextAnchor263\"><span class=\"Fig-table-number-underscore\">Figure 12.14<\/span><\/a> show the effects that an outlier can have on data. In the first plot, we have our raw dataset. You can see in the upper right corner that there is an outlier observation that is very far from the rest of our observations on both the <span class=\"italic\">X<\/span> and <span class=\"italic\">Y<\/span> variables. In the middle plot, we see the correlation computed when we include the outlier, along with a straight line representing the relationship; here, it is a positive relationship. In the third plot, we see the correlation after removing the outlier, along with a line showing the direction once again. Not only did the correlation get stronger, it completely changed direction!<\/p>\n<div class=\"_idGenObjectLayout-2\">\n<div class=\"Side-legend\">\n<p class=\"Fig-legend\"><span class=\"Fig-table-number\"><a id=\"_idTextAnchor263\"><\/a>Figure 12.14.<\/span> Three scatter plots showing correlations with and without outliers. <span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/94\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Correlations and Outliers<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"_idGenObjectLayout-1\">\n<div id=\"_idContainer600\" class=\"_idGenObjectStyleOverride-1\"><img decoding=\"async\" class=\"_idGenObjectAttribute-19\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Correlations_and_Outliers-2.png\" alt=\"\" \/><\/div>\n<\/div>\n<p class=\"Text\">In general, there are three effects that an outlier can have on a correlation: it can change the magnitude (make it stronger or weaker), it can change the significance (make a non-significant correlation significant or vice versa), and\/or it can change the direction (make a positive relationship negative or vice versa). Outliers are a big issue in small datasets where a single observation can have a strong weight compared with the rest. However, as our sample sizes get very large (into the hundreds), the effects of outliers diminish because they are outweighed by the rest of the data. Nevertheless, no matter how large a dataset you have, it is always a good idea to screen for outliers, both statistically (using analyses that we do not cover here) and visually (using scatter plots).<\/p>\n<h4 class=\"H2\">Other Correlation Coefficients<\/h4>\n<p class=\"Text-1st\">In this chapter we have focused on Pearson\u2019s <span class=\"italic\">r <\/span>as our correlation coefficient because it is very common and useful. There are, however, many other correlations out there, each of which is designed for a different type of data. The most common of these is <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_710\"><a id=\"_idTextAnchor264\"><\/a><\/a><span class=\"key-term\">Spearman\u2019s rho<\/span> (<img decoding=\"async\" class=\"_idGenObjectAttribute-31\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn7.1-rho-3.png\" alt=\"rho\" \/>), which is designed to be used on ordinal data rather than continuous data. This is a useful analysis if we have ranked data or our data do not conform to the normal distribution. There are even more correlations for ordered categories, but they are much less common and beyond the scope of this chapter.<\/p>\n<p class=\"Text\">Additionally, the principles of correlations underlie many other advanced analyses. In <a href=\"https:\/\/pressbooks.palomar.edu\/introtostats\/chapter\/chapter-13\/\"><span class=\"Hyperlink-underscore\">Chapter 13<\/span><\/a>, we will learn about regression, which is a formal way of running and analyzing a correlation that can be extended to more than two variables. Regression is a powerful technique that serves as the basis for even our most advanced statistical models, so what we have learned in this chapter will open the door to an entire world of possibilities in data analysis.<\/p>\n<h4 class=\"H2\">Correlation Matrices<\/h4>\n<p class=\"Text-1st\">Many research studies look at the relationship between more than two continuous variables. In such situations, we could simply list all of our correlations, but that would take up a lot of space and make it difficult to quickly find the relationship we are looking for. Instead, we create <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_397_704\"><a id=\"_idTextAnchor265\"><\/a><\/a><span class=\"key-term\">correlation matrices<\/span> so that we can quickly and simply display our results. A matrix is like a grid that contains our values. There is one row and one column for each of our variables, and the intersections of the rows and columns for different variables contain the correlation for those two variables.<\/p>\n<p class=\"Text\">At the <a href=\"#_idTextAnchor245\"><span class=\"Hyperlink-underscore\">beginning of the chapter<\/span><\/a>, we saw scatter plots presenting data for correlations between job satisfaction, well-being, burnout, and job performance. We can create a correlation matrix to quickly display the numerical values of each. Such a matrix is shown below.<\/p>\n<table id=\"table069\" class=\"Foster-table\">\n<colgroup>\n<col class=\"_idGenTableRowColumn-55\" \/>\n<col class=\"_idGenTableRowColumn-107\" \/>\n<col class=\"_idGenTableRowColumn-108\" \/>\n<col class=\"_idGenTableRowColumn-91\" \/>\n<col class=\"_idGenTableRowColumn-109\" \/> <\/colgroup>\n<thead>\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\n<td class=\"Foster-table Table-col-hd CellOverride-54\"><\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-55\">\n<p class=\"Table-col-hd\">Satisfaction<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-56\">\n<p class=\"Table-col-hd\">Well-being<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-56\">\n<p class=\"Table-col-hd\">Burnout<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-56\">\n<p class=\"Table-col-hd ParaOverride-4\">Performance<\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-57 _idGenCellOverride-1\">\n<p class=\"Table-col-hd\">Satisfaction<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-55 _idGenCellOverride-1\">\n<p class=\"Table-body\">1.00<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-1\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-1\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-1\"><\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-57 _idGenCellOverride-2\">\n<p class=\"Table-col-hd\">Well-being<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-55 _idGenCellOverride-2\">\n<p class=\"Table-body\">0.41<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\">\n<p class=\"Table-body\">1.00<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\"><\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-57 _idGenCellOverride-2\">\n<p class=\"Table-col-hd\">Burnout<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-55 _idGenCellOverride-2\">\n<p class=\"Table-body\">\u22120.54<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\">\n<p class=\"Table-body\">\u22120.87<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\">\n<p class=\"Table-body\">1.00<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-56 _idGenCellOverride-2\"><\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-8\">\n<td class=\"Foster-table Table-body-last Table-body CellOverride-57\">\n<p class=\"Table-col-hd\">Performance<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-55\">\n<p class=\"Table-body\">0.08<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-56\">\n<p class=\"Table-body\">0.21<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-56\">\n<p class=\"Table-body\">\u22120.33<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-56\">\n<p class=\"Table-body ParaOverride-4\">1.00<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"Text\">Notice that there are values of 1.00 where each row and column of the same variable intersect. This is because a variable correlates perfectly with itself, so the value is always exactly 1.00. Also notice that the upper cells are left blank and only the cells below the diagonal of 1.00s are filled in. This is because correlation matrices are symmetrical: they have the same values above the diagonal as below it. Filling in both sides would provide redundant information and make it a bit harder to read the matrix, so we leave the upper triangle blank.<\/p>\n<p class=\"Text\">Correlation matrices are a very condensed way of presenting many results quickly, so they appear in almost all research studies that use continuous variables. Many matrices also include columns that show the variable means and standard deviations, as well as asterisks showing whether or not each correlation is statistically significant.<\/p>\n<h3 class=\"p1\"><b>Conclusion: The Power of Correlation in Social Justice Research<\/b><\/h3>\n<p class=\"p2\">Understanding correlation is essential for uncovering patterns that reveal inequality and systemic bias. In social justice work, correlation helps us identify the relationships between structural factors\u2014like race, gender, income, education, and health outcomes\u2014that shape people\u2019s lives. While correlation does not prove causation, it provides the critical first step toward recognizing disparities and prompting deeper investigation. By measuring and interpreting correlations responsibly, social scientists can expose hidden patterns of privilege and disadvantage, turning data into evidence for advocacy and change. Correlation reminds us that social issues are not random; they are interconnected, measurable, and, ultimately, addressable through informed action.<\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"H1\">Exercises<\/h3>\n<ol>\n<li class=\"Numbered-list-Exercises-1st\">What does a correlation assess?<\/li>\n<li class=\"Numbered-list-Exercises\">What are the three characteristics of a correlation coefficient?<\/li>\n<li class=\"Numbered-list-Exercises\">What is the difference between covariance and correlation?<\/li>\n<li class=\"Numbered-list-Exercises\">Why is it important to visualize correlational data in a scatter plot before performing analyses?\n<ol>\n<li class=\"Numbered-list-Exercises\">What sort of relationship is displayed in the scatter plot below?\n<p class=\"Figure ParaOverride-46\"><img decoding=\"async\" class=\"_idGenObjectAttribute-212\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_in_Exercises-2.png\" alt=\"\" \/><br \/>\n<span class=\"Fig-source\">(\u201c<\/span><a href=\"https:\/\/irl.umsl.edu\/oer-img\/95\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot in Exercises<\/span><\/span><\/a><span class=\"Fig-source\">\u201d by Judy Schmitt is licensed under <\/span><a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\">.)<\/span><\/p>\n<p class=\"Fig-legend-unnumbered ParaOverride-47\">\n<\/li>\n<\/ol>\n<\/li>\n<li class=\"Numbered-list-Exercises\">What is the direction and magnitude of the following correlation coefficients?\n<ol>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">\u2212.81<\/li>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">.40<\/li>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">.15<\/li>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">\u2212.08<\/li>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">.29<\/li>\n<\/ol>\n<\/li>\n<li class=\"Numbered-list-Exercises\">Create a scatter plot from the following data:<br \/>\n<table id=\"table070\" class=\"Foster-table _idGenTablePara-2\">\n<colgroup>\n<col class=\"_idGenTableRowColumn-53\" \/>\n<col class=\"_idGenTableRowColumn-110\" \/><\/colgroup>\n<thead>\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\n<td class=\"Foster-table Table-col-hd CellOverride-8\">\n<p class=\"Table-col-hd ParaOverride-4\">Hours Studying<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd\">\n<p class=\"Table-col-hd ParaOverride-4\">Overall Class Performance<\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-1\">\n<p class=\"Table-body ParaOverride-4\">0.62<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-1\">\n<p class=\"Table-body ParaOverride-4\">2.02<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.50<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">4.62<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">0.34<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">2.60<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">0.97<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.59<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">3.54<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">4.67<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">0.69<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">2.52<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.53<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">2.28<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">0.32<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.68<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.94<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">2.50<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.25<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">4.04<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.42<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">2.63<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">3.07<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">3.53<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">3.99<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">3.90<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">1.73<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-4\">2.75<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-11\">\n<td class=\"Foster-table Table-body-last Table-body CellOverride-8\">\n<p class=\"Table-body ParaOverride-4\">1.29<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body\">\n<p class=\"Table-body ParaOverride-4\">2.95<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li class=\"Numbered-list-Exercises\">In the following correlation matrix, what is the relationship (number, direction, and magnitude) between\n<ol>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">Pay and Satisfaction<\/li>\n<li class=\"Numbered-list-Exercises-sub _idGenParaOverride-1\">Stress and Health<br \/>\n<table id=\"table071\" class=\"Foster-table _idGenTablePara-3\">\n<colgroup>\n<col class=\"_idGenTableRowColumn-106\" \/>\n<col class=\"_idGenTableRowColumn-1\" \/>\n<col class=\"_idGenTableRowColumn-34\" \/>\n<col class=\"_idGenTableRowColumn-111\" \/>\n<col class=\"_idGenTableRowColumn-76\" \/><\/colgroup>\n<thead>\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\n<td class=\"Foster-table Table-col-hd CellOverride-54\">\n<p class=\"Table-col-hd\"><span class=\"CharOverride-23\">Workplace<\/span><\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-58\">\n<p class=\"Table-col-hd ParaOverride-4\">Pay<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-1\">\n<p class=\"Table-col-hd ParaOverride-4\">Satisfaction<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-1\">\n<p class=\"Table-col-hd ParaOverride-4\">Stress<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd CellOverride-1\">\n<p class=\"Table-col-hd ParaOverride-4\">Health<\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-45 _idGenCellOverride-1\">\n<p class=\"Table-col-hd\">Pay<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-58 _idGenCellOverride-1\">\n<p class=\"Table-body ParaOverride-5\">1.00<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-1\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-1\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-1\"><\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-45 _idGenCellOverride-2\">\n<p class=\"Table-col-hd\">Satisfaction<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-58 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-5\">.68<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\">\n<p class=\"Table-body\">1.00<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\"><\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\"><\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-45 _idGenCellOverride-2\">\n<p class=\"Table-col-hd\">Stress<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-58 _idGenCellOverride-2\">\n<p class=\"Table-body ParaOverride-5\">.02<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\">\n<p class=\"Table-body\">\u2212.23<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\">\n<p class=\"Table-body\">1.00<\/p>\n<\/td>\n<td class=\"Foster-table Table-body CellOverride-59 _idGenCellOverride-2\"><\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-8\">\n<td class=\"Foster-table Table-body-last Table-body CellOverride-45\">\n<p class=\"Table-col-hd\">Health<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-58\">\n<p class=\"Table-body ParaOverride-5\">.05<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-59\">\n<p class=\"Table-body\">.15<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-59\">\n<p class=\"Table-body\">\u2212.48<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body CellOverride-59\">\n<p class=\"Table-body ParaOverride-4\">1.00<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<\/li>\n<li class=\"Numbered-list-Exercises\">Using the data from Problem 7, test for a statistically significant relationship between the variables.<\/li>\n<li class=\"Numbered-list-Exercises\">Researchers investigated mother-infant vocalizations in several cultures to determine the extent to which such vocal interactions are true for all humans or culture-specific. They thought that mothers who talked more would have babies who vocalized (babbled) more. They observed mothers and infants for 50 minutes and recorded the number of times the mother spoke and the baby vocalized during the observation session. Data below are for 10 mother-infant pairs in Cameroon. Test the hypothesis at the <span class=\"Symbol\">a<\/span> = .05 level using the four-step hypothesis testing procedure.<br \/>\n<table id=\"table072\" class=\"Foster-table _idGenTablePara-2\">\n<colgroup>\n<col class=\"_idGenTableRowColumn-112\" \/>\n<col class=\"_idGenTableRowColumn-113\" \/><\/colgroup>\n<thead>\n<tr class=\"Foster-table _idGenTableRowColumn-5\">\n<td class=\"Foster-table Table-col-hd CellOverride-8\">\n<p class=\"Table-col-hd ParaOverride-4\">Mother Spoke<\/p>\n<\/td>\n<td class=\"Foster-table Table-col-hd\">\n<p class=\"Table-col-hd ParaOverride-4\">Baby Vocalized<\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-1\">\n<p class=\"Table-body\">80<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-1\">\n<p class=\"Table-body\">110<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">60<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">110<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">120<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">100<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">100<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">130<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">100<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">140<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">90<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">115<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">80<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">150<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-7\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">40<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">130<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-6\">\n<td class=\"Foster-table Table-body CellOverride-8 _idGenCellOverride-2\">\n<p class=\"Table-body\">80<\/p>\n<\/td>\n<td class=\"Foster-table Table-body _idGenCellOverride-2\">\n<p class=\"Table-body\">95<\/p>\n<\/td>\n<\/tr>\n<tr class=\"Foster-table _idGenTableRowColumn-8\">\n<td class=\"Foster-table Table-body-last Table-body CellOverride-8\">\n<p class=\"Table-body\">50<\/p>\n<\/td>\n<td class=\"Foster-table Table-body-last Table-body\">\n<p class=\"Table-body\">50<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<h3 class=\"H1\">Answers to Odd-Numbered Exercises<\/h3>\n<\/header>\n<div class=\"textbox__content\">\n<h3 class=\"H1\">1)<\/h3>\n<h3 class=\"H1\">Correlations assess the linear relationship between two continuous variables.<\/h3>\n<p>3)<br \/>\n<span style=\"font-size: 0.8em;font-weight: lighter\">Covariance is an unstandardized measure of how related two continuous variables are. Correlations are standardized versions of covariance that fall between \u22121.00 and 1.00.<\/span><\/p>\n<p>5)<\/p>\n<p><span style=\"font-size: 0.8em;font-weight: lighter\">Strong, positive, linear relationship<\/span><\/p>\n<p>7)<\/p>\n<p><span style=\"font-size: 0.8em;font-weight: lighter\">Your scatter plot should look similar to this:<\/span><\/p>\n<p class=\"Figure ParaOverride-46\"><img decoding=\"async\" class=\"_idGenObjectAttribute-213\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Scatter_Plot_Studying_and_Performance-2.png\" alt=\"\" \/><\/p>\n<\/div>\n<p>9)<br \/>\n<span class=\"Fig-source\" style=\"text-align: initial;font-size: 0.8em\">(\u201c<\/span><a style=\"text-align: initial;font-size: 0.8em\" href=\"https:\/\/irl.umsl.edu\/oer-img\/96\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">Scatter Plot Studying and Performance<\/span><\/span><\/a><span class=\"Fig-source\" style=\"text-align: initial;font-size: 0.8em\">\u201d by Judy Schmitt is licensed under <\/span><a style=\"text-align: initial;font-size: 0.8em\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><span class=\"Fig-source\"><span class=\"Hyperlink-underscore\">CC BY-NC-SA 4.0<\/span><\/span><\/a><span class=\"Fig-source\" style=\"text-align: initial;font-size: 0.8em\">.)<\/span><\/p>\n<div class=\"textbox__content\">\n<p><span class=\"italic\">Step 1:<\/span> <span class=\"italic\">H<\/span><span class=\"subscript _idGenCharOverride-1\">0<\/span>: <span class=\"Symbol\">r<\/span> = 0 \u201cThere is no relationship between time spent studying and overall performance in class,\u201d <span class=\"italic\">H<\/span><span class=\"subscript _idGenCharOverride-1\">A<\/span>: <span class=\"Symbol\">r<\/span> &gt; 0 \u201cThere is a positive relationship between time spent studying and overall performance in class.\u201d<br \/>\n<span class=\"italic\">Step 2:<\/span> <span class=\"italic\">d<\/span><span class=\"italic\">f<\/span> = 15 \u2212 2 = 13, <span class=\"Symbol\">a<\/span> = .05, one-tailed test, <span class=\"italic\">r<\/span>* = .441<br \/>\n<span class=\"italic\">Step 3:<\/span> Using the sum of products table, you should find: <img decoding=\"async\" class=\"_idGenObjectAttribute-137\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn12.13x-2.png\" alt=\"\" \/> = 1.61, <span class=\"italic\">SS<\/span><span class=\"subscript-italic CharOverride-17\">X<\/span> = 17.44, <img decoding=\"async\" class=\"_idGenObjectAttribute-206\" src=\"https:\/\/pressbooks.palomar.edu\/wp-content\/uploads\/sites\/8\/2024\/10\/Eqn12.13y-2.png\" alt=\"\" \/> = 2.95, <span class=\"italic\">SS<\/span><span class=\"subscript-italic _idGenCharOverride-1\">Y<\/span>\u00a0=\u00a013.60, <span class=\"italic\">SP<\/span> = 10.06, <span class=\"italic\">r <\/span>= .65<br \/>\n<span class=\"italic\">Step 4:<\/span> Obtained statistic is greater than critical value, reject <span class=\"italic\">H<\/span><span class=\"subscript CharOverride-17\">0<\/span>. There is a statistically significant, strong, positive relationship between time spent studying and performance in class, <span class=\"italic\">r<\/span>(13) = .65, <span class=\"italic\">p<\/span>\u00a0&lt;\u00a0.05.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"glossary\"><span class=\"screen-reader-text\" id=\"definition\">definition<\/span><template id=\"term_397_705\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_705\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_397_707\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_707\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_397_706\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_706\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_397_703\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_703\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_397_708\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_708\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_397_710\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_710\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_397_704\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_397_704\"><div tabindex=\"-1\"><\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><\/div>","protected":false},"author":7,"menu_order":6,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-397","chapter","type-chapter","status-publish","hentry"],"part":335,"_links":{"self":[{"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/chapters\/397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/wp\/v2\/users\/7"}],"version-history":[{"count":9,"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/chapters\/397\/revisions"}],"predecessor-version":[{"id":850,"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/chapters\/397\/revisions\/850"}],"part":[{"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/parts\/335"}],"metadata":[{"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/chapters\/397\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/wp\/v2\/media?parent=397"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/pressbooks\/v2\/chapter-type?post=397"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/wp\/v2\/contributor?post=397"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.palomar.edu\/introtostats\/wp-json\/wp\/v2\/license?post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}