Multivariate Portmanteau (Ljung-Box) Test

Test if there is auto- and cross correlation in a multivariate vector series
228 téléchargements
Mise à jour 23 fév. 2019

Afficher la licence

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.

Citation pour cette source

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

Compatibilité avec les versions de MATLAB
Créé avec R2018b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Specification Testing dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.2

Enable customized degree of freedom

1.0.1

Upload needed function for multivariate cross correlation and demo

1.0.0