Number of lags to use in the Ljung-Box or Breusch-Godfrey test.
If missing, it is set to max(10,df+3)
for non-seasonal data, and
max(2m, df+3)
for seasonal data, where df
is the degrees of
freedom of the model, and m
is the seasonal period of the data.