I am practicing in stata.
But I don't know what the command for heteroskedasticity of panel data is.
Could you please help me for this?
I have a formula, Can i used panel data ?
- reg indepvar depvar
- predict yhat
- predict e, resid
- gen e_squ = e^2 / (e(rss)/e(N))
- reg e_squ yhat
- display "Chi Square (1) = " e(mss) / 2
- display "Prob > chi2 = " chi2tail(1, e(mss)/ 2)
Thanks all,
0 Response to what is the command for Heteroskedasticity of panel data in stata?
Post a Comment