1. Computer question (Monte Carlo). Using Matlab, you will examine how the OLS estimator performs as a function of the sample size and the distribution of the regressors (we condition on the regressors, so think of this as picking different configurations of the regressors). You will use the normal random number generator to generate the error terms, the regressors, and the dependent variable. First, for N=500 draw a vector w of normal errors and construct X1i = 2 + wi2. Draw another vector v of (standard) normal errors and construct X2i = 1 + wi2 + 4 ∗ log(vi2). There is no particular logic to the regressors except I make them correlated and not mean 0.
a) Now set N=20, Also draw a vector e of normal errors with variance 3 and construct Y = ι + 2X1 + 4X2 + e (this means that you only use the first 20 observations of the X’s). Estimate βˆ and construct the t-test for β1 = 2 and save it. You do this 100 times and count how often the t-stat exceed the critical value for a 5% two-sided test (using the t-distribution with N-3 degrees of freedom).
Next we will try and figure out if the asymptotic distribution of the t-stat is a good approximation for N=20 and N=200. (You can try other values, when you have the loops set up, you should be able to just change one character to re-run the program).
c) Set N=200. Draw a vector of standard normal errors and construct z = e2 − 1 (the is a simple way to construct a mean zero error that is not normal). Construct Y = ι + 2X1 + 4X2 + z. Estimate βˆ1 and construct the asymptotic t-test for β1 = 2 and save it. You do this 100 times and count how often the t-stat exceed the critical value for a 5% two-sided test (using the normal distribution). Does the asymptotic test perform better for the higher value of N?
2. Computer question (continuation of previous homeworks). In Matlab, regress real per capita U.S. data consumption growth on income growth and the interest rate using the posted dataset. (This is the what you did in homework 1.) Perform the following Chow tests (assuming the data are normally distributed—even if you rejected this in the previous question).
a) Examine if the coefficients are the same before and after year 2008. (Use the appropriate test).
b) Examine if the coefficient to the interest rate is the same before and after year 2008 (assumingthat the coefficient to income is not changing).
2025, Econometrics, Homework, solved, Spring
[SOLVED] Econometrics ii homework 5 spring 2025 p0
$25
File Name: Econometrics_ii_homework_5_spring_2025_p0.zip
File Size: 386.22 KB
Only logged in customers who have purchased this product may leave a review.

![[SOLVED] Econometrics ii homework 5 spring 2025 p0](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[SOLVED] Physics 396 homework set 9](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.