StatLabStudent EditionUser guideGalleryFeaturesAbout

EWMA control chart

Plots an exponentially weighted moving average of the measurements with control limits that widen over the first points; sensitive to small shifts, robust to non-normal data.

Menu: Graphs → More charts → Control chart: EWMA…

When should I use it?

What are the assumptions?

How do I run it in StatLab?

  1. Choose the measurement (and subgroup variable if any).
  2. Choose the weight λ (0.05–0.25 for small shifts) and the limit width L.

How do I read the output?

OutputMeaning
EWMA lineWeighted average; λ is the weight of the newest value.
LimitsTarget ± L·σ·√(λ/(2−λ)·(1−(1−λ)^(2i))).

Worked example

On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:

PROC vizEwma /y=score /x='' /lambda=0.2 /L=3.

Output tables: Points Outside the EWMA Limits.

Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.

What are common mistakes?

Open StatLab   All guide topics