Question: Problem 4: R Problem 1 In this data set, we will examine the relationship between the weight of a mountain bike and its price? price

Problem 4: R Problem 1 In this data set, we will examine the relationship between the weight of a mountain bike and its price? price<-c(1000, 1100, 940, 1100, 700, 600, 440, 450, 550, 340, 180, 140) weight<-c(32, 31, 34, 30, 29, 28, 29, 29, 30, 33, 34, 37) a) What is explanatory and response variable? b) Let y be the response variable and x be the explanatory variable of this problem. Use plot(x, y) or plot(yx) command to construct a scatter plot. Submit the plot. Describe the pattern (linear/non- linear), direction (+/-), strength (weak, moderate, strong) association between the two variable. c) Use cor(x, y) or cor(y, x) to find correlation. Does it agree with your description in part b)? d) Use summary(lm(yx)) and copy and paste R output. Write down the estimated regression equation using correct notations. e) Report the value of r2 from R output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!