How Much Does Yesterday Explain Today?

Time SeriesMedium+20 XP+20

How Much Does Yesterday Explain Today?

A small bakery records how many loaves it sells on each of n=8n = 8n=8 consecutive days:

Day ttt111222333444555666777888
Loaves yty_tyt​343434363636393939424242434343454545424242393939

To judge how strongly one day's sales carry over into the next, the owner computes the lag-1 sample autocorrelation. Use the standard estimator, in which a single overall mean yˉ\bar{y}yˉ​ (taken over all 888 observations) is subtracted everywhere:

r1=∑t=2n(yt−yˉ)(yt−1−yˉ)∑t=1n(yt−yˉ)2r_1 = \frac{\displaystyle\sum_{t=2}^{n} (y_t - \bar{y})(y_{t-1} - \bar{y})}{\displaystyle\sum_{t=1}^{n} (y_t - \bar{y})^2}r1​=t=1∑n​(yt​−yˉ​)2t=2∑n​(yt​−yˉ​)(yt−1​−yˉ​)​

What is the value of r1r_1r1​? Give it as a decimal (not a percentage), rounded to 3 decimal places.

Autocorrelation Function (ACF)

+0.25-0.251234567891011121.0-1.00
Stationary series: ACF decays quickly. The spike at lag 6 reveals the seasonal period.
Dashed lines = 95% confidence bounds (±1.96/\u221aN)

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.