{"id":5561,"date":"2022-09-21T21:13:09","date_gmt":"2022-09-21T21:13:09","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/?post_type=chapter&#038;p=5561"},"modified":"2022-10-18T07:46:10","modified_gmt":"2022-10-18T07:46:10","slug":"17c-preview","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/chapter\/17c-preview\/","title":{"raw":"17C Preview","rendered":"17C Preview"},"content":{"raw":"<div id=\"bp-page-1\" class=\"page\" data-page-number=\"1\" data-loaded=\"true\">\r\n<div class=\"textLayer\">Preparing for the next classIn the next class, you will need to be able to interpret a linear regression model with two explanatory variables and visualize an interaction between a continuous explanatory variable and a categorical explanatory variable using a scatterplot.In this preview assignment, you will be using spreadsheet DCMP_STAT_17A_PulseRate. For easy reference, here is the background on the data again: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 110 observations and 11 variables. The variables are:<\/div>\r\n<div class=\"textLayer\">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong>Variable<\/strong><\/td>\r\n<td><strong>Description<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>ID<\/em><\/td>\r\n<td>Identification number<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Height<\/em><\/td>\r\n<td>Height in centimeters (cm)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Weight<\/em><\/td>\r\n<td>Weight in kilograms (kg)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Age<\/em><\/td>\r\n<td>Age in years<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Sex<\/em><\/td>\r\n<td>Male\/female<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Smokes<\/em><\/td>\r\n<td>Are you a regular smoker? (yes\/no)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Alcohol<\/em><\/td>\r\n<td>Are you a regular drinker? (yes\/no)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Exercise<\/em><\/td>\r\n<td>What is your frequency of exercise? (low, moderate, high)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>GroupAssignment<\/em><\/td>\r\n<td>Whether the student ran or sat between the first and second pulse measurements<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Pulse1<\/em><\/td>\r\n<td>First pulse measurement (rate per minute)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Pulse2<\/em><\/td>\r\n<td>Second pulse measurement (rate per minute)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em>Year<\/em><\/td>\r\n<td>Year of class (1993\u20131998)<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div class=\"textLayer\">Questions 1\u20138: The research question that we are interested in exploring is, \u201cHow does Pulse1 depend on the weight of the student and their frequency of exercise?\u201d<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 1<\/h3>\r\n<div class=\"textLayer\">1) What is the response variable?<\/div>\r\n<div class=\"textLayer\">a) Pulse1<\/div>\r\n<div class=\"textLayer\">b) Weight<\/div>\r\n<div class=\"textLayer\">c) Height<\/div>\r\n<div class=\"textLayer\">d) Exercise<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 2<\/h3>\r\n<div class=\"textLayer\">2) What variables are the explanatory variables?<\/div>\r\n<div class=\"textLayer\">a) Pulse1and Weight<\/div>\r\n<div class=\"textLayer\">b) Pulse1and Height<\/div>\r\n<div class=\"textLayer\">c) Exerciseand Weight<\/div>\r\n<div class=\"textLayer\">d) Exerciseand Height<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">Go to the DCMPExplore Multivariate Relationships tool at https:\/\/dcmathpathways.shinyapps.io\/MultivariateRelationship\/, select \u201cUpload Data,\u201d and upload spreadsheet DCMP_STAT_17A_PulseRate.<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 3<\/h3>\r\n<div class=\"textLayer\">3) What is the appropriate variable to put in the \ud835\udc65-variable spot in the data analysis tool?<\/div>\r\n<div class=\"textLayer\">a) Weight<\/div>\r\n<div class=\"textLayer\">b) Height<\/div>\r\n<div class=\"textLayer\">c) Pulse1<\/div>\r\n<div class=\"textLayer\">d) Exercise<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 4<\/h3>\r\n<div class=\"textLayer\">4) What is the appropriate variable to put in the grouping spot in the data analysis tool?<\/div>\r\n<div class=\"textLayer\">a) Weight<\/div>\r\n<div class=\"textLayer\">b) Height<\/div>\r\n<div class=\"textLayer\">c) Pulse1<\/div>\r\n<div class=\"textLayer\">d) Exercise<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"bp-page-2\" class=\"page\" data-page-number=\"2\" data-loaded=\"true\">\r\n<div class=\"ba-Layer ba-Layer--region\" data-resin-fileid=\"910627050950\" data-resin-iscurrent=\"true\" data-resin-feature=\"annotations\" data-testid=\"ba-Layer--region\"><\/div>\r\n<\/div>\r\n<div id=\"bp-page-3\" class=\"page\" data-page-number=\"3\" data-loaded=\"true\">\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 5<\/h3>\r\n<div class=\"textLayer\">5) Click on \u201cShow Linear Regression Equation(s)\u201d in the data analysis tool. Based on the linear regression equations, which level of frequency of exercise increases the first pulse measurement for each one-kilogramincrease in weight?<\/div>\r\n<div class=\"textLayer\">a) High<\/div>\r\n<div class=\"textLayer\">b) Low<\/div>\r\n<div class=\"textLayer\">c) Moderate<\/div>\r\n<div class=\"textLayer\">d) No level<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 6<\/h3>\r\n<div class=\"textLayer\">6) Click on \u201cShow Correlation and r2\u201d in the data analysis tool. What would be the correct interpretationof the correlation between Pulse1and Weightfor the high frequencylevel ofexercise?<\/div>\r\n<div class=\"textLayer\">a) There is a moderate, negative linear relationship between Pulse1and Weightfor students witha high frequency level of exercise.<\/div>\r\n<div class=\"textLayer\">b) There is no relationship between Pulse1and Weightfor students witha high frequency level of exercise.<\/div>\r\n<div class=\"textLayer\">c) There is a strong, positive linear relationship between Pulse1and Weightfor students witha high frequency level of exercise.<\/div>\r\n<div class=\"textLayer\">d) There is a moderate, negative linear relationship between Pulse1and Weightfor all students.<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 7<\/h3>\r\n<div class=\"textLayer\">7) In the data analysis tool, you can hover over the points in the scatterplot to get their observation numbers. What is the observation number for the student who has a high Pulse1rate compared to the other students and a Weightof around 80 kg?<\/div>\r\n<div class=\"textLayer\">a) 106<\/div>\r\n<div class=\"textLayer\">b) 73<\/div>\r\n<div class=\"textLayer\">c) 91<\/div>\r\n<div class=\"textLayer\">d) 61<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 8<\/h3>\r\n8) Determine whether this statement is true or false: In this model, the estimated effect on the initial pulse rate (Pulse1) of a one-kilogramincrease in weight is the SAME for low, moderate,and high exercise rates. Hint: Interpret the estimated coefficient for Weightfor low and then for high.\u00a0For every one-kilogram increase in the weight of someone who has a LOW level of exercise, we expect the pulse rate to increase by 0.123. For every one-kilogram increase in the weight of someone who has a HIGH level of exercise, we expect the pulse rate to decrease by 0.429.\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textLayer\">An interaction occurs when an explanatory variable has a different effect on the response variable, depending on the values of another explanatory variable. An interaction term is a variable that represents an interaction between two variables.<\/div>\r\n<div class=\"textLayer\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 9<\/h3>\r\n<div class=\"textLayer\">9) Do you think an interaction term that looks at the relationship between Weight and Exercise would be appropriate to investigate in a multiple linear regression model? That is, do you think that the level of exercise changes the effect of weight on the initial pulse rate?<\/div>\r\n<div class=\"textLayer\">a) Yes<\/div>\r\n<div class=\"textLayer\">b) No<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>","rendered":"<div id=\"bp-page-1\" class=\"page\" data-page-number=\"1\" data-loaded=\"true\">\n<div class=\"textLayer\">Preparing for the next classIn the next class, you will need to be able to interpret a linear regression model with two explanatory variables and visualize an interaction between a continuous explanatory variable and a categorical explanatory variable using a scatterplot.In this preview assignment, you will be using spreadsheet DCMP_STAT_17A_PulseRate. For easy reference, here is the background on the data again: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-5561-1\" href=\"#footnote-5561-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 110 observations and 11 variables. The variables are:<\/div>\n<div class=\"textLayer\">\n<table>\n<tbody>\n<tr>\n<td><strong>Variable<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td><em>ID<\/em><\/td>\n<td>Identification number<\/td>\n<\/tr>\n<tr>\n<td><em>Height<\/em><\/td>\n<td>Height in centimeters (cm)<\/td>\n<\/tr>\n<tr>\n<td><em>Weight<\/em><\/td>\n<td>Weight in kilograms (kg)<\/td>\n<\/tr>\n<tr>\n<td><em>Age<\/em><\/td>\n<td>Age in years<\/td>\n<\/tr>\n<tr>\n<td><em>Sex<\/em><\/td>\n<td>Male\/female<\/td>\n<\/tr>\n<tr>\n<td><em>Smokes<\/em><\/td>\n<td>Are you a regular smoker? (yes\/no)<\/td>\n<\/tr>\n<tr>\n<td><em>Alcohol<\/em><\/td>\n<td>Are you a regular drinker? (yes\/no)<\/td>\n<\/tr>\n<tr>\n<td><em>Exercise<\/em><\/td>\n<td>What is your frequency of exercise? (low, moderate, high)<\/td>\n<\/tr>\n<tr>\n<td><em>GroupAssignment<\/em><\/td>\n<td>Whether the student ran or sat between the first and second pulse measurements<\/td>\n<\/tr>\n<tr>\n<td><em>Pulse1<\/em><\/td>\n<td>First pulse measurement (rate per minute)<\/td>\n<\/tr>\n<tr>\n<td><em>Pulse2<\/em><\/td>\n<td>Second pulse measurement (rate per minute)<\/td>\n<\/tr>\n<tr>\n<td><em>Year<\/em><\/td>\n<td>Year of class (1993\u20131998)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"textLayer\">Questions 1\u20138: The research question that we are interested in exploring is, \u201cHow does Pulse1 depend on the weight of the student and their frequency of exercise?\u201d<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 1<\/h3>\n<div class=\"textLayer\">1) What is the response variable?<\/div>\n<div class=\"textLayer\">a) Pulse1<\/div>\n<div class=\"textLayer\">b) Weight<\/div>\n<div class=\"textLayer\">c) Height<\/div>\n<div class=\"textLayer\">d) Exercise<\/div>\n<\/div>\n<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 2<\/h3>\n<div class=\"textLayer\">2) What variables are the explanatory variables?<\/div>\n<div class=\"textLayer\">a) Pulse1and Weight<\/div>\n<div class=\"textLayer\">b) Pulse1and Height<\/div>\n<div class=\"textLayer\">c) Exerciseand Weight<\/div>\n<div class=\"textLayer\">d) Exerciseand Height<\/div>\n<\/div>\n<\/div>\n<div class=\"textLayer\">Go to the DCMPExplore Multivariate Relationships tool at https:\/\/dcmathpathways.shinyapps.io\/MultivariateRelationship\/, select \u201cUpload Data,\u201d and upload spreadsheet DCMP_STAT_17A_PulseRate.<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 3<\/h3>\n<div class=\"textLayer\">3) What is the appropriate variable to put in the \ud835\udc65-variable spot in the data analysis tool?<\/div>\n<div class=\"textLayer\">a) Weight<\/div>\n<div class=\"textLayer\">b) Height<\/div>\n<div class=\"textLayer\">c) Pulse1<\/div>\n<div class=\"textLayer\">d) Exercise<\/div>\n<\/div>\n<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 4<\/h3>\n<div class=\"textLayer\">4) What is the appropriate variable to put in the grouping spot in the data analysis tool?<\/div>\n<div class=\"textLayer\">a) Weight<\/div>\n<div class=\"textLayer\">b) Height<\/div>\n<div class=\"textLayer\">c) Pulse1<\/div>\n<div class=\"textLayer\">d) Exercise<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"bp-page-2\" class=\"page\" data-page-number=\"2\" data-loaded=\"true\">\n<div class=\"ba-Layer ba-Layer--region\" data-resin-fileid=\"910627050950\" data-resin-iscurrent=\"true\" data-resin-feature=\"annotations\" data-testid=\"ba-Layer--region\"><\/div>\n<\/div>\n<div id=\"bp-page-3\" class=\"page\" data-page-number=\"3\" data-loaded=\"true\">\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 5<\/h3>\n<div class=\"textLayer\">5) Click on \u201cShow Linear Regression Equation(s)\u201d in the data analysis tool. Based on the linear regression equations, which level of frequency of exercise increases the first pulse measurement for each one-kilogramincrease in weight?<\/div>\n<div class=\"textLayer\">a) High<\/div>\n<div class=\"textLayer\">b) Low<\/div>\n<div class=\"textLayer\">c) Moderate<\/div>\n<div class=\"textLayer\">d) No level<\/div>\n<\/div>\n<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 6<\/h3>\n<div class=\"textLayer\">6) Click on \u201cShow Correlation and r2\u201d in the data analysis tool. What would be the correct interpretationof the correlation between Pulse1and Weightfor the high frequencylevel ofexercise?<\/div>\n<div class=\"textLayer\">a) There is a moderate, negative linear relationship between Pulse1and Weightfor students witha high frequency level of exercise.<\/div>\n<div class=\"textLayer\">b) There is no relationship between Pulse1and Weightfor students witha high frequency level of exercise.<\/div>\n<div class=\"textLayer\">c) There is a strong, positive linear relationship between Pulse1and Weightfor students witha high frequency level of exercise.<\/div>\n<div class=\"textLayer\">d) There is a moderate, negative linear relationship between Pulse1and Weightfor all students.<\/div>\n<\/div>\n<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 7<\/h3>\n<div class=\"textLayer\">7) In the data analysis tool, you can hover over the points in the scatterplot to get their observation numbers. What is the observation number for the student who has a high Pulse1rate compared to the other students and a Weightof around 80 kg?<\/div>\n<div class=\"textLayer\">a) 106<\/div>\n<div class=\"textLayer\">b) 73<\/div>\n<div class=\"textLayer\">c) 91<\/div>\n<div class=\"textLayer\">d) 61<\/div>\n<\/div>\n<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 8<\/h3>\n<p>8) Determine whether this statement is true or false: In this model, the estimated effect on the initial pulse rate (Pulse1) of a one-kilogramincrease in weight is the SAME for low, moderate,and high exercise rates. Hint: Interpret the estimated coefficient for Weightfor low and then for high.\u00a0For every one-kilogram increase in the weight of someone who has a LOW level of exercise, we expect the pulse rate to increase by 0.123. For every one-kilogram increase in the weight of someone who has a HIGH level of exercise, we expect the pulse rate to decrease by 0.429.<\/p>\n<\/div>\n<\/div>\n<div class=\"textLayer\">An interaction occurs when an explanatory variable has a different effect on the response variable, depending on the values of another explanatory variable. An interaction term is a variable that represents an interaction between two variables.<\/div>\n<div class=\"textLayer\">\n<div class=\"textbox key-takeaways\">\n<h3>Question 9<\/h3>\n<div class=\"textLayer\">9) Do you think an interaction term that looks at the relationship between Weight and Exercise would be appropriate to investigate in a multiple linear regression model? That is, do you think that the level of exercise changes the effect of weight on the initial pulse rate?<\/div>\n<div class=\"textLayer\">a) Yes<\/div>\n<div class=\"textLayer\">b) No<\/div>\n<\/div>\n<\/div>\n<\/div>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-5561-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-5561-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":23592,"menu_order":68,"template":"","meta":{"_candela_citation":"[]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-5561","chapter","type-chapter","status-publish","hentry"],"part":5543,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/users\/23592"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5561\/revisions"}],"predecessor-version":[{"id":5664,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5561\/revisions\/5664"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/parts\/5543"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5561\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/media?parent=5561"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapter-type?post=5561"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/contributor?post=5561"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/license?post=5561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}