Problem 1
The linear regression model can be written in matrix notation as y = X + . Create the table shown below and describe what each term (y,X,,) represents (interpretation), specify the dimension of each term (size), indicate whether we model the term as random or non-random, and whether the term is observed or unobserved.
| Term | Size | Interpretation | Random? | Observable? |
| y X |
Problem 2
Assuming a simple linear regression model, derive the ordinary least squares estimators of 0 and 1. Do not use matrix notation in deriving your solution.
Problem 3
Let H = X(XTX)1XT is the hat matrix. Prove that IH is a projection matrix (Symmetric + Idempotent).
Problem 3
While proving that 1 is an unbiased estimator of 1, we represented the OLS estimate as 1 = PkiYi, where ki = PX(XiiXX)2. Use it with the properties of ki, that we already have proved, to derive the variance of 1. (Hint: in linear regression framework we assume V ar(i) = 2 and Cov(i,j) = 0 when i 6= j)
Problem 4
P(yiyi)2
Under simple linear regression model, the Mean Squared Error (MSE) is defined as n2 where n is the number of observations. MSE is an unbiased estimator of 2, where 2 is the variance of i. What is an unbiased estimator of the variance of 1?
Problem 5
The square root of the variance of an estimator is the standard error (SE). You can derive the SE () from problem 4. According to theory,
1
1 1
tn2
SE(1)
where tn2 represents a Students t distribution with n 2 degrees of freedom. Find an expression for 95%
confidence interval of 1.
Problem 6
If 1 = 2, SE(1) = 0.02, and n = 50 calculate 95% confidence interval for 1.
Problem 7
Based on the confidence interval on problem 6, perform the hypothesis test,
H0 : 1 = 0 Vs. H1 : 1 6= 0
Problem 8
Use the simu_hw1.txt data and fit a multiple linear regression model with response as the response variable and pred1, pred2, and pred3 as predictors. Write down the equation of the fitted line (fitted model).

![[Solved] MATH4387-Homework 2](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] MATH4387-Homework 3](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.