All labs

Autocorrelation, Stationarity, and Effective Sample Size

200 dependent observations can be worth 16 independent ones — see the ACF, the PACF, and the standard error you should have reported.

Ch 12 12.2
Explorer
Temporal & Longitudinal
18 mindifficulty 3/5

Controls

0.850

Stationary only while |φ| < 1.

0

A deterministic trend added to the process.

0
12
1
200
First difference

Plot and analyse Δxₜ = xₜ − xₜ₋₁ instead.

Random seed

Every result on this page is a deterministic function of the seed and the controls.

The series

Successive values are dependent — the observations are not a random sample.

-2024050100150200meantx

ACF

Correlation with the series k steps earlier.

-0.40-0.2000.200.400.600.80151015202530±1.96/√T[0.65, 1.35) n=1[1.65, 2.35) n=2[2.65, 3.35) n=3[3.65, 4.35) n=4[4.65, 5.35) n=5[5.65, 6.35) n=6[6.65, 7.35) n=7[7.65, 8.35) n=8[8.65, 9.35) n=9[9.65, 10.35) n=10[10.65, 11.35) n=11[11.65, 12.35) n=12[12.65, 13.35) n=13[13.65, 14.35) n=14[14.65, 15.35) n=15[15.65, 16.35) n=16[16.65, 17.35) n=17[17.65, 18.35) n=18[18.65, 19.35) n=19[19.65, 20.35) n=20[20.65, 21.35) n=21[21.65, 22.35) n=22[22.65, 23.35) n=23[23.65, 24.35) n=24[24.65, 25.35) n=25[25.65, 26.35) n=26[26.65, 27.35) n=27[27.65, 28.35) n=28[28.65, 29.35) n=29[29.65, 30.35) n=30lag krₖ
sample ACFtheoretical φᵏwhite-noise band

Partial ACF

AR(1) shows one spike, then nothing.

-0.40-0.2000.200.400.600.80151015202530[0.65, 1.35) n=1[1.65, 2.35) n=2[2.65, 3.35) n=3[3.65, 4.35) n=4[4.65, 5.35) n=5[5.65, 6.35) n=6[6.65, 7.35) n=7[7.65, 8.35) n=8[8.65, 9.35) n=9[9.65, 10.35) n=10[10.65, 11.35) n=11[11.65, 12.35) n=12[12.65, 13.35) n=13[13.65, 14.35) n=14[14.65, 15.35) n=15[15.65, 16.35) n=16[16.65, 17.35) n=17[17.65, 18.35) n=18[18.65, 19.35) n=19[19.65, 20.35) n=20[20.65, 21.35) n=21[21.65, 22.35) n=22[22.65, 23.35) n=23[23.65, 24.35) n=24[24.65, 25.35) n=25[25.65, 26.35) n=26[26.65, 27.35) n=27[27.65, 28.35) n=28[28.65, 29.35) n=29[29.65, 30.35) n=30lag kφₖₖ

Lag plot

xₜ against xₜ₋₁ with the fitted AR(1) line — dependence made visible.

-2024-2024xₜ₋₁xₜ
φ̂ from the lag regression
0.800
set to 0.85
r₁
0.795
white-noise band ±0.139
Half-life of a shock
3.1 steps
log 0.5 / log φ
Effective sample size
22
T = 200; T(1−φ)/(1+φ)
Naive SE of the mean
0.1200
assumes independence
Dependence-corrected SE
0.3598
inflation ×3
Sample size is not observation count

With φ = 0.85, 200 observations carry about as much information about the mean as 16 independent ones. Every standard error, confidence interval, and p-value computed as if the data were i.i.d. is too small by the inflation factor shown above.