Question: Need help with part 1, how to get problem started Problem 3 Suppose we have Y = XS +e, where n 2 p 2 4,
Need help with part 1, how to get problem started

Problem 3 Suppose we have Y = XS +e, where n 2 p 2 4, where & ~did N(0, o?). i. Setting seed as 3701, generate the design matrix as iid normal entries. Suppose n = 10, p =4, 8 = (1,5, -1,3), o = .1. We want to find the coverage of the 95% CI for 82 + 83 - 284. Write an R-code for this. Explain ALL steps.(15 points) ii. Generate one realization of Y using the / given in the previous part and the design matrix. We want to test Ho : B2 + 83 = 2B4 VS Ha : B2 + B3 / 2B4 Write a code as to perform this test.(5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
