Question: # Problem 6 (2 pts each) # (a) Set a random vector x of 1000 random numbers from Pois(175). Define y = 0.2*x - 10

# Problem 6 (2 pts each)

# (a) Set a random vector x of 1000 random numbers from Pois(175). Define y = 0.2*x - 10 + Err,where Err is normally distributed with zero mean and standard deviation of 47.1

# (b) Create simple regression model of y a linear function of x,

print the regression summary, and create scatter-plot of y (on vertical axis) against x (on horizontal axis) together with the regression line.

# (c) State whether with 10% significance we can conclude that y dependslinearly on x. Justify your conclusion!

# (d) Plot the empirical density of the residuals associated with this regression model.

# (e) Write what is the (population) Regression Variance equal to AND what is your best estimate of it from the regression summary?

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!