) Determine the slope, b, of the least squares line and the intercept, a, of the least squares line. b) Determine the Residual Sum of Squares (RSS). c) Determine the proportion of variance in Y explained by X (the coefficient ofdetermination).

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

a) Determine the slope, b, of the least squares line and the intercept, a, of the least squares line.

b) Determine the Residual Sum of Squares (RSS).

c) Determine the proportion of variance in Y explained by X (the coefficient ofdetermination).

III. In the following example, the n = 20 employees (who lost there jobs when their
company went bankrupt) were able to find employment within a two year period. The
table below gives their previous salary X (in 1000$) and the salary of their new
employment Y (in 1000$).
4 5
Employee
Previous Salary X (1000S)
New Salary Y (1000S)
2
3
6.
7
8
10
43.3
35.1
35.1
32.6
30.5
43.1
40.2
43
37.1
38
40.6
17.3
22
20.8
37.4
43
37.6
59.1
42.7
29.8
Employee
11
12
13
14
15
16
17
18
19
20
Previous Salary X (1000S)
New Salary Y (1000S)
39.0
22.6
19.8
43.9
45.0
32.1
55.6
27.3
45.7
56.7
50.9
37.0
23.0
23.2
46.8
33.6
49.3
34.5
46.8
58.2
Note:
n= 20, Σx 765.7, Σy-753.6, Σ-3102143, Σν-31274.42 , Σxy30180.25
Transcribed Image Text:III. In the following example, the n = 20 employees (who lost there jobs when their company went bankrupt) were able to find employment within a two year period. The table below gives their previous salary X (in 1000$) and the salary of their new employment Y (in 1000$). 4 5 Employee Previous Salary X (1000S) New Salary Y (1000S) 2 3 6. 7 8 10 43.3 35.1 35.1 32.6 30.5 43.1 40.2 43 37.1 38 40.6 17.3 22 20.8 37.4 43 37.6 59.1 42.7 29.8 Employee 11 12 13 14 15 16 17 18 19 20 Previous Salary X (1000S) New Salary Y (1000S) 39.0 22.6 19.8 43.9 45.0 32.1 55.6 27.3 45.7 56.7 50.9 37.0 23.0 23.2 46.8 33.6 49.3 34.5 46.8 58.2 Note: n= 20, Σx 765.7, Σy-753.6, Σ-3102143, Σν-31274.42 , Σxy30180.25
Expert Solution
steps

Step by step

Solved in 2 steps with 2 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
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