n
nicefa.
Advanced Proof

Proof of the Asymptotic Chi-Squared Distribution of the Ljung-Box Test Statistic

Students often confuse the degrees of freedom when applying the test to model residuals versus raw data. Also, the choice of \ m \ (maximum lag) is critical and often misunderstood; it's not arbitrary.
Institutional Reference: Time Series Analysis
View Full Proof →