4.6 We have five observations on x and y. They are x₁ = 3,2,1,-1,0 with corresponding y values y = 4,2,3,1,0. The fitted least squares line is y, = 1.2 +0.8x, the sum of squared least squares residuals is = 3.6 and Σ(-y)² = 10. Carry out this exercise with a hand calculator. a. Calculate the fitted values y, and their sample mean y. Compare this value to the sample mean of the y values. b. Calculate Σ, (; – 5) and Σ1 ( − 5)/Σ (-5). - i=1 c. The least squares residuals are ê; = 0.4, -0.8, 1, 0.6, and -1.2. Calculate Σ( - ) ê i=1 2 d. Calculate 1 -/-(-)² and compare it to the results in part (b). i=1 e. Show, algebraically, that Σ(-y) (y; - y) = i=1 y; - Ny². Calculate this value. f. Using Σ(x₁ - x)² = 10, and previous results, calculate r= [Σº (9; − 3)(x - 1)] / [√Σ (91 − 5)² √Σ²2, (1; − 5) ²
4.6 We have five observations on x and y. They are x₁ = 3,2,1,-1,0 with corresponding y values y = 4,2,3,1,0. The fitted least squares line is y, = 1.2 +0.8x, the sum of squared least squares residuals is = 3.6 and Σ(-y)² = 10. Carry out this exercise with a hand calculator. a. Calculate the fitted values y, and their sample mean y. Compare this value to the sample mean of the y values. b. Calculate Σ, (; – 5) and Σ1 ( − 5)/Σ (-5). - i=1 c. The least squares residuals are ê; = 0.4, -0.8, 1, 0.6, and -1.2. Calculate Σ( - ) ê i=1 2 d. Calculate 1 -/-(-)² and compare it to the results in part (b). i=1 e. Show, algebraically, that Σ(-y) (y; - y) = i=1 y; - Ny². Calculate this value. f. Using Σ(x₁ - x)² = 10, and previous results, calculate r= [Σº (9; − 3)(x - 1)] / [√Σ (91 − 5)² √Σ²2, (1; − 5) ²
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
Please answer 4.6
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 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