Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Linear regression model with one dependent variable mpg (miles per gallon). This variable describes how many miles a car runs on one gallon of

1. Linear regression model with one dependent variable mpg (miles per gallon). This variable describes how many miles a car runs on one gallon of gas. Higher mpg means the car consumes less gas.

The independent variable is "cyl" (number of cylinders in the car's engine). More cylinders mean that the car has a more powerful engine.

2. In the second model I add one more independent variable "hp" (horsepower).

Questions:

1. Write the estimated equations for both models (the equation of the line for model1 and model2.

2. Does the variable "cyl" explain well the variability in "mpg"? explain why.

3. Does the variable "hp" explain well the variability in "mpg"? explain why.

image text in transcribedimage text in transcribed
Call : Im(formula = mpg ~ cyl, data = mtcars) Residuals : Min 1Q Median 3Q Max -4.9814 -2. 1185 5 0.2217 1.0717 7. 5186 Coefficients : Estimate Std. Error t value Pr(>Itl) (Intercept) 37.8846 2. 0738 18.27 Itl) (Intercept) 36.90833 2. 19080 16.847

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

Step: 3

blur-text-image

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

College Algebra (Subscription)

Authors: Mark Dugopolski

6th Edition

0321916670, 9780321916679

More Books

Students also viewed these Mathematics questions