Skip to content

EWMA Control Chart Examples: Monitor Gradual Shifts With Weighted Averages

July 21, 2026 ·
Smoothed Time Series With Raw Measurements And Monitoring Limits

An exponentially weighted moving average control chart, or EWMA chart, monitors a process by blending its newest observation with a weighted summary of earlier observations. It can make a gradual shift more visible than a display of individual measurements alone. Its usefulness depends on a well-established reference, a compatible estimate of variability and a monitoring design chosen for the actual decision. The original worked examples below explain the recursion, finite-time and long-run control limits, the influence of the weighting factor and the difference between statistical monitoring and forecasting. All numerical records are fictional.

Quick Answer

Calculate a weighted update from the newest observation and previous EWMA, compare it with appropriately designed limits, and investigate evidence of sustained change.

Table Of Contents

Understand What The Weighted Statistic Represents

The NIST/SEMATECH handbook explanation of EWMA charts defines the statistic as a weighted combination of the current observation and the previous EWMA. If Z is the accumulated statistic, X is the new observation and lambda is the chosen weight, then Z at time t equals lambda multiplied by X at time t plus one minus lambda multiplied by Z at time t minus one. A usual initialization is the established monitoring reference.

The current observation receives a weight of lambda. The contribution of an observation one period earlier is multiplied by one minus lambda, and the contributions of progressively older observations decline geometrically. If lambda is 0.2, the current observation receives 20% of the new statistic’s weight, the preceding observation receives 16%, the observation before that receives 12.8%, and so forth. At the beginning of monitoring, part of the weight remains associated with the initial value.

This transformation preserves the original measurement units. If the observed characteristic is measured in minutes, the EWMA is also expressed in minutes. However, it is not the latest actual observed duration or an arithmetic mean over a fixed number of periods. Our moving average examples illustrate a fixed-window approach in which observations outside a selected window no longer contribute. The exponential weighting mechanism behaves differently.

A suitable chart includes the raw observations alongside the weighted statistic. A very large individual discrepancy may deserve attention under an applicable acceptance or monitoring rule even when a heavily smoothed statistic remains within its limits. Do not replace the actual measurement records with the smoothed series.

Worked Example: Calculate EWMA Step By Step

A fictional print sample preparation process monitors a noncritical numerical characteristic. Its established teaching reference is 50 units, and its weighting factor is 0.2. Start the EWMA at 50. The next seven observations are 49, 51, 52, 53, 54, 54 and 55 units.

PeriodObserved ValueEWMA
0Initialization50.000000
14949.800000
25150.040000
35250.432000
45350.945600
55451.556480
65452.045184
75552.636147

At period one, the new statistic is 0.2 times 49 plus 0.8 times 50, which equals 49.8. At period two, it is 0.2 times 51 plus 0.8 times 49.8, or 50.04. At period three, the calculation gives 0.2 times 52 plus 0.8 times 50.04, or 50.432. Continue using each unrounded statistic in the next calculation.

The later observations consistently exceed the reference and the weighted statistic moves upward. Its movement is less abrupt than that of the individual values because the previous statistic retains substantial influence. The exact interpretation depends on the selected monitoring limits and assumptions rather than the visual direction alone.

Our behavior over time graph examples explain why chronological evidence matters. If the seven values are rearranged, their arithmetic mean does not change, but the EWMA sequence changes because recent observations receive greater weight.

Worked Example: Calculate Long-Run Monitoring Limits

Suppose the monitored individual observations have an established in-control standard deviation of two units under the simplified independent-observation model. With lambda equal to 0.2, the long-run variance of the EWMA is the observation variance multiplied by lambda divided by two minus lambda. The variance multiplier is 0.2 divided by 1.8, or one ninth.

The long-run standard deviation is therefore two times the square root of one ninth, or two thirds of a unit. Using an illustrative control-limit multiplier of three gives a half-width of two units. The long-run monitoring limits are 48 and 52 around the reference of 50.

QuantityIllustrative Value
Reference50 Units
Observation Standard Deviation2 Units
Lambda0.2
Long-Run EWMA Standard Deviation0.666667 Units
Limit Multiplier3
Lower Limit48 Units
Upper Limit52 Units

Using these constant limits and a strict outside-limit signal rule, the first upper signal in the example occurs at period six. Its unrounded EWMA is 52.045184, above the upper limit of 52. At period five, the statistic remains below that limit.

This design is an arithmetic illustration. The numerical parameters are not established as suitable for a real application merely because they resemble common teaching values. An actual chart requires a defensible reference dataset, appropriate model assumptions and an assessment of detection and false-alarm performance. A multiplier of three applied to a correlated EWMA sequence does not create exactly the same run-length behavior as an independent three-standard-deviation point rule.

Account For Narrower Startup Limits

The long-run variance formula assumes that the effect of initialization on the variance has become negligible. If the chart begins at a fixed reference value, independent observations with a common variance yield a smaller variance during the initial periods. The finite-time variance is the long-run variance multiplied by one minus the quantity one minus lambda raised to the power two times the period number.

For the example with lambda 0.2, standard deviation two and limit multiplier three, the finite-time half-width equals two times the square root of one minus 0.8 raised to the power two times t. At period one, the half-width is two times the square root of 0.36, or 1.2 units. At period two, the half-width is approximately 1.5367 units.

PeriodFinite-Time Half-WidthApproximate Upper Limit
11.200051.2000
21.536751.5367
31.718051.7180
41.824551.8245
Long Run2.000052.0000

As the period number grows, the finite-time limits approach the long-run limits. The choice between startup-adjusted and constant limits affects how the monitoring procedure responds early in its operation. Document the actual method and initialization policy rather than assume the two charts always generate identical signals.

For this illustrative sequence, the period-five EWMA is approximately 51.5565, below its finite-time upper limit of about 51.8896. At period six, the EWMA exceeds both the finite-time and long-run upper limits. A different sequence could generate a signal under the startup-adjusted limits but not the long-run limits.

Worked Example: Compare Different Weighting Factors

Consider a separate hypothetical process whose reference is 50 units. Its next three observations are all 55. Starting from 50, compare a weighting factor of 0.2 with one of 0.6. The first chart responds gradually, while the second gives much more weight to each new value.

PeriodObservationEWMA With Lambda 0.2EWMA With Lambda 0.6
0Initialization50.0050.00
15551.0053.00
25551.8054.20
35552.4454.68

The larger weighting factor produces a statistic much closer to the new observation level after three periods. However, this does not establish that it provides the better monitoring design. A larger lambda also changes the variability of the statistic and thus its appropriate limits. Comparing only how quickly the plotted line rises is insufficient.

For a sustained step change with no random variation in this hypothetical example, the remaining gap between the weighted statistic and the new level after t updates is the original gap multiplied by one minus lambda raised to the power t. After three updates with lambda 0.2, the gap is five times 0.8 cubed, or 2.56 units. With lambda 0.6, the gap is five times 0.4 cubed, or 0.32 units.

If lambda equals one, the statistic becomes the current observation and no previous observation influences it. As lambda becomes smaller, the effective memory increases. Choose the weighting factor based on the shifts the monitoring system needs to detect and the conditions under which it will operate.

Distinguish EWMA From CUSUM And Forecasting

Our CUSUM control chart examples describe another method of using successive observations to detect process shifts. A tabular CUSUM accumulates evidence through upper and lower statistics that reset according to the defined rule. EWMA instead calculates a weighted average whose past contributions diminish geometrically. Both methods can detect sustained changes, but their statistics and control limits are not interchangeable.

An exponential smoothing forecast can use a related recursive calculation. Our exponential smoothing examples explain its application to prediction. A monitoring chart asks whether current behavior gives evidence of departure from an established reference, whereas a forecasting model aims to estimate a future value. The intended reference, fitting procedure, error measure and response can therefore differ.

Suppose a service experiences a permanent legitimate increase in demand. A forecasting model may need to adapt to the new level to improve future predictions. A monitoring chart may first identify the change, after which an investigation determines whether it is legitimate and whether a new baseline should be established. Automatically moving the reference every time the chart begins to rise could undermine its purpose.

Handle Subgroups And Correlated Data

Suppose a process monitors the mean of each subgroup of four measurements, rather than an individual measurement. Under an independent model with individual standard deviation two units, the subgroup mean has a standard deviation of one unit. The EWMA variance calculation must use the standard deviation of the statistic actually being monitored. Using the individual standard deviation instead would produce limits twice as wide in this simplified example.

A subgroup mean formed from four observations is not generally comparable to one formed from a single observation if the chart assumes constant variability. Changing sample sizes can require an appropriately designed standardized or variable-limit method. Review the data structure and chosen statistical procedure before pooling observations.

Time dependence matters too. If consecutive observations are correlated because the same underlying condition persists, the ordinary independent-data variance formula may be unsuitable. Our measurement system analysis examples discuss why the observation mechanism must be understood before interpreting performance results. Our data stratification examples show how changes in group composition can create apparent movement in a combined measure.

For instance, a service may experience higher observed durations when more complex cases arrive. If the monitoring population changes materially, a chart of unadjusted durations may detect that composition change instead of deterioration within a particular case type. Preserve the operational interpretation and examine relevant strata.

Build An Auditable Spreadsheet

Place period numbers in column A and observations in column B. Use column C for the weighted statistic. Store the reference in F2, the observation standard deviation in F3, lambda in F4 and the limit multiplier in F5. Initialize C2 with the reference and enter the first observation in B3.

CellIllustrative Formula
C2=$F$2
C3=$F$4*B3+(1-$F$4)*C2
G2=$F$2+$F$5*$F$3*SQRT($F$4/(2-$F$4))
G3=$F$2-$F$5*$F$3*SQRT($F$4/(2-$F$4))
D3=IF(OR(C3>$G$2,C3<$G$3),”Investigate”,””)

These formulas illustrate constant long-run limits. Keep the parameter values separate from the observations so that the calculation is reproducible. Escape or otherwise handle text, blank and error cells appropriately; if a spreadsheet interprets an empty observation as zero, it can create a misleading weighted statistic.

A missing period poses a design question. Some procedures treat the next valid observation as the next statistical update. Others explicitly model elapsed time or missing data differently. Do not repeatedly update the statistic using an invented value just to maintain a visually continuous chart. Document the actual sequence and missing-observation policy.

Respond To A Statistical Signal Appropriately

Imagine that all seven observed values in the first example satisfy a separate illustrative specification interval from 45 to 56 units. The EWMA chart still signals under the example’s monitoring limits. That signal does not prove that a particular unit has failed its acceptance requirement. It indicates accumulated evidence of departure from the reference under the declared monitoring design.

The appropriate response depends on the process and the importance of the characteristic. Check that the observation definition has remained stable, examine relevant changes in material or work conditions and inspect the original records. Our quality control plan examples explain how a reaction procedure can connect monitoring evidence to authorized investigation and action.

A signal can also indicate a beneficial change. If a service’s response-time statistic moves downward while accuracy and access remain satisfactory, investigate whether a legitimate improvement has occurred. Do not assume that any departure is harmful merely because the monitoring chart describes it as a signal.

Consider a temporary disturbance that produces an observed value of 56 units for one period and then disappears. With a reference of 50 and lambda equal to 0.2, the first weighted statistic is 51.2. If the following observations are exactly 50, the statistics become 50.96, 50.768 and 50.6144. The disturbance’s remaining contribution declines by the factor 0.8 at each update. In this simplified sequence, the weighted statistic does not exceed the illustrative long-run upper limit of 52. The original value of 56 remains important, however, because a separate individual-value rule could require a response. A smoothed statistic is not designed to preserve the magnitude of every short-lived event.

Contrast that sequence with four successive observations of 53 units from the same initialization. The weighted statistics are 50.6, 51.08, 51.464 and 51.7712. The fifth observation of 53 gives 52.01696, which exceeds the illustrative long-run threshold. Each raw observation is less extreme than the isolated value of 56, but the repeated departure produces a stronger weighted signal. This comparison demonstrates the distinction between responding to a single unusual measurement and responding to sustained evidence. It does not establish the detection probability for an actual stochastic process, because these sequences are deliberately deterministic.

A baseline-change decision deserves separate verification. Suppose a legitimate design change increases the intended reference from 50 to 53 units. Continuing to monitor the new work against the old reference may generate repeated signals even when the new operation is stable around its revised intended level. Establish a representative baseline for the revised method, review its actual variability and determine whether the same weighting factor and limit multiplier remain appropriate. Start the new chart according to the documented initialization policy. Keep the prior observations, chart and effective change date so that the new reference does not erase the evidence associated with the earlier operating arrangement. If the new level is merely suspected rather than established, continue investigating instead of changing the reference to make the signals disappear.

For a small verification exercise, compare the spreadsheet’s first few calculated statistics with independent hand calculations and test a constant sequence equal to the reference. Every weighted statistic should remain equal to the reference under that test. Also test a constant sequence above the reference and check that the statistic approaches the new level without overshooting when lambda lies between zero and one. These simple checks can expose shifted cell references, mistaken weights or rounding errors before the chart is used for actual decisions.

Reusable EWMA Monitoring Worksheet

FieldRecord
CharacteristicDefinition, Units And Relevant Population
ReferenceBaseline Evidence And Fixed Initialization
StatisticIndividual Measurement Or Defined Subgroup Mean
ParametersLambda, Variability Estimate And Limit Multiplier
LimitsLong-Run Or Finite-Time Method
SequenceOrder, Valid Observations And Missing-Data Policy
SignalsExact Comparison Rule And Investigation
VerificationActual Process Conditions And Approved Baseline Changes

A well-designed EWMA chart combines a transparent recurrence calculation with a suitable statistical reference and an appropriate response arrangement. The important outcome is not a smooth line on a dashboard, but earlier recognition of a consequential change and a credible investigation of the conditions behind it. Preserve the original data and distinguish statistical monitoring from forecasts, specification decisions and actual operational improvements.

Frequently Asked Questions

What is an EWMA chart?

A control chart using exponentially declining weights on past observations.

What does lambda represent?

The weight assigned to the current observation in each update.

How is EWMA calculated?

Multiply the new observation by lambda and add the previous statistic multiplied by one minus lambda.

How does a small lambda affect the chart?

It retains more influence from earlier observations.

What is the long-run variance multiplier?

Under the stated independent model it is lambda divided by two minus lambda.

Why can startup limits differ?

The initialized statistic has not yet accumulated its long-run variability.

Is EWMA the same as CUSUM?

They use different accumulation statistics and monitoring designs.

Does a signal mean a unit is defective?

A monitoring signal is distinct from an individual acceptance decision.

Can subgroup means be monitored?

Yes, use variability and limits appropriate to the monitored subgroup statistic.

What should happen after a signal?

Investigate the underlying conditions and verify any appropriate response.

Leave a Reply

Your email address will not be published. Required fields are marked *