Question: ( Computer Simulation Programming ) This question asks you to conduct a simulation experiment to examine the finite - sample distributions of t ratios using

(Computer Simulation Programming)
This question asks you to conduct a simulation experiment to examine the finite-sample distributions of t ratios using the standard errors based on widehat(V)widehat()0(classical t ratios) and widehat(V)widehat()HC0(White t ratios) under homoskedasticity and heteroskedasticity.
Take the data generating process:
Yi=0+xi1+ei,i=1,dots,n
ei|xiN(0,2(xi))|
where xiinR and (0,1)=(1,0). Consider two specifications for xi : xii.i.d.(14,1) and Lognormal(0,4). Consider homoskedastic errors with 2(xi)=1 and heteroskedastic errors with 2(xi)=1+xi2.
The testing task is H0:1=0 against H1:10. Construct the classical and White t ratios T for 1 and calculate the finite-sample size of the twosided tests based on nominal 5%tn-2 critical values. Set the sample sizes n={30,60,120,500} and the number of simulation replications R=5000.
(a) Fill in the rejection rates of the t ratios in Table 1 below.
(b) Are your simulation results consistent with the theoretical results you learned in class? Discuss the findings from your simulation results in Table 1.
(c) Provide your simulation code.
Note: You can work with any statistical software/languages. But instead of using the built-in functions such as lm() and vcov() in R, you have to code from scratch using the formulae for widehat(),widehat(V)widehat()0,widehat(V)widehat()HC, and t ratios.
1
Table 1: Rejection rates of the classical and White t ratios using nominal 5%tn-2 critical values ?()
\table[[n,Homoskedastic Error,Heteroskedastic Error],[(14,1),LogNormal(0,4),(14,1),LogNormal(0,4)
 (Computer Simulation Programming) This question asks you to conduct a simulation

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!