for further any queries please comment and thank you
mealenk RI TAT Problem 2: ON Consider the tollowing observed values of (Ti, Yi): (2, –1)...
Consider the following observed values: (-5,-2) (-3,1) (0,4) (2,6) (1,3) (1) find the estimated regression line based on the observed data (2) for each xi, compute fitted value of yi (3) compute the residuals ei (4) calculate the coefficient of determination
2. Consider a simple linear regression model for a response variable Yi, a single predictor variable ri, i-1,... , n, and having Gaussian (i.e. normally distributed) errors Ý,-BzitEj, Ejį.i.d. N(0, σ2) This model is often called "regression through the origin" since E(Yi) 0 if xi 0 (a) Write down the likelihood function for the parameters β and σ2 (b) Find the MLEs for β and σ2, explicitly showing that they are unique maximizers of the likelihood function. (Hint: The function...
Exercise 7.7 Of the variables (yi, xi) only the pair (yi, xi) are observed. In this case, we say that yi is a latent variable. Suppose where ui is a measurement error satisfying Let ß denote the OLS coefficient from the regression of yi on (a) Ís β the coefficient from the linear projection of yi on z? (b) Is β consistent for β as n oo? (c as n oo. e) Find the asymptotic distribution of yn(3-8 as
Given are five observations for two variables, x and y. xi Yi 1 4 2 7 3 8 4 5 11 15 The estimated regression equation for these data is y = 1.2 + 2.6x. a. Compute SSE, SST, and SSR using the following equations (to 1 decimal). SSD = 2(y - ý) SST = 2(y; - 5)2 SSR = 2() - 12 SSE SST SSR b. Compute the coefficient of determination 2 (to 3 decimals). Does this least squares...
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...
Given are five observations for two variables, and y. 1 2 3 5 Yi 3 7 5 11 14 The estimated regression equation for these data is ý = 0.2 +2.6z. a. Compute SSE, SST, and SSR using the following equations (to 1 decimal). SSE = Sy.- SST = = (y - SSR = = (y - SSE SST SSR b. Compute the coefficient of determination (to 3 decimals). Does this least squares line provide a good fit? Yes, the...
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 point on the least squares line, where x-(1/n) Σ-Χί and у-(1/ n) Σ|-1 yi. (Hint: Evaluate the line at x x.) (b) In the suggested exercises, we showed that e,-0 and where e is the ith residual, that is e -y...
2. Suppose Y ~ Exp(a), which has pdf f(y)-1 exp(-y/a). (a) Use the following R code to generate data from the model Yi ~ Exp(0.05/Xi), and provide the scatterplot of Y against X set.seed(123) n <- 500 <-rnorm (n, x 3, 1) Y <- rexp(n, X) (b) Fit the model Yi-Ao + Ax, + ε¡ using the lm function in R and provide a plot of the best fit line on the scatterplot of Y vs X, and the residual...
2. Consider a simple linear regression i ion model for a response variable Y, a single predictor variable ,i1.., n, and having Gaussian (i.e. normally distributed) errors: This model is often called "regression through the origin" since E(X) = 0 if xi = 0 (a) Write down the likelihood function for the parameters β and σ2 (b) Find the MLEs for β and σ2, explicitly showing that they are unique maximizers of the likelihood function Hint: The function g(x)log(x) +1-x...
Li 1 2 3 4 5 Yi 4 5 5 11 13 a. Which of the following scatter diagrams accurately represents the data? --05. 05 5 3 -2,5-33,5.4-4,5. 5,5 00 05.. .. ...25... 3,5.4.45 5 5 5 0 , 5 1 , 5 2 ,5.. .3,5 4 4,5 5,5 - Select your answer - b. What does the scatter diagram indicate about the relationship between the two variables? - Select your answer - c. Try to approximate the relationship between...