Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A window is a fixed-length subset of consecutive observations of a time series. The window is moved along the time series at a constant rate. AKA "rolling window".
3
votes
Accepted
Detrending using moving average
\begin{eqnarray}
\Delta^2(x_{t+1})&=&\Delta(\Delta(x_{t+1}))\\
&=&\Delta(x_{t+1}-x_t)\\
&=&\Delta(x_{t+1})-\Delta(x_t)\qquad\text{(by linearity of }\Delta \text{ operator)}\\
&=&(x_{t+1}-x_t)-(x_{t}-x …
2
votes
Tuning an exponential moving average to a moving window mean?
If I understand the question correctly, the issue is one of trying to make an exponentially decreasing weight series fit to a discrete uniform (constant weight with cutoff):
Clearly either an EWMA …