{"id":940,"date":"2019-03-20T16:58:31","date_gmt":"2019-03-20T20:58:31","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/simplestats\/?post_type=chapter&#038;p=940"},"modified":"2019-11-02T19:55:49","modified_gmt":"2019-11-02T23:55:49","slug":"7-2-1-between-a-discrete-and-a-continuous-variable","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/7-2-1-between-a-discrete-and-a-continuous-variable\/","title":{"raw":"7.2.1 Between A Discrete and A Continuous Variable","rendered":"7.2.1 Between A Discrete and A Continuous Variable"},"content":{"raw":"[latexpage]\r\n\r\n<strong>We can \"get a sense\" if a discrete and a continuous variable <em>seem<\/em> associated visually through a chart called a\u00a0<em>boxplot<\/em><\/strong>\u00a0(discussed further below) <strong>and numerically through examining the <em>difference of means<\/em><\/strong> (or medians, if one so prefers).\r\n\r\n&nbsp;\r\n\r\nWhat type of an association do we get when we consider a discrete and a continuous variable? The easiest way to represent this type of association is when we consider a binary (two-category) discrete variable and check if a continuous variable's statistics (like the mean, or the median) vary between the discrete variable's categories. This sounds far more complicated than it is. A couple of examples will show you that you have probably considered questions about \"comparisons of means\" even in your everyday life. The first one will explain it conceptually, the second\u00a0 with actual data.\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\"><em>Example 7.1<\/em>\u00a0<em>Sex Differences in Upper Body Strength, American College Students<\/em><\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\n&nbsp;\r\n\r\nResearch has shown that, despite similar lower body strength, women have less upper body strength than men, on average.\u00a0 [LIST CITATIONS FROM HERE https:\/\/health.howstuffworks.com\/wellness\/diet-fitness\/personal-training\/men-vs-women-upper-body-strength.htm AND THE FOLLOWING] One such study examined differences in upper body strength in a sample of Caucasian and East-Asian college students engaged in weight-lifting classes in American colleges (Chen, Liu and Yu, 2012)\u00a0 [https:\/\/content.sciendo.com\/view\/journals\/ssr\/21\/3-4\/article-p153.xml, pdf here\u00a0https:\/\/www.degruyter.com\/downloadpdf\/j\/ssr.2012.xxi.issue-3-4\/v10237-012-0015-5\/v10237-012-0015-5.pdf].\r\n\r\n&nbsp;\r\n\r\nWhile the study examined numerous aspects of the difference in strength, I will take only one of the researchers' findings to illustrate my point: triceps strength in arm extension. The reported means were 46.2 pounds for women versus 87.4 pounds for men in the Caucasian sample, and 39.6 pounds for women versus 82.1 pounds for men in the East-Asian sample (Chen, Liu and Yu, 2012, p.156).\r\n\r\n&nbsp;\r\n\r\nConsider what we are discussing here: We have two variables of interest[footnote]You could argue that <em>race\/ethnicity<\/em> is also there. As reported in the study, however, <em>race\/ethnicity<\/em> was a secondary variable bringing more detail to the study, through which the authors were able to demonstrate that upper-body strength differences based on sex exist in both race\/ethnic groups considered.[\/footnote], <em>gender<\/em> and <em>upper-body strength<\/em>. <em>Gender<\/em> is a nominal discrete (and, in this study, binary) variable while <em>upper-body strength<\/em>\u00a0(through various measurements in pounds) is a ratio continuous variable. The hypothesized association between the two posits that some categories of the discrete variable (e.g., men) tend to go with specific values of the continuous variable (e.g., higher values on upper body-strength). That is, if both men and women had the same means for, in this case, triceps strength in arm extension, <em>gender<\/em> and <em>upper-body strength<\/em> would be unrelated, as one's sex wouldn't be predictive of one's upper-body strength at all.\r\n\r\n&nbsp;\r\n\r\nIn effect, we are comparing the mean values (of a continuous variable) across groups (i.e., the categories of a discrete variable). Now, as far as a numerical description of that comparison goes, we have the two means (of men and of women) and we can thus calculate the difference of means:\r\n\r\n&nbsp;\r\n\r\n$\\overline{x}_{men}$ $-\\overline{x}_{women}$ $=87.4-46.2=41.2$ (Caucasian sub-sample)\r\n\r\n&nbsp;\r\n\r\n$\\overline{x}_{men}$ $-\\overline{x}_{women}$ $=82.1-39.6=42.5$ (East-Asian sub-sample)\r\n\r\n&nbsp;\r\n\r\nThus, what we observe\u00a0<em>in this sample<\/em> is a 41.2 pounds difference in the upper-body strength (as measured by triceps strength in arm extension) between Caucasian men and women and a difference in upper-body strength of 42.5 pounds between East-Asian men and women. Again, note that <strong>the fact that we see these differences in the sample does not mean they exist in the population -- they may, or they might not<\/strong>. <strong>We wouldn't know this unless we test if the differences are generalizable to the population<\/strong>[footnote]If you are interested, the authors of the study did test these differences (with a <em>t<\/em>-test, discussed later) and found them generalizable to the population indeed (Chen, Liu and Yo, 2012).[\/footnote]<strong>.<\/strong> We will get to testing later, for now we are only interested in the differences <em>descriptively<\/em>, i.e., that they exist <em>in the sample<\/em>.\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nExample 7.1 above shows that every time we compare averages of two (or indeed, more than two) groups and calculate the differences in the means, we are effectively describing associations between variables. I could have easily presented other examples like gender or race\/ethnic differences in annual income, years of education, occupational prestige, test scores[footnote]For an example of a brief study on the association between <em>race\/ethnicity<\/em>\u00a0(a five-category discrete variable) and <em>SAT scores<\/em> of Harvard University applicants, see here: <a href=\"https:\/\/www.thecrimson.com\/article\/2018\/10\/22\/asian-american-admit-sat-scores\/\">https:\/\/www.thecrimson.com\/article\/2018\/10\/22\/asian-american-admit-sat-scores\/<\/a>.[\/footnote], etc., etc. The reason I chose an example about a sex-based rather than gender-based difference (that is, a kinesiological rather than a sociological study) was so that I can warn you in passing about a common mistake, called the <em>ecological fallacy<\/em>.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\"><em><strong><span style=\"color: #ff0000\">Watch Out!!<\/span><\/strong>\u00a0<span style=\"color: #ff0000\"><strong> #12<\/strong><\/span> . . . for The Ecological Fallacy<\/em><\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\n&nbsp;\r\n\r\nConsider the findings from the study in Example 7.1 above: men's average upper-body strength is higher than women's. Assuming we can generalize the findings to the general population[footnote]As mentioned above, many studies support this as a real, physiological sex difference; the reason I chose this example instead of more controversial\/debated issues like gender differences in IQ, or the gender pay gap, etc.[\/footnote], the evidence suggests than when it comes to upper-body strength men are stronger than women <em>on average<\/em>. Many people take this to mean that a randomly selected man would be <em>always<\/em> stronger than a randomly selected woman . . .\u00a0 which does not follow at all from the difference in mean strength.\r\n\r\n&nbsp;\r\n\r\nStatistically speaking, it is a matter of the dispersion around the means of the two groups, and of how big the difference in means is. It is quite possible for a lot of women to have more upper-body strength than the men's average, as well as that a lot of men to have less upper-body strength than the women's average.\r\n\r\n&nbsp;\r\n\r\nUltimately, the takeaway from this caveat is to not over-interpret differences in averages to mean more than what they actually are: differences in <em>averaged<\/em> values, not of the specific values of\u00a0<em>individuals\u00a0<\/em>belonging to the different groups that are compared. (You can find an excellent account of how common this ecological-fallacy mistake is here:\u00a0<a href=\"https:\/\/www.americanscientist.org\/article\/what-everyone-should-know-about-statistical-correlation\">https:\/\/www.americanscientist.org\/article\/what-everyone-should-know-about-statistical-correlation<\/a>.)\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nWith that warning out of the way, let's take another (this time, sociologically motivated) example for examining differences of means, along with a proper visual description -- boxplots.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\"><em>Example 7.2\u00a0Gender Differences in Total Income, NHS 2011<\/em><\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\n&nbsp;\r\n\r\nStatistics Canada's <em>National Household Survey 2011<\/em> (NHS 2011) was designed to replace the until-that-time mandatory long form of the Census[footnote]For the problematic nature of the (Harper) Government's decision in 2010 to make the survey voluntary and its related implications, see for example here: <a href=\"https:\/\/ocul.on.ca\/node\/3400\">https:\/\/ocul.on.ca\/node\/3400<\/a>. The mandatory long-form census was restored in 2016 by the Liberal Government. My usage of the data here is strictly for demonstration purposes and as such shouldn't be taken as an endorsement of the NHS 2011.[\/footnote]. For this example, I use a random sample of about 3 percent of the <em>NHS 2011<\/em> individual data (aka a <em>Public Use Microdata File<\/em>, or PUMF), resulting in\u00a0<em>N<\/em>=22,123. I am interested in whether men and women's income for the year preceding the survey differed, i.e., whether the variables <em>gender<\/em>\u00a0(called <em>sex<\/em> in the dataset) and <em>total income<\/em> (i.e., income from all possible sources) appear associated.\r\n\r\n&nbsp;\r\n\r\nWith the help of SPSS, I plot the data. The resulting boxplots graph is given in Figure 7.1 below.\r\n\r\n&nbsp;\r\n\r\n<em>Figure 7.1\u00a0Gender Differences in Total Income, NHS 2011<\/em>\r\n\r\n<img src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots.jpg\" alt=\"\" width=\"580\" height=\"538\" class=\"wp-image-954 aligncenter\" \/>\r\n\r\n&nbsp;\r\n\r\nBoxplots are charts visually incorporating a lot of statistical information in one neat little package; I encourage you to make use of them when exploring your data as they can be quite useful. What do we see in Figure 7.1 in our case? Obviously, we have two groups to compare (as per the two categories in the nominal variable gender), <em>women<\/em> and<em> men<\/em>, and therefore the graph presents two boxplots. (Had we multiple categories in our discrete variable, we'd have had multiple boxplots.)\r\n\r\n&nbsp;\r\n\r\n<strong>How to read a boxplot.<\/strong> Each boxplot consists of the eponymous \"box\" and two so-called \"whiskers\" protruding from it. The \"box\" (in green above) represents the middle 50 percent of the data (i.e., the two middle quartiles, or the IQR); the lower \"whisker\" represents the first\/bottom quartile of the data, and the upper \"whisker\" represents the last\/top quartile of the data. The dark line bisecting the box indicates the median. The two ends of the \"whiskers\" are the lowest and the highest values. Note, however, that the quartiles (as represented by the \"whiskers\") exclude outliers as to not\u00a0<span style=\"font-size: 1rem\">visually\u00a0<\/span><span style=\"text-indent: 1em;font-size: 1rem\">distort\u00a0 the \"regular\" spread of the data. As such, the chart plots run-of-the-mill outlier cases as small circles (above they are in red) outside of the \"whiskers\"; extreme outliers are indicated by stars (in black above)[footnote]Also note that to make the boxplot readable in an appropriate size, in Figure 7.1 I cut some <em>extremely<\/em> extreme outliers off at the top of the men's boxplot.[\/footnote].<\/span>\r\n\r\n&nbsp;\r\n\r\nNow that you know how to read them, compare the two boxplots above. First, we see that the median\u00a0 for men is higher than the median for women\u00a0<span style=\"font-size: 1rem\">(again, these are the dark lines within the boxes)<\/span><span style=\"text-indent: 1em;font-size: 1rem\">; as well, total income appears to be more spread out for men than for women (the \"whiskers\" in the men's boxplot reach further, indicating larger range and IQR. Further, while both men and women appear to have outliers, the men's group seems to include more extreme outliers and at higher values than those observed in the women's group[footnote]You might have noticed that the first quartile (i.e., the bottom \"whisker\") includes negative values. Statstics Canada uses several income variables for which this is the case. Negative income exists as an accounting possibility: when one's annual expenses end up larger than one's annual income (e.g., like for a self-employed individual whose business hasn't been as successful, etc.). In many real-life research, negative income values are frequently dropped\/removed if that course of action is justified by the study's design, research question, and purposes. In the case of this example I have no reason to do that, hence I left the negative income values in the data.[\/footnote].<\/span>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-indent: 1em;font-size: 1rem\">All this points to the conclusion that men in the sample had higher (median, and quite likely average) total income for 2010 than women did, despite that the individuals with the lowest incomes also appear to be men.<\/span>\r\n\r\n&nbsp;\r\n\r\nAs useful the general information we gleaned from the boxplots, we should look at the precise numbers too. SPSS calculates the mean total income as \\$32,465 for women and \\$48,866 for men -- that is, there is \\$16,401 difference in mean total income in favour of men. In this sample of 22,123 people, men's average total income is \\$16,401 more than women's.\r\n\r\n&nbsp;\r\n\r\nWe could also compare the medians (especially useful when dealing with income variables): SPSS gives the median total income of women in the sample as \\$23,000, while the median total income for men is \\$35,000 -- a difference of medians of \\$12,000, again in favour of men.\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nTo summarize,<strong> you can explore a potential association between a discrete and a continuo<\/strong><strong>us variables of interest in two ways: 1) visually -- by plotting and comparing boxplots, and 2) numerically, by inspecting the means (or medians) for the groups (i.e., the categories in the discrete variable being compared) and reporting their difference.\u00a0<\/strong>\r\n\r\n&nbsp;\r\n\r\nKeep in mind that we are not estimating anything at this point and are not claiming anything about the population: we are simply describing data based on a specific, actual sample.\r\n\r\n&nbsp;\r\n\r\nFigure 7.2 below shows a quick reference for interpreting boxplots.\r\n\r\n&nbsp;\r\n\r\n<em>Figure 7.2<\/em>\u00a0<em>How to Interpret a Boxplot<\/em>\r\n\r\n<img src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA.jpg\" alt=\"\" width=\"437\" height=\"457\" class=\"wp-image-966 size-full aligncenter\" \/>\r\n\r\n[Source: https:\/\/commons.wikimedia.org\/wiki\/File:Box_plot_description.jpg]\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\"><em>SPSS Tip 7.1\u00a0Bivariate Descriptions of Discrete and Continuous Variables: Boxplots and Comparisons of Means<\/em><\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nThis is <strong>how you can get boxplots<\/strong> like the ones in Figure 7.1 above:\r\n<ul>\r\n \t<li>From the <em>Main Menu<\/em>, select <em>Graphs<\/em>, then from the pull-down menu <em>Legacy Dialogues<\/em>, and finally <em>Boxplot<\/em>;<\/li>\r\n \t<li>In the resulting <em>Boxplot<\/em> window select <em>Simple<\/em> and, keeping <em>Summaries of groups of cases<\/em> checked, click <em>Define<\/em>;<\/li>\r\n \t<li>Select your continuous variable of interest from the list on the left and, using the appropriate arrow, move it into the <em>Variable<\/em>\u00a0empty space on the right (at the top);<\/li>\r\n \t<li>Select your discrete variable of interest from the list on the left and, using the appropriate arrow, move it into the <em>Category Axis<\/em>\u00a0empty space on the right (below the <em>Variable<\/em>), then click <em>OK<\/em>;<\/li>\r\n \t<li>Your boxplots will appear in the <em>Output<\/em> window. (Note that the graph will appear in its default SPSS colours and specifications. Double-clicking the chart will make a <em>Chart Editor<\/em>\u00a0window appear. In the <em>Chart Editor<\/em> you can change, edit, and modify the appearance of your boxplots to your heart's content.)<\/li>\r\n<\/ul>\r\nThis is <strong>how you can get means, medians (or any descriptive statistic really) for different groups<\/strong>:\r\n<ul>\r\n \t<li>From the <em>Main Menu<\/em>, select <em>Data<\/em> and then from the pull-down menu, select <em>Split File<\/em>;<\/li>\r\n \t<li>In the new window, select <em>Compare groups<\/em>, then find your discrete variable of interest from the left-hand side, and using the arrow, move it into the <em>Groups Based on<\/em> empty space; click <em>OK<\/em>.<\/li>\r\n \t<li>You would have just placed a filter on your data. From this point on (until you switch the filter off), everything you do in SPSS will be done for each separate group (this is indicated by a message \"SORT CASES BY [your discrete variable name]. SPLIT FILE LAYERED BY [your discrete variable name].\" appearing in the <em>Output<\/em> window.<\/li>\r\n \t<li>Then, from the <em>Main Menu<\/em>, select <em>Analyze<\/em>, and then <em>Frequencies<\/em>, etc. to request any descriptive statistics you may like, e.g., the mean, the median, the standard deviation, etc. as discussed in the SPSS Tips in Chapter 3.<\/li>\r\n \t<li>Your output in the <em>Output<\/em> window will list the requested descriptives by the different groups (categories of the discrete variable).<\/li>\r\n \t<li>Once you are done with the comparisons, do not forget to switch the filter off (or your data file will remain split by groups): go again to <em>Data<\/em> in the <em>Main Menu<\/em>, select <em>Split File<\/em> and click <em>Analyze all cases, do not create groups<\/em> on the right-hand side; click OK.<\/li>\r\n \t<li>Your <em>Output<\/em> window will give a message of \"SPLIT FILE OFF.\" to indicate that the data is no longer split by group and it's in its original condition.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nNow let's see how to \"spot\" and describe potential associations between two discrete variables.","rendered":"<p><strong>We can &#8220;get a sense&#8221; if a discrete and a continuous variable <em>seem<\/em> associated visually through a chart called a\u00a0<em>boxplot<\/em><\/strong>\u00a0(discussed further below) <strong>and numerically through examining the <em>difference of means<\/em><\/strong> (or medians, if one so prefers).<\/p>\n<p>&nbsp;<\/p>\n<p>What type of an association do we get when we consider a discrete and a continuous variable? The easiest way to represent this type of association is when we consider a binary (two-category) discrete variable and check if a continuous variable&#8217;s statistics (like the mean, or the median) vary between the discrete variable&#8217;s categories. This sounds far more complicated than it is. A couple of examples will show you that you have probably considered questions about &#8220;comparisons of means&#8221; even in your everyday life. The first one will explain it conceptually, the second\u00a0 with actual data.<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\"><em>Example 7.1<\/em>\u00a0<em>Sex Differences in Upper Body Strength, American College Students<\/em><\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>&nbsp;<\/p>\n<p>Research has shown that, despite similar lower body strength, women have less upper body strength than men, on average.\u00a0 [LIST CITATIONS FROM HERE https:\/\/health.howstuffworks.com\/wellness\/diet-fitness\/personal-training\/men-vs-women-upper-body-strength.htm AND THE FOLLOWING] One such study examined differences in upper body strength in a sample of Caucasian and East-Asian college students engaged in weight-lifting classes in American colleges (Chen, Liu and Yu, 2012)\u00a0 [https:\/\/content.sciendo.com\/view\/journals\/ssr\/21\/3-4\/article-p153.xml, pdf here\u00a0https:\/\/www.degruyter.com\/downloadpdf\/j\/ssr.2012.xxi.issue-3-4\/v10237-012-0015-5\/v10237-012-0015-5.pdf].<\/p>\n<p>&nbsp;<\/p>\n<p>While the study examined numerous aspects of the difference in strength, I will take only one of the researchers&#8217; findings to illustrate my point: triceps strength in arm extension. The reported means were 46.2 pounds for women versus 87.4 pounds for men in the Caucasian sample, and 39.6 pounds for women versus 82.1 pounds for men in the East-Asian sample (Chen, Liu and Yu, 2012, p.156).<\/p>\n<p>&nbsp;<\/p>\n<p>Consider what we are discussing here: We have two variables of interest<a class=\"footnote\" title=\"You could argue that race\/ethnicity is also there. As reported in the study, however, race\/ethnicity was a secondary variable bringing more detail to the study, through which the authors were able to demonstrate that upper-body strength differences based on sex exist in both race\/ethnic groups considered.\" id=\"return-footnote-940-1\" href=\"#footnote-940-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a>, <em>gender<\/em> and <em>upper-body strength<\/em>. <em>Gender<\/em> is a nominal discrete (and, in this study, binary) variable while <em>upper-body strength<\/em>\u00a0(through various measurements in pounds) is a ratio continuous variable. The hypothesized association between the two posits that some categories of the discrete variable (e.g., men) tend to go with specific values of the continuous variable (e.g., higher values on upper body-strength). That is, if both men and women had the same means for, in this case, triceps strength in arm extension, <em>gender<\/em> and <em>upper-body strength<\/em> would be unrelated, as one&#8217;s sex wouldn&#8217;t be predictive of one&#8217;s upper-body strength at all.<\/p>\n<p>&nbsp;<\/p>\n<p>In effect, we are comparing the mean values (of a continuous variable) across groups (i.e., the categories of a discrete variable). Now, as far as a numerical description of that comparison goes, we have the two means (of men and of women) and we can thus calculate the difference of means:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-e254bc1fd3c4f090b47e9d883afa5bc8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#120;&#125;&#95;&#123;&#109;&#101;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"36\" style=\"vertical-align: -3px;\" \/> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-4c70e732c03f898d9690809dc5af8000_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#120;&#125;&#95;&#123;&#119;&#111;&#109;&#101;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"66\" style=\"vertical-align: -3px;\" \/> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-656ce6bfecc5367ea1d1bd8dd144f2a9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#61;&#56;&#55;&#46;&#52;&#45;&#52;&#54;&#46;&#50;&#61;&#52;&#49;&#46;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"158\" style=\"vertical-align: -1px;\" \/> (Caucasian sub-sample)<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-e254bc1fd3c4f090b47e9d883afa5bc8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#120;&#125;&#95;&#123;&#109;&#101;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"36\" style=\"vertical-align: -3px;\" \/> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-4c70e732c03f898d9690809dc5af8000_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#120;&#125;&#95;&#123;&#119;&#111;&#109;&#101;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"66\" style=\"vertical-align: -3px;\" \/> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-fe691bf65323bc7ca06f1b14b67d072d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#61;&#56;&#50;&#46;&#49;&#45;&#51;&#57;&#46;&#54;&#61;&#52;&#50;&#46;&#53;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"158\" style=\"vertical-align: -1px;\" \/> (East-Asian sub-sample)<\/p>\n<p>&nbsp;<\/p>\n<p>Thus, what we observe\u00a0<em>in this sample<\/em> is a 41.2 pounds difference in the upper-body strength (as measured by triceps strength in arm extension) between Caucasian men and women and a difference in upper-body strength of 42.5 pounds between East-Asian men and women. Again, note that <strong>the fact that we see these differences in the sample does not mean they exist in the population &#8212; they may, or they might not<\/strong>. <strong>We wouldn&#8217;t know this unless we test if the differences are generalizable to the population<\/strong><a class=\"footnote\" title=\"If you are interested, the authors of the study did test these differences (with a t-test, discussed later) and found them generalizable to the population indeed (Chen, Liu and Yo, 2012).\" id=\"return-footnote-940-2\" href=\"#footnote-940-2\" aria-label=\"Footnote 2\"><sup class=\"footnote\">[2]<\/sup><\/a><strong>.<\/strong> We will get to testing later, for now we are only interested in the differences <em>descriptively<\/em>, i.e., that they exist <em>in the sample<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Example 7.1 above shows that every time we compare averages of two (or indeed, more than two) groups and calculate the differences in the means, we are effectively describing associations between variables. I could have easily presented other examples like gender or race\/ethnic differences in annual income, years of education, occupational prestige, test scores<a class=\"footnote\" title=\"For an example of a brief study on the association between race\/ethnicity\u00a0(a five-category discrete variable) and SAT scores of Harvard University applicants, see here: https:\/\/www.thecrimson.com\/article\/2018\/10\/22\/asian-american-admit-sat-scores\/.\" id=\"return-footnote-940-3\" href=\"#footnote-940-3\" aria-label=\"Footnote 3\"><sup class=\"footnote\">[3]<\/sup><\/a>, etc., etc. The reason I chose an example about a sex-based rather than gender-based difference (that is, a kinesiological rather than a sociological study) was so that I can warn you in passing about a common mistake, called the <em>ecological fallacy<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\"><em><strong><span style=\"color: #ff0000\">Watch Out!!<\/span><\/strong>\u00a0<span style=\"color: #ff0000\"><strong> #12<\/strong><\/span> . . . for The Ecological Fallacy<\/em><\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>&nbsp;<\/p>\n<p>Consider the findings from the study in Example 7.1 above: men&#8217;s average upper-body strength is higher than women&#8217;s. Assuming we can generalize the findings to the general population<a class=\"footnote\" title=\"As mentioned above, many studies support this as a real, physiological sex difference; the reason I chose this example instead of more controversial\/debated issues like gender differences in IQ, or the gender pay gap, etc.\" id=\"return-footnote-940-4\" href=\"#footnote-940-4\" aria-label=\"Footnote 4\"><sup class=\"footnote\">[4]<\/sup><\/a>, the evidence suggests than when it comes to upper-body strength men are stronger than women <em>on average<\/em>. Many people take this to mean that a randomly selected man would be <em>always<\/em> stronger than a randomly selected woman . . .\u00a0 which does not follow at all from the difference in mean strength.<\/p>\n<p>&nbsp;<\/p>\n<p>Statistically speaking, it is a matter of the dispersion around the means of the two groups, and of how big the difference in means is. It is quite possible for a lot of women to have more upper-body strength than the men&#8217;s average, as well as that a lot of men to have less upper-body strength than the women&#8217;s average.<\/p>\n<p>&nbsp;<\/p>\n<p>Ultimately, the takeaway from this caveat is to not over-interpret differences in averages to mean more than what they actually are: differences in <em>averaged<\/em> values, not of the specific values of\u00a0<em>individuals\u00a0<\/em>belonging to the different groups that are compared. (You can find an excellent account of how common this ecological-fallacy mistake is here:\u00a0<a href=\"https:\/\/www.americanscientist.org\/article\/what-everyone-should-know-about-statistical-correlation\">https:\/\/www.americanscientist.org\/article\/what-everyone-should-know-about-statistical-correlation<\/a>.)<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>With that warning out of the way, let&#8217;s take another (this time, sociologically motivated) example for examining differences of means, along with a proper visual description &#8212; boxplots.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\"><em>Example 7.2\u00a0Gender Differences in Total Income, NHS 2011<\/em><\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>&nbsp;<\/p>\n<p>Statistics Canada&#8217;s <em>National Household Survey 2011<\/em> (NHS 2011) was designed to replace the until-that-time mandatory long form of the Census<a class=\"footnote\" title=\"For the problematic nature of the (Harper) Government's decision in 2010 to make the survey voluntary and its related implications, see for example here: https:\/\/ocul.on.ca\/node\/3400. The mandatory long-form census was restored in 2016 by the Liberal Government. My usage of the data here is strictly for demonstration purposes and as such shouldn't be taken as an endorsement of the NHS 2011.\" id=\"return-footnote-940-5\" href=\"#footnote-940-5\" aria-label=\"Footnote 5\"><sup class=\"footnote\">[5]<\/sup><\/a>. For this example, I use a random sample of about 3 percent of the <em>NHS 2011<\/em> individual data (aka a <em>Public Use Microdata File<\/em>, or PUMF), resulting in\u00a0<em>N<\/em>=22,123. I am interested in whether men and women&#8217;s income for the year preceding the survey differed, i.e., whether the variables <em>gender<\/em>\u00a0(called <em>sex<\/em> in the dataset) and <em>total income<\/em> (i.e., income from all possible sources) appear associated.<\/p>\n<p>&nbsp;<\/p>\n<p>With the help of SPSS, I plot the data. The resulting boxplots graph is given in Figure 7.1 below.<\/p>\n<p>&nbsp;<\/p>\n<p><em>Figure 7.1\u00a0Gender Differences in Total Income, NHS 2011<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots.jpg\" alt=\"\" width=\"580\" height=\"538\" class=\"wp-image-954 aligncenter\" srcset=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots.jpg 626w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots-300x278.jpg 300w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots-65x60.jpg 65w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots-225x209.jpg 225w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/boxplots-350x325.jpg 350w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Boxplots are charts visually incorporating a lot of statistical information in one neat little package; I encourage you to make use of them when exploring your data as they can be quite useful. What do we see in Figure 7.1 in our case? Obviously, we have two groups to compare (as per the two categories in the nominal variable gender), <em>women<\/em> and<em> men<\/em>, and therefore the graph presents two boxplots. (Had we multiple categories in our discrete variable, we&#8217;d have had multiple boxplots.)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>How to read a boxplot.<\/strong> Each boxplot consists of the eponymous &#8220;box&#8221; and two so-called &#8220;whiskers&#8221; protruding from it. The &#8220;box&#8221; (in green above) represents the middle 50 percent of the data (i.e., the two middle quartiles, or the IQR); the lower &#8220;whisker&#8221; represents the first\/bottom quartile of the data, and the upper &#8220;whisker&#8221; represents the last\/top quartile of the data. The dark line bisecting the box indicates the median. The two ends of the &#8220;whiskers&#8221; are the lowest and the highest values. Note, however, that the quartiles (as represented by the &#8220;whiskers&#8221;) exclude outliers as to not\u00a0<span style=\"font-size: 1rem\">visually\u00a0<\/span><span style=\"text-indent: 1em;font-size: 1rem\">distort\u00a0 the &#8220;regular&#8221; spread of the data. As such, the chart plots run-of-the-mill outlier cases as small circles (above they are in red) outside of the &#8220;whiskers&#8221;; extreme outliers are indicated by stars (in black above)<a class=\"footnote\" title=\"Also note that to make the boxplot readable in an appropriate size, in Figure 7.1 I cut some extremely extreme outliers off at the top of the men's boxplot.\" id=\"return-footnote-940-6\" href=\"#footnote-940-6\" aria-label=\"Footnote 6\"><sup class=\"footnote\">[6]<\/sup><\/a>.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Now that you know how to read them, compare the two boxplots above. First, we see that the median\u00a0 for men is higher than the median for women\u00a0<span style=\"font-size: 1rem\">(again, these are the dark lines within the boxes)<\/span><span style=\"text-indent: 1em;font-size: 1rem\">; as well, total income appears to be more spread out for men than for women (the &#8220;whiskers&#8221; in the men&#8217;s boxplot reach further, indicating larger range and IQR. Further, while both men and women appear to have outliers, the men&#8217;s group seems to include more extreme outliers and at higher values than those observed in the women&#8217;s group<a class=\"footnote\" title=\"You might have noticed that the first quartile (i.e., the bottom &quot;whisker&quot;) includes negative values. Statstics Canada uses several income variables for which this is the case. Negative income exists as an accounting possibility: when one's annual expenses end up larger than one's annual income (e.g., like for a self-employed individual whose business hasn't been as successful, etc.). In many real-life research, negative income values are frequently dropped\/removed if that course of action is justified by the study's design, research question, and purposes. In the case of this example I have no reason to do that, hence I left the negative income values in the data.\" id=\"return-footnote-940-7\" href=\"#footnote-940-7\" aria-label=\"Footnote 7\"><sup class=\"footnote\">[7]<\/sup><\/a>.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-indent: 1em;font-size: 1rem\">All this points to the conclusion that men in the sample had higher (median, and quite likely average) total income for 2010 than women did, despite that the individuals with the lowest incomes also appear to be men.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>As useful the general information we gleaned from the boxplots, we should look at the precise numbers too. SPSS calculates the mean total income as &#36;32,465 for women and &#36;48,866 for men &#8212; that is, there is &#36;16,401 difference in mean total income in favour of men. In this sample of 22,123 people, men&#8217;s average total income is &#36;16,401 more than women&#8217;s.<\/p>\n<p>&nbsp;<\/p>\n<p>We could also compare the medians (especially useful when dealing with income variables): SPSS gives the median total income of women in the sample as &#36;23,000, while the median total income for men is &#36;35,000 &#8212; a difference of medians of &#36;12,000, again in favour of men.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>To summarize,<strong> you can explore a potential association between a discrete and a continuo<\/strong><strong>us variables of interest in two ways: 1) visually &#8212; by plotting and comparing boxplots, and 2) numerically, by inspecting the means (or medians) for the groups (i.e., the categories in the discrete variable being compared) and reporting their difference.\u00a0<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Keep in mind that we are not estimating anything at this point and are not claiming anything about the population: we are simply describing data based on a specific, actual sample.<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 7.2 below shows a quick reference for interpreting boxplots.<\/p>\n<p>&nbsp;<\/p>\n<p><em>Figure 7.2<\/em>\u00a0<em>How to Interpret a Boxplot<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA.jpg\" alt=\"\" width=\"437\" height=\"457\" class=\"wp-image-966 size-full aligncenter\" srcset=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA.jpg 437w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA-287x300.jpg 287w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA-65x68.jpg 65w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA-225x235.jpg 225w, https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/uploads\/sites\/564\/2019\/03\/Box_plot_descriptionA-350x366.jpg 350w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>[Source: https:\/\/commons.wikimedia.org\/wiki\/File:Box_plot_description.jpg]<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\"><em>SPSS Tip 7.1\u00a0Bivariate Descriptions of Discrete and Continuous Variables: Boxplots and Comparisons of Means<\/em><\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>This is <strong>how you can get boxplots<\/strong> like the ones in Figure 7.1 above:<\/p>\n<ul>\n<li>From the <em>Main Menu<\/em>, select <em>Graphs<\/em>, then from the pull-down menu <em>Legacy Dialogues<\/em>, and finally <em>Boxplot<\/em>;<\/li>\n<li>In the resulting <em>Boxplot<\/em> window select <em>Simple<\/em> and, keeping <em>Summaries of groups of cases<\/em> checked, click <em>Define<\/em>;<\/li>\n<li>Select your continuous variable of interest from the list on the left and, using the appropriate arrow, move it into the <em>Variable<\/em>\u00a0empty space on the right (at the top);<\/li>\n<li>Select your discrete variable of interest from the list on the left and, using the appropriate arrow, move it into the <em>Category Axis<\/em>\u00a0empty space on the right (below the <em>Variable<\/em>), then click <em>OK<\/em>;<\/li>\n<li>Your boxplots will appear in the <em>Output<\/em> window. (Note that the graph will appear in its default SPSS colours and specifications. Double-clicking the chart will make a <em>Chart Editor<\/em>\u00a0window appear. In the <em>Chart Editor<\/em> you can change, edit, and modify the appearance of your boxplots to your heart&#8217;s content.)<\/li>\n<\/ul>\n<p>This is <strong>how you can get means, medians (or any descriptive statistic really) for different groups<\/strong>:<\/p>\n<ul>\n<li>From the <em>Main Menu<\/em>, select <em>Data<\/em> and then from the pull-down menu, select <em>Split File<\/em>;<\/li>\n<li>In the new window, select <em>Compare groups<\/em>, then find your discrete variable of interest from the left-hand side, and using the arrow, move it into the <em>Groups Based on<\/em> empty space; click <em>OK<\/em>.<\/li>\n<li>You would have just placed a filter on your data. From this point on (until you switch the filter off), everything you do in SPSS will be done for each separate group (this is indicated by a message &#8220;SORT CASES BY [your discrete variable name]. SPLIT FILE LAYERED BY [your discrete variable name].&#8221; appearing in the <em>Output<\/em> window.<\/li>\n<li>Then, from the <em>Main Menu<\/em>, select <em>Analyze<\/em>, and then <em>Frequencies<\/em>, etc. to request any descriptive statistics you may like, e.g., the mean, the median, the standard deviation, etc. as discussed in the SPSS Tips in Chapter 3.<\/li>\n<li>Your output in the <em>Output<\/em> window will list the requested descriptives by the different groups (categories of the discrete variable).<\/li>\n<li>Once you are done with the comparisons, do not forget to switch the filter off (or your data file will remain split by groups): go again to <em>Data<\/em> in the <em>Main Menu<\/em>, select <em>Split File<\/em> and click <em>Analyze all cases, do not create groups<\/em> on the right-hand side; click OK.<\/li>\n<li>Your <em>Output<\/em> window will give a message of &#8220;SPLIT FILE OFF.&#8221; to indicate that the data is no longer split by group and it&#8217;s in its original condition.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Now let&#8217;s see how to &#8220;spot&#8221; and describe potential associations between two discrete variables.<\/p>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-940-1\">You could argue that <em>race\/ethnicity<\/em> is also there. As reported in the study, however, <em>race\/ethnicity<\/em> was a secondary variable bringing more detail to the study, through which the authors were able to demonstrate that upper-body strength differences based on sex exist in both race\/ethnic groups considered. <a href=\"#return-footnote-940-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><li id=\"footnote-940-2\">If you are interested, the authors of the study did test these differences (with a <em>t<\/em>-test, discussed later) and found them generalizable to the population indeed (Chen, Liu and Yo, 2012). <a href=\"#return-footnote-940-2\" class=\"return-footnote\" aria-label=\"Return to footnote 2\">&crarr;<\/a><\/li><li id=\"footnote-940-3\">For an example of a brief study on the association between <em>race\/ethnicity<\/em>\u00a0(a five-category discrete variable) and <em>SAT scores<\/em> of Harvard University applicants, see here: <a href=\"https:\/\/www.thecrimson.com\/article\/2018\/10\/22\/asian-american-admit-sat-scores\/\">https:\/\/www.thecrimson.com\/article\/2018\/10\/22\/asian-american-admit-sat-scores\/<\/a>. <a href=\"#return-footnote-940-3\" class=\"return-footnote\" aria-label=\"Return to footnote 3\">&crarr;<\/a><\/li><li id=\"footnote-940-4\">As mentioned above, many studies support this as a real, physiological sex difference; the reason I chose this example instead of more controversial\/debated issues like gender differences in IQ, or the gender pay gap, etc. <a href=\"#return-footnote-940-4\" class=\"return-footnote\" aria-label=\"Return to footnote 4\">&crarr;<\/a><\/li><li id=\"footnote-940-5\">For the problematic nature of the (Harper) Government's decision in 2010 to make the survey voluntary and its related implications, see for example here: <a href=\"https:\/\/ocul.on.ca\/node\/3400\">https:\/\/ocul.on.ca\/node\/3400<\/a>. The mandatory long-form census was restored in 2016 by the Liberal Government. My usage of the data here is strictly for demonstration purposes and as such shouldn't be taken as an endorsement of the NHS 2011. <a href=\"#return-footnote-940-5\" class=\"return-footnote\" aria-label=\"Return to footnote 5\">&crarr;<\/a><\/li><li id=\"footnote-940-6\">Also note that to make the boxplot readable in an appropriate size, in Figure 7.1 I cut some <em>extremely<\/em> extreme outliers off at the top of the men's boxplot. <a href=\"#return-footnote-940-6\" class=\"return-footnote\" aria-label=\"Return to footnote 6\">&crarr;<\/a><\/li><li id=\"footnote-940-7\">You might have noticed that the first quartile (i.e., the bottom \"whisker\") includes negative values. Statstics Canada uses several income variables for which this is the case. Negative income exists as an accounting possibility: when one's annual expenses end up larger than one's annual income (e.g., like for a self-employed individual whose business hasn't been as successful, etc.). In many real-life research, negative income values are frequently dropped\/removed if that course of action is justified by the study's design, research question, and purposes. In the case of this example I have no reason to do that, hence I left the negative income values in the data. <a href=\"#return-footnote-940-7\" class=\"return-footnote\" aria-label=\"Return to footnote 7\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":533,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-940","chapter","type-chapter","status-publish","hentry"],"part":34,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/users\/533"}],"version-history":[{"count":25,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/940\/revisions"}],"predecessor-version":[{"id":2115,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/940\/revisions\/2115"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/parts\/34"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/940\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/media?parent=940"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapter-type?post=940"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/contributor?post=940"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/license?post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}