The Ljung-Box Q-statistic is calculated using the formula:
Q=n(n+2)∑k=1hn−kρk2
Given: n=333
k=1:333−10.122=3320.0144≈0.00004337
k=2:333−2(−0.17)2=3310.0289≈0.00008731
k=3:333−3(−0.09)2=3300.0081≈0.00002455
Sum of the terms:
$0.00004337 + 0.00008731 + 0.00002455 = 0.00015523$
Now, multiply by n(n+2):
n(n+2)=333×335=111,555
Q=111,555×0.00015523≈17.316≈17.32
The closest value is 17.32.