LjungBoxPierceTest determines the test statistic and p values for several lags for a residual series
LjungBoxPierceTest
Useful links