Question: Suppose that in the linear regression model Y =a+bX + we know that a=3 , b=0, ' s are iid from Normal(0 , 2=1.4), and

Suppose that in the linear regression model Y =a+bX + we know that a=3 , b=0, ' s are iid from Normal(0 , 2=1.4), and X =( 0.1, 0.2 , 0.45 ,0.13 , 0.08 , 0.52 , 0.34 , 1.04 , 0.93 ,0.03). solve this in R programming language. a) Simulate the observations Y for the fixed X b) Fit a linear regression model for the simulated data and find the estimates of a and b. c) Test if there is a linear relationship between X and Y. Write down the hypotheses, the R code and output, and your conclusion. d) Is your conclusion in c) correct?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!