moving window variance
x : array
time series data
windsize : int
window size
lag : ‘lagged’, ‘centered’, or ‘leading’
location of window relative to current position
mk : array
moving variance, with same shape as x
statsmodels.sandbox.tsa.movstat.movmean
statsmodels.sandbox.tsa.movstat.movmoment
Enter search terms or a module, class or function name.