Worked Example: Worked Mathematical Example: EWMA Smoothing & Half-Life
Calculate updated EWMA S_t = α·Y_t + (1−α)·S_{t−1}, equivalent span N, and exponential half-life.
- Specify the function parameters, matrix entries, or confusion matrix counts.
- Apply the closed-form or iterative formula: S_t = α·Y_t + (1 − α)·S_{t−1}; Span_N = (2 / α) − 1; HalfLife = −ln(2) / ln(1 − α).
- Examine the primary result, error bounds, and 3 interactive SVG plots.
Result: Computes EWMA Smoothing & Half-Life via S_t = α·Y_t + (1 − α)·S_{t−1}; Span_N = (2 / α) − 1; HalfLife = −ln(2) / ln(1 − α).
Mathematics & Statistics · Econometrics & Regression
Exponentially Weighted Moving Average (EWMA) Smoothing, Span & Half-Life Calculator: inputs, method, and how to read the result
Calculate updated EWMA S_t = α·Y_t + (1−α)·S_{t−1}, equivalent span N, and exponential half-life.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Smoothing Factor Alpha: Smoothing decay weight α (0.01 to 0.99).
- Latest Observation Yt: Latest observed data point Y_t.
- Prior Ewma Level St1: Previous EWMA smoothed value S_{t−1}.
What the calculation includes
With the default values shown, Updated EWMA Smoothed Value (S_t) is 106.8 units. The calculation follows EWMA Smoothing & Half-Life Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Smoothing Factor Alpha from 0.2 α to 0.22 α changes Updated EWMA Smoothed Value (S_t) from 106.8 units to 107.08 units. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Uses exact analytical or standard numerical analysis formulations from NIST DLMF.
- Double-precision floating-point arithmetic has ~15–17 significant decimal digits of precision.
Scope: Global Mathematical & Statistical Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Mathematics & Statistics: Scientific Calculator, Statistics & Standard Deviation Calculator, Permutations, Combinations, Probability, Sample Size & P-Value Calculator.