(d) Find a 95% CI estimate on the slope. (e) Test the hypothesis He B₁ - 0 versus H₁: B, a= 0.05. What conclusion can you draw about coefficient? (1) Test the hypothesis H.: B, a = 0.05. What conclusions model? 0 using the slopes 0 versus H, B, 0 using can you draw about the best

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
Question
Using r-studio please code the following parts d-f
Dollars
4.70
4.00
4.59
4.70
4.65
4.19
4.69
3.95
kWh
2.59
2.61
2.66
2.58
2.32
2.31
2.52
2.32
Dollars
4.01
4.31
4.51
4.46
4.55
4.14
4.25
kWh
2.65
2.64
2.38
2.41
2.35
2.55
2.34
(a) Draw a scatter diagram of these data. Does a straight-line
relationship seem plausible?
(b) Fit a simple linear regression model to these data.
(c) Test for significance of regression using a 0.05. What is
the P-value for this test?
(d) Find a 95% CI estimate on the slope.
(e) Test the hypothesis Ho: B₁ = 0 versus H₁: B₁ +0 using
x = 0.05. What conclusion can you draw about the slope
coefficient?
(f) Test the hypothesis H₁: B, 0 versus H₁: B, 0 using
x = 0.05. What conclusions can you draw about the best
model?
Transcribed Image Text:Dollars 4.70 4.00 4.59 4.70 4.65 4.19 4.69 3.95 kWh 2.59 2.61 2.66 2.58 2.32 2.31 2.52 2.32 Dollars 4.01 4.31 4.51 4.46 4.55 4.14 4.25 kWh 2.65 2.64 2.38 2.41 2.35 2.55 2.34 (a) Draw a scatter diagram of these data. Does a straight-line relationship seem plausible? (b) Fit a simple linear regression model to these data. (c) Test for significance of regression using a 0.05. What is the P-value for this test? (d) Find a 95% CI estimate on the slope. (e) Test the hypothesis Ho: B₁ = 0 versus H₁: B₁ +0 using x = 0.05. What conclusion can you draw about the slope coefficient? (f) Test the hypothesis H₁: B, 0 versus H₁: B, 0 using x = 0.05. What conclusions can you draw about the best model?
Expert Solution
steps

Step by step

Solved in 6 steps with 3 images

Blurred answer
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