The Box-Pierce Q-statistic is calculated using the formula:
QBP=n∑ρk2
Where:
- n is the sample size (300)
- ρk represents the autocorrelations at each lag
Given the autocorrelation coefficients:
- Lag 1: 0.25
- Lag 2: -0.1
- Lag 3: -0.05
Calculation:
QBP=300(0.252+(−0.1)2+(−0.05)2)
QBP=300(0.0625+0.01+0.0025)
QBP=300(0.075)=22.5
Note: The Box-Pierce and Ljung-Box tests typically arrive at the same result when the sample size is large.