Question: Use the rnorm() function to create a vector of 150 observations drawn from a N(0,1) distribution (call this vector x), and another vector of 150

Use the rnorm() function to create a vector of 150 observations drawn from a N(0,1) distribution (call this vector x), and another vector of 150 observations drawn from a N(0, 0.2) distribution (call this vector Error). Use these to create a vector y according to the model Y = -1.5 + 0.8 X + Error. Consider this data to answer questions below:

Fit a least squares linear model to predict y using x. How do Use the rnorm() function to create a vector of 150 observations drawno and ? 1 compare to the actual values of ?0 & ? 1 . What are the 95% confidence intervals for from a N(0,1) distribution (call this vector x), and another vector ofo and ? 1 ? what is the prediction interval for a case with x = 1?

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 Databases Questions!