{"id":1494,"date":"2023-06-22T02:36:56","date_gmt":"2023-06-22T02:36:56","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/interaction-terms-learn-it-1\/"},"modified":"2024-03-01T20:16:19","modified_gmt":"2024-03-01T20:16:19","slug":"interaction-terms-learn-it-1","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/introstatstest\/chapter\/interaction-terms-learn-it-1\/","title":{"raw":"Interaction Terms - Learn It 1","rendered":"Interaction Terms &#8211; Learn It 1"},"content":{"raw":"<section class=\"textbox learningGoals\">\r\n<ul>\r\n\t<li>Know what an interaction term is and use a scatterplot to understand the interaction effects<\/li>\r\n\t<li>Write appropriate multiple linear regression model equations for categorical predictors and interaction terms<\/li>\r\n<\/ul>\r\n<\/section>\r\n<p>Students in an introductory statistics class at The University of Queensland participated in a simple experiment.[footnote]Wilson, R. J. (n.d.). Pulse rates before and after exercise. StatSci.org. http:\/\/www.statsci.org\/data\/oz\/ms212.html[\/footnote] The students took their own pulse rates. They were then asked to flip a coin. If the coin came up heads, they were to run in place for one minute. Otherwise, they sat for one minute. Afterward, everyone took their pulse rates again. The pulse rates and other physiological and lifestyle data were recorded. There are a total of [latex]110[\/latex] observations and [latex]11[\/latex] variables.<\/p>\r\n<p>[reveal-answer q=\"3825\"]Variables in the data set[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"3825\"]<\/p>\r\n<p>The variables are:<\/p>\r\n<div style=\"text-align: left;\" align=\"center\">\r\n<table style=\"width: 464px;\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><strong>Variable<\/strong><\/td>\r\n<td style=\"width: 228.056px;\"><strong>Description<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>ID<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Identification number<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Height<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Height in centimeters (cm)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Weight<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Weight in kilograms (kg)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Age<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Age in years<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Sex<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Male\/female<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Smokes<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Are you a regular smoker? (yes\/no)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Alcohol<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Are you a regular drinker? (yes\/no)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Exercise<\/em><\/td>\r\n<td style=\"width: 228.056px;\">What is your frequency of exercise? (low, moderate, high)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>GroupAssignment<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Whether the student ran or sat between the first and second pulse measurements<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Pulse1<\/em><\/td>\r\n<td style=\"width: 228.056px;\">First pulse measurement (rate per minute)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Pulse2<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Second pulse measurement (rate per minute)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 154.826px;\"><em>Year<\/em><\/td>\r\n<td style=\"width: 228.056px;\">Year of class (1993\u20131998)<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p>[\/hidden-answer]<\/p>\r\n<p><strong>Research Question:\u00a0<\/strong>How does <em>Pulse1<\/em> depend on the weight of the student and their frequency of exercise?<\/p>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3101[\/ohm2_question]<\/section>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3102[\/ohm2_question]<\/section>\r\n<\/div>","rendered":"<section class=\"textbox learningGoals\">\n<ul>\n<li>Know what an interaction term is and use a scatterplot to understand the interaction effects<\/li>\n<li>Write appropriate multiple linear regression model equations for categorical predictors and interaction terms<\/li>\n<\/ul>\n<\/section>\n<p>Students in an introductory statistics class at The University of Queensland participated in a simple experiment.<a class=\"footnote\" title=\"Wilson, R. J. (n.d.). Pulse rates before and after exercise. StatSci.org. http:\/\/www.statsci.org\/data\/oz\/ms212.html\" id=\"return-footnote-1494-1\" href=\"#footnote-1494-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a> The students took their own pulse rates. They were then asked to flip a coin. If the coin came up heads, they were to run in place for one minute. Otherwise, they sat for one minute. Afterward, everyone took their pulse rates again. The pulse rates and other physiological and lifestyle data were recorded. There are a total of [latex]110[\/latex] observations and [latex]11[\/latex] variables.<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q3825\">Variables in the data set<\/button><\/p>\n<div id=\"q3825\" class=\"hidden-answer\" style=\"display: none\">\n<p>The variables are:<\/p>\n<div style=\"text-align: left; margin: auto;\">\n<table style=\"width: 464px;\">\n<tbody>\n<tr>\n<td style=\"width: 154.826px;\"><strong>Variable<\/strong><\/td>\n<td style=\"width: 228.056px;\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>ID<\/em><\/td>\n<td style=\"width: 228.056px;\">Identification number<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Height<\/em><\/td>\n<td style=\"width: 228.056px;\">Height in centimeters (cm)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Weight<\/em><\/td>\n<td style=\"width: 228.056px;\">Weight in kilograms (kg)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Age<\/em><\/td>\n<td style=\"width: 228.056px;\">Age in years<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Sex<\/em><\/td>\n<td style=\"width: 228.056px;\">Male\/female<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Smokes<\/em><\/td>\n<td style=\"width: 228.056px;\">Are you a regular smoker? (yes\/no)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Alcohol<\/em><\/td>\n<td style=\"width: 228.056px;\">Are you a regular drinker? (yes\/no)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Exercise<\/em><\/td>\n<td style=\"width: 228.056px;\">What is your frequency of exercise? (low, moderate, high)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>GroupAssignment<\/em><\/td>\n<td style=\"width: 228.056px;\">Whether the student ran or sat between the first and second pulse measurements<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Pulse1<\/em><\/td>\n<td style=\"width: 228.056px;\">First pulse measurement (rate per minute)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Pulse2<\/em><\/td>\n<td style=\"width: 228.056px;\">Second pulse measurement (rate per minute)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 154.826px;\"><em>Year<\/em><\/td>\n<td style=\"width: 228.056px;\">Year of class (1993\u20131998)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>Research Question:\u00a0<\/strong>How does <em>Pulse1<\/em> depend on the weight of the student and their frequency of exercise?<\/p>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3101\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3101&theme=lumen&iframe_resize_id=ohm3101&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3102\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3102&theme=lumen&iframe_resize_id=ohm3102&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<\/div>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-1494-1\">Wilson, R. J. (n.d.). Pulse rates before and after exercise. StatSci.org. http:\/\/www.statsci.org\/data\/oz\/ms212.html <a href=\"#return-footnote-1494-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":8,"menu_order":21,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":1473,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1494"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/users\/8"}],"version-history":[{"count":4,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1494\/revisions"}],"predecessor-version":[{"id":5875,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1494\/revisions\/5875"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/parts\/1473"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapters\/1494\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/media?parent=1494"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/pressbooks\/v2\/chapter-type?post=1494"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/contributor?post=1494"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/introstatstest\/wp-json\/wp\/v2\/license?post=1494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}