Listed below are altitudes (in thousands of feet) and outside temperatures (in degrees Fahrenheit) recorded by the author of our textbook while flying from New Orleans to Atlanta. Altitude 3 10 14 22 28 31 33 Temp 57 37 24 -5 -30 -41 -54 Does a strong linear correlation exist between altitude and temperature? How do you know? If a strong linear correlation exists, answer the following: a.) Find a regression model (ax+b) for temperature as a function of altitude. b.) If the altitude is 18,500 feet, what would be the expected temperature? c.) If the temperature is at the freezing mark, what would be the expected altitude?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Question

Listed below are altitudes (in thousands of feet) and outside temperatures (in degrees Fahrenheit) recorded by the author of our textbook while flying from New Orleans to Atlanta.
Altitude
3
10
14
22
28
31
33
Temp
57
37
24
-5
-30
-41
-54
Does a strong linear correlation exist between altitude and temperature? How do you know?
If a strong linear correlation exists, answer the following:
a.) Find a regression model (ax+b) for temperature as a function of altitude.
b.) If the altitude is 18,500 feet, what would be the expected temperature?
c.) If the temperature is at the freezing mark, what would be the expected altitude?

Expert Solution
Step 1

Use the given data to form excel table:

  X Y X*Y X*X Y*Y
  3 57 171 9 3249
  10 37 370 100 1369
  14 24 336 196 576
  22 -5 -110 484 25
  28 -30 -840 784 900
  31 -41 -1271 961 1681
  33 -54 -1782 1089 2916
Sum 141 -12 -3126 3623 10716

r=n(xy)-x·ynx2-(x)2ny2-(y)2 =7(-3126)-(141)(-12)7(3623)-(141)2(7)(10716)-(-12)2-0.9968

There exists a strong linear negative correlation between altitude and temperature, because the value of correlation coefficient is very close to -1.

Step 2

a) 

  X Y X*Y X*X
  3 57 171 9
  10 37 370 100
  14 24 336 196
  22 -5 -110 484
  28 -30 -840 784
  31 -41 -1271 961
  33 -54 -1782 1089
Sum 141 -12 -3126 3623

The regression equation is given by the formula Y = a + b*X.

Determine the value of a and b.

 a=Y·X2-X·XYn·X2-X2 =(-12)·(3623)-(141)·(-3126)7·(3623)-141272.5

b=n·XY-X·Yn·X2-X2=(7)·(-3126)-(141)·(-12)7·(3623)-1412-3.684

The regression equation is Y = 72.5 - 3.684*X.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman