significant
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
a. Compute the least-square regression line for predicting sales from temperature.
b. Test for a significant linear relationship between the two variables coffee sales (?) and
temperature (?) by doing a hypothesis test regarding the population slope ?1. Include the
null and alternative hypothesis and the conclusion of the test. Use the critical value
approach, with a 0.05 level of significance. Use your table of statistical values for the
relevant information. Write your conclusion and interpret it.

Transcribed Image Text:We want to check the relationship between coffee sales and temperature, and we have the
following data (n = 15).
Temperature, x Coffee sales, y
(in degrees
(in dollars)
Fahrenheit)
71.6
1987.9
64.7
1820.0
For this data we have x = 59.6267 and y = 1872.4533 with
Sx = 14.7342 and sy = 236.3494
51.2
2211.6
45.4
1796.8
54.3
1607.1
The value of the sample correlation coefficient r for these data
is approximately -0.605. (r= -0.605)
36.6
1977.7
83.3
1537.7
67.3
1780.8
74.7
1607.8
The standard error of the slope of this least-squares regression
line is approximately 3.542. (s = 3.542)
39.1
2239.4
74.9
1497.2
47.2
1953.2
76.1
1990.8
49.1
2143.1
58.9
1935.7
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 2 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