Multivariate Portmanteau (Ljung-Box) Test

Test if there is auto- and cross correlation in a multivariate vector series
228 Downloads
Updated 23 Feb 2019

View License

MLBQTEST(X,LAGS) performs multivariate Portmanteau test.

h = mlbqtest(X,LAGS) returns returns a logical value (h) for LAGS with the rejection decision from conducting a multivariate Portmanteau test for joint cross-correlation in a multivariate series X.

h = mlbqtest(X,LAGS,ALPHA) specifies the significance level (default=0.05).

[h,pValue] = mlbqtest(~) returns the rejection decision and p-value for the hypothesis test.

[h,pValue,stat,cValue] = mlbqtest(~) additionally returns the test statistic (stat) and critical value (cValue) for the hypothesis test.

Input argument X: a multivariate time-series (T x k) with k assets and T times.

Test null hypothesis H0: all correlation coefficients are zero, i.e.. rho_1=rho_2=...rho_m=0, where m the lag
Alternative hypothesis H1: there are some coefficients are not zero.

Cite As

Newport Quantitative (2024). Multivariate Portmanteau (Ljung-Box) Test (https://www.mathworks.com/matlabcentral/fileexchange/70365-multivariate-portmanteau-ljung-box-test), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Specification Testing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.2

Enable customized degree of freedom

1.0.1

Upload needed function for multivariate cross correlation and demo

1.0.0