Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Logic And Structure

Authors: Dirk Van Dalen

5th Edition

1447145585, 9781447145585

More Books

Students also viewed these Mathematics questions

Question

1. What do I want to achieve?

Answered: 1 week ago

Question

3. What is my goal?

Answered: 1 week ago