Hello Researchers, I tried to test for serial correlation in my fixed effect model, However, the "xtserial" command is not working. I don't know what to do.
Toyin Oluwatuyi , xtserial is simple Wooldridge’s test for autocorrelation in panel data, which you can do by hand if xtserial is not working:
Estimate your model and get the residuals
Regresses the first-difference of the residuals from the regression against first-differenced variables on their lags and test that the coefficient on the first lag residual is equal to −0.5