{"id":77376,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/lab-activity-11-simple-linear-regression-assignment-solution"},"modified":"2017-08-18T07:13:59","modified_gmt":"2017-08-18T07:13:59","slug":"lab-activity-11-simple-linear-regression-assignment-solution","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/lab-activity-11-simple-linear-regression-assignment-solution\/","title":{"rendered":"Lab Activity 11 \u2013 Simple Linear Regression Assignment Solution"},"content":{"rendered":"<p>1.<br \/> Facts about correlation.<br \/> Answer the following questions about correlation (r).<br \/> a. What is the strongest the correlation can ever be? _____<br \/> b. If there is no relationship, r is equal to __________.<br \/> c. The correlation coefficient ranges from ________ to _______.<br \/> d. If the points fall in an almost perfect, negative linear pattern, r is close to: _____<br \/> e. If the points fall in an almost perfect, positive linear pattern, r is close to: _____<\/p>\n<p>2.<br \/> Relationship between Height and Weight.<br \/> Data has been collected on 219 STAT 200 students. Weight is measured in pound and Height in inch.<br \/> Below are some descriptive statistics of Weight and Height.<\/p>\n<p>Then a linear regression was performed on height and weight. The output looks as follows:<\/p>\n<p>In Minitab:<\/p>\n<p>In SPSS:<\/p>\n<p>a. Write the regression equation based on the output.<br \/> b. What is the response variable (dependent variable) and what is the predictor<br \/> (independent variable)?<br \/> c. Based on the equation, what is the slope? Please explain slope as the change in Y per<br \/> unit change in X in the context of the variables used in this problem.<br \/> d. Based on the output, what is the test of the slope for this regression equation? That is,<br \/> provide the null and alternative hypotheses, the test statistic, p-value of the test, and state your<br \/> decision and conclusion.<br \/> e. Assume a student is 65 inch tall. Is it possible to predict his weight based on this<br \/> analysis? If so, please estimate his weight using the regression equation.<br \/> f. What do the Fitted (predicted) values and Residuals represent? For example, there is one<br \/> record in the data set with height = 54 and weight = 110. Please use these numbers to explain<br \/> what is the fitted value and what is the residual.<\/p>\n<p>3.<br \/> Relationship between eighth grade IQ and ninth grade math score.<br \/> For a statistics class project, students examined the relationship between x = 8th grade IQ and y = 9th<br \/> grade math scores for 20 students. The data are displayed below.<br \/> Student<\/p>\n<p>Math Score<\/p>\n<p>IQ<\/p>\n<p>Abstract Reas<\/p>\n<p>1<\/p>\n<p>33<\/p>\n<p>95<\/p>\n<p>28<\/p>\n<p>2<\/p>\n<p>31<\/p>\n<p>100<\/p>\n<p>24<\/p>\n<p>3<\/p>\n<p>35<\/p>\n<p>100<\/p>\n<p>29<\/p>\n<p>4<\/p>\n<p>38<\/p>\n<p>102<\/p>\n<p>30<\/p>\n<p>5<\/p>\n<p>41<\/p>\n<p>103<\/p>\n<p>33<\/p>\n<p>6<\/p>\n<p>37<\/p>\n<p>105<\/p>\n<p>32<\/p>\n<p>7<\/p>\n<p>37<\/p>\n<p>106<\/p>\n<p>34<\/p>\n<p>8<\/p>\n<p>39<\/p>\n<p>106<\/p>\n<p>36<\/p>\n<p>9<\/p>\n<p>43<\/p>\n<p>106<\/p>\n<p>38<\/p>\n<p>10<\/p>\n<p>40<\/p>\n<p>109<\/p>\n<p>39<\/p>\n<p>11<\/p>\n<p>41<\/p>\n<p>110<\/p>\n<p>40<\/p>\n<p>12<\/p>\n<p>44<\/p>\n<p>110<\/p>\n<p>43<\/p>\n<p>13<\/p>\n<p>40<\/p>\n<p>111<\/p>\n<p>41<\/p>\n<p>14<\/p>\n<p>45<\/p>\n<p>112<\/p>\n<p>42<\/p>\n<p>15<\/p>\n<p>48<\/p>\n<p>112<\/p>\n<p>46<\/p>\n<p>16<\/p>\n<p>45<\/p>\n<p>114<\/p>\n<p>44<\/p>\n<p>17<\/p>\n<p>31<\/p>\n<p>114<\/p>\n<p>41<\/p>\n<p>18<\/p>\n<p>47<\/p>\n<p>115<\/p>\n<p>47<\/p>\n<p>19<\/p>\n<p>43<\/p>\n<p>117<\/p>\n<p>42<\/p>\n<p>20<\/p>\n<p>48<\/p>\n<p>118<\/p>\n<p>49<\/p>\n<p>Open the dataset IQ found in the Datasets folder in ANGEL.<br \/> a. Create a scatter plot of the measurements by selecting Math Score for the y-axis<\/p>\n<p>(response) and IQ for the x-axis (predictor). Describe the relationship between math score and<br \/> IQ.<br \/> Minitab Users: Graph &amp;gt; Scatter Plot &amp;gt; Simple.<br \/> SPSS Users: Graphs &amp;gt; Legacy Dialogues &amp;gt; Scatter\/Dot &amp;gt; Simple Scatter<br \/> b. Perform a linear regression with the Response (dependent variable) math score and the<br \/> variable IQ as the Predictor (independent variable). Store\/Save the (unstandardized)<br \/> Residuals and Fitted(Predicted) values. These will be stored in the fourth and fifth columns<br \/> of the data worksheet.<br \/> What is the regression equation?<br \/> What is the interpretation of R-square (just use the latest output) and how to calculate<br \/> correlation based on it?<\/p>\n<p>c. One of the students with a high IQ (number 17) appears to be an outlier. With a sample<br \/> size of only 20 this can affect our normality assumption. Also, the constant variance<br \/> assumption could be compromised. We can visually check for constant variance using a<br \/> Residual Plot and test for normality using a Probability Plot (or Q-Q plot).<br \/> To get a residual plot, simply create a Scatterplot using the Residuals as the y-variable and the<br \/> Fitted(Predicted) Values as the x-variable. (Remember these should have been stored\/saved<br \/> when you first performed the regression per instructions above. If not, re-run regression and<br \/> click store\/save and click the boxes for unstandardized residuals and fits(predicted) values.)<br \/> Now create a probability plot (Q-Q plot if using SPSS) of the residuals.<br \/> Based on these two graphs and what you have learned about hypothesis testing, what<br \/> interpretations do you come to regarding the assumptions of constant variance and normality?<br \/> Minitab Users: Probability plot go to Graphs &amp;gt; Probability Plot &amp;gt; Single and select Residuals<br \/> SPSS Users: Q-Q plot with normal test go to Analyze &amp;gt; Descriptive Statistics &amp;gt; Explore and<br \/> enter Unstandardized Residuals in Dependent List click Plots and select box for Normal plots<br \/> with tests<\/p>\n<p>d. Although outliers should never be deleted without a reason, there are several reasons<br \/> why it may be legitimate to conduct an analysis without them. Delete the data point for row 17<br \/> (click on the cell with the IQ of 114, enter * and then click on any other cell \u2013 this enters the<br \/> asterisk in that previous cell. ) and re-calculate the regression line for the remainder of the data.<br \/> What is the regression equation with the rest of the data?<\/p>\n<p>What is the R2 and correlation between Math Score and IQ with the outlier removed?<br \/> e. How does the fit of the regression line of the original data (i.e. with outlier) compare<br \/> (visually and statistically) to the fit of the regression line to the data with the outlier removed?<br \/> Compare the fit of the regression line between the two sets of data. Pay particular attention to<br \/> the differences in R2, the slope and how the line fits each set of data. You may want to repeat<br \/> the residual plot and probability plot!<i>\u2026<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Facts about correlation. Answer the following questions about correlation (r). a. What is the strongest the correlation can ever be? _____ b. If there is no relationship, r is equal to __________. c. The correlation coefficient ranges from ________ <a href=\"https:\/\/www.benedictsol.com\/blogs\/lab-activity-11-simple-linear-regression-assignment-solution\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-77376","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/77376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=77376"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/77376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=77376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=77376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=77376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}