window_ar.ols: Compute autocorrelation over a sliding window by a least...

Description Usage Arguments Value See Also

Description

Compute autocorrelation over a sliding window by a least squares approach

Usage

1
2
  window_ar.ols(X, windowsize = length(X)/2,
    demean = FALSE)

Arguments

X

a numeric containing evenly sampled values from a time series

windowsize

the size of the sliding time window (in # of pts) used to compute the statistic.

Value

a numeric of size length(X)-windowsize of values of the statistic calculated in the sliding window.

See Also

warningtrend, ar.ols


cboettig/earlywarning documentation built on May 13, 2019, 2:07 p.m.