Llung-Box code on a time series without lbqtest provided by the econometrics toolbox

4 vues (au cours des 30 derniers jours)
Llung-Box code on a time series without lbqtest provided by the econometrics toolbox

Réponses (1)

Shivam Lahoti
Shivam Lahoti le 18 Fév 2024
Hi Simon,
As we know the Ljung-Box test is a statistical procedure to detect autocorrelation in a time series. Without the lbqtest function from MATLAB's Econometrics Toolbox, you can manually calculate the test statistic by computing autocorrelations for various lags, then applying the Ljung-Box formula. Finally, compare the test statistic to the chi-square distribution to assess the presence of autocorrelation.
Kindly refer to the following document to understand more about the Ljung-Box Q-Test:
Regards,
Shivam.

Catégories

En savoir plus sur Risk Management Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by