Ewma by Iteration

Forums Templates Ewma by Iteration

Viewing 0 reply threads
  • Author
    Posts
    • #104
      sparrow
      Keymaster

      Exponentially-weighted moving average (Ewma) solved using iteration. Given scalar ‘alpha’ (between 0 and 1) and vector ‘X’, this template solves for L, such that:

      L(t) = (alpha*X) + (1-alpha)*L(t-1) L(1) = X(1)

      It uses iteration if alpha is closer to 1.

      Author: Paul Pratt

      Download: Ewma-By-Iteration.dsk

Viewing 0 reply threads
  • You must be logged in to reply to this topic.