5.1 Consider the multiple regression model y₁=xB₁+x₂ + xpB₂ +€₁ with the seven observations on y, XX. and x, given in Table 5.5. TABLE 5.5 Y₁ 4 1 -2 2 Data for Exercise 5.1 1 f. Find the sample correlation between g. Find the standar d. Find the least squares residuals ê, ê...... e. Find the variance estimate 6². X12 0 2 -2 1 -2 0 1 -2 2 * * -1 Use a hand calculator or spreadsheet to answer the following questions: a. Calculate the observations in terms of deviations from their means. That is, find x = -₂ XX-X. and y=y₁-3. b. Calculate Ex. Ex Ex. Ex and Ex c. Use the expressions in Appendix 5A to find least squares estimates b₁, by, and by. AC R

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
Please answer 5.1 d-f, thank you!
**5.8 Exercises**

**5.8.1 Problems**

**5.1** Consider the multiple regression model

\(y_i = x_{i1}\beta_1 + x_{i2}\beta_2 + x_{i3}\beta_3 + \epsilon_i\)

with the seven observations on \(y_i\), \(x_{i1}\), \(x_{i2}\), and \(x_{i3}\) given in Table 5.5.

**TABLE 5.5: Data for Exercise 5.1**

\[
\begin{array}{cccc}
y_i & x_{i1} & x_{i2} & x_{i3} \\
\hline
1 & 1 & 0 & 1 \\
4 & 1 & 0 & 2 \\
1 & 1 & -1 & -2 \\
0 & 1 & 2 & 2 \\
-1 & 1 & 1 & 1 \\
2 & 1 & -2 & -2 \\
-2 & 1 & 0 & -1 \\
\end{array}
\]

Use a hand calculator or spreadsheet to answer the following questions:

a. Calculate the observations in terms of deviations from their means. That is, find \(x^*_{i1} = x_{i1} - \bar{x}_1\), \(x^*_{i2} = x_{i2} - \bar{x}_2\), and \(y^*_i = y_i - \bar{y}\).

b. Calculate \(\sum x^*_{i2} y^*_i\), \(\sum x^*_{i3} y^*_i\), \(\sum x^*_{i2} x^*_{i3}\), and \(\sum x^{*2}_{i2}\).

c. Use the expressions in Appendix 5A to find least squares estimates \(b_1\), \(b_2\), and \(b_3\).

d. Find the least-squares residuals \(\hat{\epsilon}_1, \hat{\epsilon}_2, \ldots, \hat{\epsilon}_7\).

e. Find the variance estimate \(\hat{\sigma}^2\).

f. Find the sample correlation between \(x_2\) and \(
Transcribed Image Text:**5.8 Exercises** **5.8.1 Problems** **5.1** Consider the multiple regression model \(y_i = x_{i1}\beta_1 + x_{i2}\beta_2 + x_{i3}\beta_3 + \epsilon_i\) with the seven observations on \(y_i\), \(x_{i1}\), \(x_{i2}\), and \(x_{i3}\) given in Table 5.5. **TABLE 5.5: Data for Exercise 5.1** \[ \begin{array}{cccc} y_i & x_{i1} & x_{i2} & x_{i3} \\ \hline 1 & 1 & 0 & 1 \\ 4 & 1 & 0 & 2 \\ 1 & 1 & -1 & -2 \\ 0 & 1 & 2 & 2 \\ -1 & 1 & 1 & 1 \\ 2 & 1 & -2 & -2 \\ -2 & 1 & 0 & -1 \\ \end{array} \] Use a hand calculator or spreadsheet to answer the following questions: a. Calculate the observations in terms of deviations from their means. That is, find \(x^*_{i1} = x_{i1} - \bar{x}_1\), \(x^*_{i2} = x_{i2} - \bar{x}_2\), and \(y^*_i = y_i - \bar{y}\). b. Calculate \(\sum x^*_{i2} y^*_i\), \(\sum x^*_{i3} y^*_i\), \(\sum x^*_{i2} x^*_{i3}\), and \(\sum x^{*2}_{i2}\). c. Use the expressions in Appendix 5A to find least squares estimates \(b_1\), \(b_2\), and \(b_3\). d. Find the least-squares residuals \(\hat{\epsilon}_1, \hat{\epsilon}_2, \ldots, \hat{\epsilon}_7\). e. Find the variance estimate \(\hat{\sigma}^2\). f. Find the sample correlation between \(x_2\) and \(
Expert Solution
steps

Step by step

Solved in 4 steps

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