3) Now let's assume you wanted to predict weights from heights. In other words, now let's use the same data from problem (1) and do a regression instead. (a) Calculate b0 and b1. (b) Carefully draw your least square regression line on the plot you made in 1(a). (Don't just “sketch”, be a little careful).

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
100%

height 60 67 62 70 66
weight 119 143 131 155 136

3) Now let's assume you wanted to predict weights from heights. In other words, now let's use the same data from problem (1) and do a regression instead.

(a) Calculate b0 and b1.
(b) Carefully draw your least square regression line on the plot you made in 1(a). (Don't just “sketch”, be a little careful).

 

S.No.
Y
(x - x)²
(y -7)2
(x -x)(y - y)
1
60
119
25
316.84
89
67
143
4
38.44
12.4
62
131
33.64
17.4
70
155
331.24
91
66
136
1
0.64
-0.8
Total
325
684
64
720.8
209
=x 325
y = - E; yi = = × 684 = 136. 8
= 65
%3D
SS, = E, (x; – x)² = 64
%3D
SSy= E; Vi – )² = 720.8
%3D
%3D
SS-Σ (- 1) (ι - ) - 209
Xi
|
The correlation coefficient is
SScp
VSS,xSS,
E; (xi-X) (y-5)
ср
r =
209
%3D
V64x720.8
= 0.973
25
2.
3.
4)
Transcribed Image Text:S.No. Y (x - x)² (y -7)2 (x -x)(y - y) 1 60 119 25 316.84 89 67 143 4 38.44 12.4 62 131 33.64 17.4 70 155 331.24 91 66 136 1 0.64 -0.8 Total 325 684 64 720.8 209 =x 325 y = - E; yi = = × 684 = 136. 8 = 65 %3D SS, = E, (x; – x)² = 64 %3D SSy= E; Vi – )² = 720.8 %3D %3D SS-Σ (- 1) (ι - ) - 209 Xi | The correlation coefficient is SScp VSS,xSS, E; (xi-X) (y-5) ср r = 209 %3D V64x720.8 = 0.973 25 2. 3. 4)
180
160
140
120
100
80
60
40
20
58
60
62
64
66
70
72
Height
Weight
68
Transcribed Image Text:180 160 140 120 100 80 60 40 20 58 60 62 64 66 70 72 Height Weight 68
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

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