110 likes | 237 Views
Econometrics 1. Lecture 20 Random Regressor and Large Sample Theory. Random Regressor Models. Random Regressor Model. Reasons for Random Regressor. Simultaneity and Random Regressor. Measurement Error. Measurement Error. Hausemen Test. Hausman specification test Shazam Programme.
E N D
Econometrics 1 Lecture 20 Random Regressor and Large Sample Theory
Hausman specification testShazam Programme **instrumental variable 2SLS c y (I) /dn coef=b1 pcov cov=v1 gen1 sigiv =$sig2 *original estimate OLS C Y /DN coef=b0 cov=v0 nomulsigsq matrix v0 = sigiv*v0 * compute Hausman specification test sample 1 2 genr q = b1-b0 matrix vq =v1-v0 *Hausman statistics matrix m =(q(1)**2)/vq(1,1) print m
Shazam program for LM, Likelihood ratio and Wald tests (GHJ, 14.10)