






4. We have n statistical units. For unit i, we have (x; yi), for i 1,2,...,n. We used the least squares line to obtain the estimated regression line bobi . (a) Show that the centroid (z, y) is a poin...
4. We have n statistical units. For unit i, we have (xi; yi), for i-1,2,... ,n. We used the least squares line to obtain the estimated regression line у = bo +biz. (a) Show that the centroid (x, y) is a point on the least squares line, where x = (1/n) and у = (1/n) Σ¡ı yi. (Hint: E ) i-1 valuate the line at x = x. (b) In the suggested exercises, we showed that e,-0 and e-0, where...
2. Consider the simple linear regression model: where e1, .. . , es, are i.i.d. N (0, o2), for i= 1,2,... , n. Suppose that we would like to estimate the mean response at x = x*, that is we want to estimate lyx=* = Bo + B1 x*. The least squares estimator for /uyx* is = bo bi x*, where bo, b1 are the least squares estimators for Bo, Bi. ayx= (a) Show that the least squares estimator for...
Considering multiple linear regression models, we compute the regression of Y, an n x 1 vector, on an n x (p+1) full rank matrix X. As usual, H = X(XT X)-1 XT is the hat matrix with elements hij at the ith row and jth column. The residual is e; = yi - Ýi. (a) (7 points) Let Y be an n x 1 vector with 1 as its first element and Os elsewhere. Show that the elements of the...
Considering multiple linear regression models, we compute the regression of Y, an n x 1 vector, on an n x (p+1) full rank matrix X. As usual, H = X(XT X)-1 XT is the hat matrix with elements hij at the ith row and jth column. The residual is e; = yi - Ýi. (a) (7 points) Let Y be an n x 1 vector with 1 as its first element and Os elsewhere. Show that the elements of the...
Name X-Value Y-Value 4 (a) Plot the five points and the centroid. Be sure that Y is the vertical axis and X is the horizontal axis. (b) Draw a line that appears to fit the five points. (c) Find the bo and b, for the line you drew in part (b). (d) Find the residuals. Specifically, calculate e,Y (bo bX) for i H J, K, L, and M (e) Calculate the sum of the squared residuals (2 e) for the...
Please show all work! No excel please!!
1.2 Consider the following five points: Name X-Value Y-Value L. (a) Plot the five points and the centroid. Be sure that Y is the vertical axis and X is the horizontal axis. (b) Draw a line that appears to fit the five points. (c) Find the bo and b, for the line you drew in part (b). (d) Find the residuals. Specifically, calculate e,Y-bo + bX) foriH, J, K, L, and M. (e)...
2. Suppose we are given data on n observations (x,Y), i 1,... , n, and we have a linear model, = SXY/SXX and A,-ㄚ-Ax be the least-square estimates so that E(X) = β0 +ATp Let given in lecture. (a) Show that E(5xx)-A5xx and E(Y)-Ao +A2. (b) Use (a) to show that E(A)-A and E(A)-A. În other words, these are unbiased estimators (c) The fitted values Yi = ArtAz; are used as estimates of E(K), and the residuals ei = Y-...
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....
2
2. Suppose we are given data on n observations (i, Y),, and we have a linear model, so that E(X)-A, + ßiri-Let呙-SXY /SXX and β') = F-β,2 be the least-square estimates given in lecture (a) Show that E(SXY)-ASXX and E (T)-A] + β,7. (b) Use (a) to show that E(角)-βι and E(A) = 3). In other words, these are unbiased estimators. (c) The fitted values Yt = Atari are used as estimates of E(A), and the residuals e.-Yi for...
Please solve f, g, h, and i. Please no excel! Show all work
please!
1.2 Consider the following five points: Name X-Value Y-Value L. (a) Plot the five points and the centroid. Be sure that Y is the vertical axis and X is the horizontal axis. (b) Draw a line that appears to fit the five points. (c) Find the bo and b, for the line you drew in part (b). (d) Find the residuals. Specifically, calculate e,Yb bX) for...