a. Construct a scatter plot with the crude oil cost (in dollars) on the horizontal axis and the gasoline cost (in dollars per gallon) on the vertical axis. Choose the correct graph below. A. Gasoline ($/gal) 6- 5- 3- www 0+ 60 70 80 90 Crude Oil ($) 5 B. Gasoline ($/gal) 5- 60 70 80 90 Crude Oil ($) Gasoline ($/gal) 4- 3- 2- 1- 60 70 80 90 Crude Oil ($) D. Gasoline ($/gal) 4. 60 70 80 90 Crude Oil ($) b. Use the least-squares method to develop a simple linear regression equation to predict the gasoline prices using the average crude oil cost as the independent variable.
a. Construct a scatter plot with the crude oil cost (in dollars) on the horizontal axis and the gasoline cost (in dollars per gallon) on the vertical axis. Choose the correct graph below. A. Gasoline ($/gal) 6- 5- 3- www 0+ 60 70 80 90 Crude Oil ($) 5 B. Gasoline ($/gal) 5- 60 70 80 90 Crude Oil ($) Gasoline ($/gal) 4- 3- 2- 1- 60 70 80 90 Crude Oil ($) D. Gasoline ($/gal) 4. 60 70 80 90 Crude Oil ($) b. Use the least-squares method to develop a simple linear regression equation to predict the gasoline prices using the average crude oil cost as the independent variable.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
100%
![What is the relationship between the price of crude oil and the price you pay at the pump for gasoline? The accompanying table shows the prices of crude oil and
the price you pay at the pump for 24 consecutive months. Complete parts (a) through (h) below.
Click the icon to view the data table.
Click the icon to view a table of critical values of the Durbin-Watson statistic.
a. Construct a scatter plot with the crude oil cost (in dollars) on the horizontal axis and the gasoline cost (in dollars per gallon) on the vertical axis. Choose the
correct graph below.
A.
6+
Gasoline ($/gal)
。N WAGO
3-
2-
to
www.
60 70 80 90
Crude Oil ($)
î¡ = 0·
B.
Gasoline ($/gal)
] + (×₁
(Round to three decimal places as needed.)
5-
26%
60 70 80 90
Crude Oil ($)
U
C.
Gasoline ($/gal)
5-
18
2-
1-
0-
60 70 80 90
Crude Oil ($)
O D.
Gasoline ($/gal)
5-
2-
H
1-
0-
60 70 80 90
Crude Oil ($)
o
b. Use the least-squares method to develop a simple linear regression equation to predict the gasoline prices using the average crude oil cost as the independent
variable.
LY](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F70c4ebd9-dae0-4e30-aab6-2ad7cd506207%2F1319b568-871f-4f66-aaca-20f442ebe4d4%2Fkk0j7h_processed.png&w=3840&q=75)
Transcribed Image Text:What is the relationship between the price of crude oil and the price you pay at the pump for gasoline? The accompanying table shows the prices of crude oil and
the price you pay at the pump for 24 consecutive months. Complete parts (a) through (h) below.
Click the icon to view the data table.
Click the icon to view a table of critical values of the Durbin-Watson statistic.
a. Construct a scatter plot with the crude oil cost (in dollars) on the horizontal axis and the gasoline cost (in dollars per gallon) on the vertical axis. Choose the
correct graph below.
A.
6+
Gasoline ($/gal)
。N WAGO
3-
2-
to
www.
60 70 80 90
Crude Oil ($)
î¡ = 0·
B.
Gasoline ($/gal)
] + (×₁
(Round to three decimal places as needed.)
5-
26%
60 70 80 90
Crude Oil ($)
U
C.
Gasoline ($/gal)
5-
18
2-
1-
0-
60 70 80 90
Crude Oil ($)
O D.
Gasoline ($/gal)
5-
2-
H
1-
0-
60 70 80 90
Crude Oil ($)
o
b. Use the least-squares method to develop a simple linear regression equation to predict the gasoline prices using the average crude oil cost as the independent
variable.
LY

Transcribed Image Text:p between the price of crude oil and the price you pay at the pump for gasoline? The accompanying table shows the prices of crude
iew the data table.
view a table of critical values of the Durbin-Watson statistic.
Data Table
Month
1
8659 A WN.
2
3
4
7
9
10
11
12
Crude Oil
74 74 70 75 75 75 7 3 73 78 80 76
76
77
83
Gasoline
1.413
1.714
1.571
1.889
1.642
1.759
2.264
1.634
1.155
1.774
1.658
2.109
Print
Month
13
14
567892
15
16
17
18
19
20
21
22
23
24
Crude Oil
79
Done
P228HE NEE
83
81
78
74
81
83
84
85
84
Gasoline
2.068
2.469
2.165
2.104
2.858
2.501
2.975
2.865
2.977
3.071
3.303
3.312
X
se
nd
Table of Critical Values of the Durbin-Watson statistic
Critical Values, d, and du, of the Durbin-Watson Statistic, D
k = 1
11
k = 2
k = 1
du
1.54
1.54
α = 0.05
d₂
du
d₂
d₁
du
15
1.08
16 1.10
1.36
.95
1.37 .98
1.38 1.02 1.54
1.75
1.73
17 1.13
18 1.16
19 1.18
.82
.86
.90 1.71
1.39 1.05 1.53 .93 1.69
1.40 1.08 1.53 .97 1.68
20 1.20 1.41 1.10 1.54 1.00 1.68
21
1.54 1.03 1.67
22 1.24 1.43 1.15 1.54 1.05 1.66
23 1.26 1.44 1.17 1.54 1.08 1.66
24 1.27 1.45
1.19
1.55 1.10
1.66
25 1.29 1.45 1.21 1.55 1.12
1.22 1.42 1.13
.93 1.81
1.80
1.79
.96
.99
1.01
1.04
.83
.86
.90
.93
.95
1.78
.98
29
1.83
1.18 1.73 1.11
1.66
1.77
26 1.30 1.46 1.22 1.55 1.14 1.65 1.06 1.76
27 1.32 1.47 1.24 1.56 1.16 1.65 1.08 1.76 1.01
28 .33 1.48 1.26 1.56 1.18 1.65 1.10
1.03
1.75
1.34 1.48 1.27 1.56 1.20 1.65 1.12 1.74 1.05
30 1.35 1.49 1.28 1.57 1.21 1.65 1.14 1.74 1.07
31 1.36 1.50
1.30
1.57
1.23
1.65 1.16 1.74 1.09
32 1.37 1.50 1.31 1.57 1.24 1.65
33 1.38 1.51 1.32 1.58 1.26 1.65
34 1.39 1.51 1.33 1.58 1.27 1.65
35 1.40 1.52 1.34 1.58 1.28 1.65
36 1.41 1.52 1.35 1.59 1.29 1.65
37 1.42 1.53 1.36 1.59 1.31 1.66
38 1.43 1.54 1.37 1.59 1.32 1.66 1.26
39 1.43 1.54 1.38 1.60 1.33 1.66 1.27
40 1.44
1.29
45 1.48 1.57
1.67 1.34
1.82
1.81
1.81
1.80
1.19 1.73 1.13
1.21 1.73 1.15
1.22 1.73 1.16
1.24 1.73 1.18
1.25 1.72 1.19
1.72 1.21
1.80
1.80
1.79
1.72 1.22
1.79
1.54 1.39
1.60
1.43 1.62
1.34 1.66
1.38
1.72 1.23
1.72 1.29
50
1.50 1.59 1.46 1.63
1.67 1.38 1.72 1.34
1.53 1.60 1.49 1.64
1.55 1.62 1.51 1.65
55
60
65 1.57 1.63 1.54 1.66
70 1.58 1.64 1.55 1.67
75 1.60 1.65
1.57
1.68
80 1.61 1.66 1.59 1.69
85
90
95
100
1.79
1.78
1.42
1.77
1.45 1.68 1.41 1.72 1.38 1.77
1.48 1.69 1.44 1.73 1.41 1.77
1.50 1.70 1.47 1.73 1.44 1.77
1.52 1.70 1.49 1.74 1.46 1.77
1.54 1.71 1.51
1.74
1.49 1.77
1.56 1.72 1.53 1.74 1.51 1.77
1.57 1.72 1.55 1.75 1.52
1.59 1.73 1.57 1.75 1.54
1.60 1.73 1.58 1.75 1.56
1.61 1.74 1.59 1.76 1.57
1.62 1.67 1.60 1.70
1.63 1.68 1.61 1.70
1.64
1.65
1.77
1.78
1.78
1.78
1.69 1.62 1.71
1.69 1.63 1.72
d₂
du
d₂
du
d₂
du
d₂
du
d₂
du
k = 2
k = 3
k = 4
k=3
d₂
du
.69
.74
.78
.82
.86
.90 1.83
1.97
1.93
1.90
1.87
1.85
k = 5
k = 4
d₁
56
du
2.21
2.15
2.10
2.06
2.02
1.99
1.96
1.94
1.92
1.90
1.89
1.88
1.86
1.85
.56
.62
.67
.71
.75
.79
1.84
1.83
k = 5
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman