The following table presents the mean cost of a hospital stay, in $1000s, and the number of hospital stays, in millions, in the United States for each of 15 years. Cost Number 9.8 34.3 10.3 34.1 10.3 34.2 10.6 34.2 11.3 34.7 11.8 34.9 12.5 35.5 13.7 36.4 15.0 17.3 37.2 37.8 19.7 38.2 20.5 38.7 22.3 39.2 24.0 39.5 26.1 39.5 Compute the least-squares line for predicting the number of stays (y) from the cost (x). b. Compute the coefficient of determination r?. Construct a residual plot. Does the relationship appear to be linear? True or false: If the coefficient of determination is large, the relationship must be linear. a. C. d.

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
The following table presents the mean cost of a hospital stay, in $1000s, and the number of
hospital stays, in millions, in the United States for each of 15 years.
Cost
Number
9.8
34.3
10.3
34.1
10.3
34.2
10.6
34.2
11.3
34.7
11.8
34.9
12.5
35.5
13.7
36.4
15.0
17.3
37.2
37.8
19.7
38.2
20.5
38.7
22.3
39.2
24.0
39.5
26.1
39.5
Compute the least-squares line for predicting the number of stays (y) from the cost (x).
b. Compute the coefficient of determination r?.
Construct a residual plot. Does the relationship appear to be linear?
True or false: If the coefficient of determination is large, the relationship must be
linear.
a.
C.
d.
Transcribed Image Text:The following table presents the mean cost of a hospital stay, in $1000s, and the number of hospital stays, in millions, in the United States for each of 15 years. Cost Number 9.8 34.3 10.3 34.1 10.3 34.2 10.6 34.2 11.3 34.7 11.8 34.9 12.5 35.5 13.7 36.4 15.0 17.3 37.2 37.8 19.7 38.2 20.5 38.7 22.3 39.2 24.0 39.5 26.1 39.5 Compute the least-squares line for predicting the number of stays (y) from the cost (x). b. Compute the coefficient of determination r?. Construct a residual plot. Does the relationship appear to be linear? True or false: If the coefficient of determination is large, the relationship must be linear. a. C. d.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 7 steps with 5 images

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