MA(2) on a series with a clear peak — the smoothed peak arrives one step after the raw peak, revealing the inherent lag of any moving average.

highlighted = computed this step

MA(2) matrix

The window-two average at each position uses that value and the one before it. The first position is undefined. The raw series peaks before the smoothed series — the smoother lags.

MA matrix\text{MA matrix}
Moving Average — Window 2tvaluema2t12t264t3108t489t546t623

Raw series (dot plot)

The raw series as dots over time. The smoothed peak arrives one step after the raw peak.

raw series\text{raw series}
Raw series — values over timetimevalue0246810122t16t210t38t44t52t6