Question: Consider the following procedure: - Set n = 100 and draw n continuous values xi uniformly distributed between 0 and 10. Thensimulate data from the

Consider the following procedure:

- Set n = 100 and draw n continuous values xi uniformly distributed between 0 and 10. Thensimulate data from the model yi = a + bxi + errori, for i = 1,..., n, with a = 2, b = 3, andindependent errors from a normal distribution.

- Regress y on x. Look at the median and mad sd of b. Check to see if the interval formed bythe median 2 mad sd includes the true value, b = 3.

- Repeat the above two steps 1000 times.

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!