Question

3. Suppose the following data has been obtained for the linear model Y Bo+ x 14 2 1 4 0 22 (a) Find the OLS estimators βο and

a,b,c,d

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Given the data, we know that number of observations, n = 4 and

Sum(xi) = 1 + (-4) + 2 + 1 = 0 ; so, x(bar) = sum(xi)/n = 0/4 = 0

Sum(yi) = 4 + 0 + 2 + (-2) = 4 ; so, y(bar) = sum(yi)/n = 4/4 = 1

(a) Denoting estimated betas by b for ease of writing, so finding b0 and b1

b1 = sum[(xi - x(bar))(yi - y(bar))]/sum[xi - x(bar)]2

Now, sum[(xi-x(bar))(yi-y(bar))] = [((1-0)*(4-1))+((-4-0)*(0-1))+((2-0)*(2-1))+((1-0)*(-2-1))]

= 3 + 4 + 2 + (-3) = 6

And, sum[xi - x(bar)]2 = [(1-0)2+(-4-0)2+(2-0)2+(1-0)2] = 1 + 16 + 4 + 1 = 22

So, b1 = 6/22 = 0.273 (approx)

b0 = y(bar) - b1*x(bar)

b0 = 1 - (6/22)*0 = 1

So, the regression line is y^ = 1 + 0.273x

(b) Using the matrix method, the model can be written as:

Y = XB + e where Y is column sector of dependent variable and so on. (To solve this you should be very clear with basic matrices properties and formulae). So,

Y = 402-2 ; X = 4 1 , where column of 1 is for intercept term estimation. B = bl and finally, e = 1234

Then, we are required to find the B vector. Now, required formula is:

B = (X'X)-1(X'Y)

X' = 1-4 2 1

So, using simple matrix multiplication, we find

X'X = 1*1+(-4) * 1 + 2 * 1 + 1 * 1 1*1+(-4) * (一4) + 2 * 2 + 1 * 1

X'X = 111 1(-4)2 +1 1-4) +2+1 116 +4+1 = 0 2 40

Then, (X'X)-1 = adjoint(X'X)/|X'X|

|X'X| = 4*22 - 0*0 = 88

Adjoint(X'X) = 0 2 40 (coming out to be same as (X'X)

So, (X'X)-1 = (1/88)*0 2 40

And, X'Y =

Add a comment
Know the answer?
Add Answer to:
3. Suppose the following data has been obtained for the linear model Y Bo+ x 14 2 1 4 0 22 (a) Fi...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 3. Suppose the following data has been obtained for the linear model Y -Bo+ yi 4 02-2 (a) Find th...

    3. Suppose the following data has been obtained for the linear model Y -Bo+ yi 4 02-2 (a) Find the OLS estimators po and pi using the non-matrix method. (b) Find the OLS estimators using the matrix method. e coefficient of determination. (d) Find the standard error of 3. Suppose the following data has been obtained for the linear model Y -Bo+ yi 4 02-2 (a) Find the OLS estimators po and pi using the non-matrix method. (b) Find the...

  • Suppose that the data (X1, Y), ... (Xn, Yn is generated by the following ("true") model: a+ bX; + сX; +ei, wher...

    Suppose that the data (X1, Y), ... (Xn, Yn is generated by the following ("true") model: a+ bX; + сX; +ei, where a, b, c are some parameters and ei are independent errors with zero mean and variance a2. Suppose that we fit the simple linear regression model to the data (i.e. we ignore the quadratic term cX2) using the OLS method. Find the expectation of the residual from the fit. Suppose that the data (X1, Y), ... (Xn, Yn...

  • Problem 3: Assume that 'nature' behaves according to the following linear additive model: Y = Bo...

    Problem 3: Assume that 'nature' behaves according to the following linear additive model: Y = Bo + B1X +€, where ε is a Gaussian random variable N (0,02). Using this model, nature generates the following training dataset: D = {(Li, yi)}}–1 = {(–2, 47/2),(-1, -3), (0,0), (1,3), (2,7/2)}. Please, answer the questions below without the help of any computer software: a. Compute the estimates of Bo and @1 for a linear estimator û = Bo + 1X using the data...

  • f and g 1. Consider the standard bivariate regression: Y = Bo + B,X, + a)...

    f and g 1. Consider the standard bivariate regression: Y = Bo + B,X, + a) What is the above function called? b) What are Y, X, X, Bo, and B, called? Graph an example of the function along with some fake data points (X,Y) and label each of the parts. c) Suppose that we estimate the above function using a sample of data and the ordinary least squares method (OLS). Write down the sample regression function. d) What is...

  • For observations {Y, X;}=1, recall that for the model Y = 0 + Box: +e the...

    For observations {Y, X;}=1, recall that for the model Y = 0 + Box: +e the OLS estimator for {00, Bo}, the minimizer of E. (Y: - a - 3x), is . (X.-X) (Y-Y) and a-Y-3X. - (Xi - x) When the equation (1) is the true data generating process, {X}- are non-stochastic, and {e} are random variables with B (ei) = 0, B(?) = 0, and Ele;e;) = 0 for any i, j = 1,2,...,n and i j, we...

  • 15. Suppose that the population model is y-βο + Ax + u Another way to deal...

    15. Suppose that the population model is y-βο + Ax + u Another way to deal with endogeneity ofr s to employ the Two-stage Least Squared Estimator. In the first stage, we estimate x = π。+ π12+ u and obtain its prediction x and run the regression y = β° + Ax + u in the second stage. Which of the following is correct regarding therelationship between the 2SLS and IV estimators? (a) The 2SLS estimator is exactly the same...

  • 6. This problem considers the simple linear regression model, that is, a model with a single...

    6. This problem considers the simple linear regression model, that is, a model with a single covariate r that has a linear relationship with a response y. This simple linear regression model is y = Bo + Bix +, where Bo and Bi are unknown constants, and a random error has normal distribution with mean 0 and unknown variance o' The covariate a is often controlled by data analyst and measured with negligible error, while y is a random variable....

  • Q. 3 (14 marks) Consider the following data set where y is the response variable and...

    Q. 3 (14 marks) Consider the following data set where y is the response variable and x is a predictor. 7 14 5 -1 2 -2 a) (1 mark) Write down a linear model for y, and with i = 1,2,3. b) (2 marks) Write out the coefficient matrix X c) (4 marks) Find the hat matrix H = X(X"X)-'XT. d) (4 marks) Find the LSEs of the coefficients. e) (3 marks) Find the residuals by using the hat matrix

  • 4. (60%) Consider the following linear regression model s XIXJ YB1+B2X u, i 1,2.. .n Suppose...

    4. (60%) Consider the following linear regression model s XIXJ YB1+B2X u, i 1,2.. .n Suppose the following sample is observed. 6 X 2 10 8 4 Y 3 4 5 6 2 4.8 3.Y 4c (1) Find the OLS estimates for B, and B2. (2) Compute the estimate of Var(u). (3) What are the variances of the OLS estimates? (4) Compute the coefficient of determination. (5) Show the relationship between r2 and Dxy (6) Compute the correlation coefficient pxy...

  • 2. Suppose we have the simple regression model Y =a+8X:+E, and their OLS coefficient estimators a...

    2. Suppose we have the simple regression model Y =a+8X:+E, and their OLS coefficient estimators a and b. Answer the following questions. (a) Suppose we multiply X, by 1/2 for all i and do the OLS estimation again using X as the regressor (the independent variable). What will be your new estimators, denoted by ă (intercept) and b (slope)? Compare them with the original OLS estimators a and b, respectively (b) Compare Var[b] and Var[b]. Are they the same or...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT