portmanteau_test_statistics: An implementation of the portmanteau test.
Description
See the paper of Ljung-Box test for the used definition of autocorrelation.
Usage
portmanteau_test_statistics(matrix)
Arguments
matrix
the matrix of residuals or squared residuals.