Comparison
Both tests check whether all autocorrelations up to lag are jointly zero (white noise test).
Box-Pierce Test
Ljung-Box Test
Key Differences
| Aspect | Box-Pierce | Ljung-Box |
|---|---|---|
| Formula | ||
| Weighting | Equal weights | Weighted by |
| Best for | Large | Small |
| approximation | Poor for | Better for all |
Recommendations
| Sample Size | Test to Use |
|---|---|
| Ljung-Box | |
| Either (Ljung-Box still preferred) |
Why Ljung-Box is Better
The weighting gives more weight to early lags where we have more data points, improving the approximation.