Question: Repeat Problem 2.23 using only 10 observations in each sample, drawing one observation from each level $x=1,2,3, ldots, 10$. What impact does using $n=10$ have

Repeat Problem 2.23 using only 10 observations in each sample, drawing one observation from each level $x=1,2,3, \ldots, 10$. What impact does using $n=10$ have on the questions asked in Problem 2.23? Compare the lengths of the CIs and the appearance of the histograms.


Data From Problem 2.23

Consider the simple linear regression model y=50+10x+ε????=50+10????+???? where ε???? is NID (0,16)(0,16). Suppose that n=20????=20 pairs of observations are used to fit this model. Generate 500 samples of 20 observations, drawing one observation for each level of x=1,1.5,2,…,10????=1,1.5,2,,10 for each sample.

a. For each sample compute the least-squares estimates of the slope and intercept. Construct histograms of the sample values of ^β0????^0 and ^β1????^1. Discuss the shape of these histograms.

b. For each sample, compute an estimate of E(y∣x=5)????(????????=5). Construct a histogram of the estimates you obtained. Discuss the shape of the histogram.

c. For each sample, compute a 9595 CI on the slope. How many of these intervals contain the true value β1=10????1=10 ? Is this what you would expect?

d. For each estimate of E(y∣x=5)????(????????=5) in part b, compute the 9595 CI. How many of these intervals contain the true value of E(y∣x=5)=100????(????????=5)=100 ? Is this what you would expect?

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 Regression Analysis Questions!