2. An economist used the least squares procedure to fit a regression model of the form y₁ =B₁ + B₁x₁₂ + B₂x₂, +4,, where y is the dependent variable, x,, x, are independent variables, and 5,- N(0,0¹). Tabulated below are sums obtained from a random sample of 25 observations in order to explain the dependent variable: 2y=5596 Στ΄-18310.629 Σκv=7375.44 Calculations have produced the following matrix Ex=219 Σ. – 3055 Σx,y=337072 (xx)² = Σ., = 10232 Ex=6725688 Σ.xx, = 133899 [0.11321518 -0.00444859 -0.00008367] 0.00274378 -0.00004786 0.00000123 Page 1 of 2 a. Form the matrices: XX and XY. b. Use (XX)" and XY to compute the OLS estimates for B. i=0,1,2. c. Write the fitted regression model and interpret the partial regression coefficients.

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
3. An economist used the least squares procedure to fit a regression model of the form
y₁ = B₁ + B₁x₁₁+ B₂x₂, +₁, where y is quantity demanded of a good (in million units),
x₁ is price of the good (in cedis), x₂ is household income (in thousand cedis), and
& ~ N(0,0²). Tabulated below are sums obtained 8 sets of observations
Σv=483
2y =30567
Σ.x,y = 3068
Ex=53
E x =365
Σx₂y=3795
Calculations have produced the following matrix
(x'x) ¹ =
[50.68462 -4.03077
0.33846
Ex=60
E x =472
Σxx, = 382
-3.18077]
0.23846
0.21346
a. Form the matrices: XX and X'Y.
b. Use (X'X)¹ and X'Y to compute the OLS estimates for ß₁, i = 0,1,2.
c. Write the fitted regression model and interpret the partial regression coefficients.
d. Find the variance-covariance matrix, &² (X'X)¹¹.
e. Use a = 0.05 to test the null hypothesis that B₁ <0. Discuss the findings.
f. Use a = 0.05 to test the null hypothesis that B₂ = 0. Discuss the findings.
g. Calculate and interpret R².
h. Use a = 0.01 to test for significance of the fitted model.
Transcribed Image Text:3. An economist used the least squares procedure to fit a regression model of the form y₁ = B₁ + B₁x₁₁+ B₂x₂, +₁, where y is quantity demanded of a good (in million units), x₁ is price of the good (in cedis), x₂ is household income (in thousand cedis), and & ~ N(0,0²). Tabulated below are sums obtained 8 sets of observations Σv=483 2y =30567 Σ.x,y = 3068 Ex=53 E x =365 Σx₂y=3795 Calculations have produced the following matrix (x'x) ¹ = [50.68462 -4.03077 0.33846 Ex=60 E x =472 Σxx, = 382 -3.18077] 0.23846 0.21346 a. Form the matrices: XX and X'Y. b. Use (X'X)¹ and X'Y to compute the OLS estimates for ß₁, i = 0,1,2. c. Write the fitted regression model and interpret the partial regression coefficients. d. Find the variance-covariance matrix, &² (X'X)¹¹. e. Use a = 0.05 to test the null hypothesis that B₁ <0. Discuss the findings. f. Use a = 0.05 to test the null hypothesis that B₂ = 0. Discuss the findings. g. Calculate and interpret R². h. Use a = 0.01 to test for significance of the fitted model.
2. An economist used the least squares procedure to fit a regression model of the form
y₁ =B₁ + B₁x₁₁+ B₂x₂, +s, where y is the dependent variable, x₁, x₂ are independent
variables, and s, ~ N (0,0). Tabulated below are sums obtained from a random
sample of 25 observations in order to explain the dependent variable:
Ev=5596
Er =
Σ.Χ.μ – 7375.44
Calculations have produced the following matrix
=18310.629
Σχ = 219
Σε=:
(xx)' =
= 3055
Σκv=337072
Σχ. = 10232
Ex=6725688
Σxx, = 133899
[0.11321518 -0.00444859 -0.00008367
0.00274378 -0.00004786
0.00000123
Page 1 of 2
a. Form the matrices: X'X and XY.
b. Use (XX) and XY to compute the OLS estimates for p,, i=0,1,2.
c. Write the fitted regression model and interpret the partial regression coefficients.
d. Find the variance-covariance matrix, & (XX).
e. Use a 0,05 to test the null hypothesis that B3, =0. Discuss the findings.
f. Use = 0.05 to test the null hypothesis that , >0. Discuss the findings.
g. Calculate and interpret R¹.
h. Use a 0.01 to test for significance of the fitted model.
Transcribed Image Text:2. An economist used the least squares procedure to fit a regression model of the form y₁ =B₁ + B₁x₁₁+ B₂x₂, +s, where y is the dependent variable, x₁, x₂ are independent variables, and s, ~ N (0,0). Tabulated below are sums obtained from a random sample of 25 observations in order to explain the dependent variable: Ev=5596 Er = Σ.Χ.μ – 7375.44 Calculations have produced the following matrix =18310.629 Σχ = 219 Σε=: (xx)' = = 3055 Σκv=337072 Σχ. = 10232 Ex=6725688 Σxx, = 133899 [0.11321518 -0.00444859 -0.00008367 0.00274378 -0.00004786 0.00000123 Page 1 of 2 a. Form the matrices: X'X and XY. b. Use (XX) and XY to compute the OLS estimates for p,, i=0,1,2. c. Write the fitted regression model and interpret the partial regression coefficients. d. Find the variance-covariance matrix, & (XX). e. Use a 0,05 to test the null hypothesis that B3, =0. Discuss the findings. f. Use = 0.05 to test the null hypothesis that , >0. Discuss the findings. g. Calculate and interpret R¹. h. Use a 0.01 to test for significance of the fitted model.
Expert Solution
steps

Step by step

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