scikits.statsmodels.sandbox.tsa.movmean

scikits.statsmodels.sandbox.tsa.movmean(x, windowsize=3, lag='lagged')

moving window mean

Parameters:

x : array

time series data

windsize : int

window size

lag : ‘lagged’, ‘centered’, or ‘leading’

location of window relative to current position

Returns:

mk : array

moving mean, with same shape as x

Previous topic

scikits.statsmodels.sandbox.tsa.arma_impulse_response

Next topic

scikits.statsmodels.sandbox.tsa.movmoment

This Page