Question

1) The highway mileage (mpg) for a sample of 8 different models of a car company...

1) The highway mileage (mpg) for a sample of 8 different models of a car company can be found below.

17, 21, 23, 26, 36, 29, 33, 36

Find the 5-number summary, check for any outliers using fences, and create a boxplot.

Use the space below to type your answers AND/OR to upload a picture of your work for all the questions in this problem.

2)

A regression was run to determine if there is a relationship between the happiness index (y) and life expectancy in years of a given country (x).

The results of the regression were:

ˆyy^=a+bx
a=-1.148
b=0.065


(a) Write the equation of the Least Squares Regression line of the form

y^= + x

(b) Which is a possible value for the correlation coefficient, rr?

  • 0.807
  • 1.247
  • -0.807
  • -1.247



(c) If a country increases its life expectancy, the happiness index will

  • increase
  • decrease



(d) If the life expectancy is increased by 4.5 years in a certain country, how much will the happiness index change? Round to two decimal places.



(e) Use the regression line to predict the happiness index of a country with a life expectancy of 67 years. Round to two decimal places.



Use the space below to type your answer AND/OR to upload a picture of your work for all the questions in this problem.

1 0
Add a comment Improve this question Transcribed image text
✔ Recommended Answer
Answer #1

Que.1

To solve this question we use R software.

R codes and output:

> x=c(17, 21, 23, 26, 36, 29, 33, 36)

> summary(x)

   Min. 1st Qu. Median    Mean 3rd Qu.    Max.

17.00   22.50   27.50   27.62   33.75   36.00

> boxplot(x)

20 25 30 35

There is no outlier present in the data.

Que.2

a.

The Least Squares Regression line is

y = -1.148 + 0.065 x

b.

Here slope coefficient is positive, hence correlation is also positive. And we know that correlation always lies between -1 to +1

hence possible value of correlation coefficient r = 0.807

c.

Increases.

Because correlation coefficient is positive.

d.

Happiness index =  0.065 * 4.5 = 0.29

Happiness index will increased by 0.29

e.

Happiness index is computed as follows:

y = -1.148 + 0.065 x

y = -1.148 + 0.065 (67)

y = 3.21

Add a comment
Know the answer?
Add Answer to:
1) The highway mileage (mpg) for a sample of 8 different models of a car company...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • The highway mileage (mpg) for a sample of 8 different models ofa car company can...

    The highway mileage (mpg) for a sample of 8 different models of a car company can be found below. Which boxplot would be most appropriate? 18, 20, 24, 26, 30, 32, 36, 36

  • The highway mileage (mpg) for a sample of 8 different models of a car company can...

    The highway mileage (mpg) for a sample of 8 different models of a car company can be found below. Find the mean, median, mode, and standard deviation. Round to one decimal place as needed. 20, 22, 26, 27, 29, 31, 35, 35 Mean = Median = Mode = Standard Deviation =

  • To earn full credit for this question, use your own sheet of paper to solve the...

    To earn full credit for this question, use your own sheet of paper to solve the problem, showing all steps of your work in order to get full credit. The highway mileage (mpg) for a sample of different models of a car company can be found below. 18, 20, 23, 26, 36, 29, 32, 36 Find the 5-number summary, check for any outliers, and use it to create a boxplot. Use the space below to type your answers AND/OR to...

  • Before you start For this homework, we will need to import some libraries. You need to...

    Before you start For this homework, we will need to import some libraries. You need to execute the following cell only once; you don't need to copy this in every cell you run. In [ ]: import pandas import numpy from urllib.request import urlretrieve from matplotlib import pyplot %matplotlib inline ​ #This library is needed for testing from IPython.display import set_matplotlib_close set_matplotlib_close(False) Introduction In this homework, you will work with data from the World Bank. The subject of study is...

  • Comprehensive Problem 6-52 (LO 6-1, LO 6-2, LO 6-3) [The following information applies to the questions...

    Comprehensive Problem 6-52 (LO 6-1, LO 6-2, LO 6-3) [The following information applies to the questions displayed below.] Read the following letter and help Shady Slim with his tax situation. Please assume that his gross income is $172,900 (which consists only of salary) for purposes of this problem. December 31, 2019 To the friendly student tax preparer: Hi, it’s Shady Slim again. I just got back from my 55th birthday party, and I’m told that you need some more information...

  • This year Evan graduated from college and took a job as a deliveryman in the city....

    This year Evan graduated from college and took a job as a deliveryman in the city. Evan was paid a salary of $68,500 and he received $700 in hourly pay for part-time work over the weekends. Evan summarized his expenses below: Cost of moving his possessions to the city (125 miles away) Interest paid on accumulated student loans Cost of purchasing a delivery uniform Contribution to State University deliveryman program $1,200 2,840 1,440 1,320 Calculate Evan's AGI and taxable income...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT