You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: diagnostic tests for panel data (LM test for autocorrelation, heteroscedasticity) #2756
add diagnostic tests for panel data - LM test for serail correlation, heteroscedasticity, cross-sectional correlation and similar.
I ran into breusch-pagan test for panel data. The tests have a similar structure as the ones for OLS, but go in more directions and have to watch out for incidental parameter problem when removing fixed effects (one way or two way).
recent paper for heteroscedasticity
Juhl, Ted, and Walter Sosa-Escudero. "Testing for heteroskedasticity in fixed effects models." Journal of Econometrics 178 (2014): 484-494.
(no citation in Google, but "standard" implementation for robust tests Davidson MacKinnon and Wooldridge artificial regression, looks good.)
Some recent papers also look at two-way fixed effect (individual and time FE)
Baltagi, Baltagi and Li have several papers but I never got far in reading those.
partially related to FE modelling in panel data or more generally,
e.g. #2568 (absorb FE) and #2745 (move pandas stats models)
and conditional estimation Chamberlain style remove FE or RE.
Even if some of these functionality like diagnostic tests are just "one-liners" it's useful to add them.
Currently, I don't know which test is which generic calculation. And I don't know which generic test or test that was designed for OLS applies to different models. (With the right recipes or following some textbooks they are easy to calculate, at least in some cases.)
And generic tests are more difficult to cite, when the specific test has a name.
Activity
josef-pkt commentedon Jan 14, 2016
R plm also has a set of diagnostic tests like these, based on vignette
josef-pkt commentedon Jan 14, 2016
general thought:
Even if some of these functionality like diagnostic tests are just "one-liners" it's useful to add them.
Currently, I don't know which test is which generic calculation. And I don't know which generic test or test that was designed for OLS applies to different models. (With the right recipes or following some textbooks they are easy to calculate, at least in some cases.)
And generic tests are more difficult to cite, when the specific test has a name.