This function is a convenient wrapper for using Box.test to perform the Ljung-
Box Q test of uncorrelated data without having to specify type. In other
words, lb.test(x, ...) is equivalent to
Box.test(x, type="Ljung-Box", ...).
Usage
lb.test(x, ...)
Value
A list with class "htest" containing the following components:
statistic
the value of the test statistic.
parameter
the degrees of freedom of the approximate chi-squared distribution of the test statistic (taking fitdf into account).
p.value
the p-value of the test.
method
a character string indicating what type of test was performed.