statsmodels.sandbox.tsa.movstat.movorder

statsmodels.sandbox.tsa.movstat.movorder(x, order='med', windsize=3, lag='lagged') [source]

moving order statistics

Parameters:
  • x (array) – time series data
  • order (float or 'med', 'min', 'max') – which order statistic to calculate
  • windsize (int) – window size
  • lag ('lagged', 'centered', or 'leading') – location of window relative to current position
Returns:
Return type:

filtered array

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.tsa.movstat.movorder.html