Learn R Programming

SAZED

Overview

SAZED (Spectral and Average Autocorrelation Zero Distance Density) is a package and ensemble method for estimating the season length of a seasonal time series. SAZED is aimed at practitioners, as SAZED employs only domain-agnostic pre-processing and does not depend on parameter tuning or empirical constants.

Installation

This package requires the Debian packages libxml2-dev, libfftw3-dev and zlib1g-dev. Once you have those, then simply execute:

install.packages("sazedR")

Usage

Estimate the season length of a seasonal time series with the variations of the ensemble method SAZED:

library(sazedR)

season_length <- 26
y <- sin(1:400*2*pi/season_length)
sazed(y)

All components of the SAZED ensemble are also available separately. For more information on them, see the package manual and examples therein.

Copy Link

Version

Install

install.packages('sazedR')

Monthly Downloads

263

Version

2.0.2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Tiago Santos

Last Published

September 29th, 2020

Functions in sazedR (2.0.2)

Sa

Compute the SA component of the SAZED ensemble
zed

Compute the ZED component of the SAZED ensemble
ze

Compute the ZE component of the SAZED ensemble
aze

Compute the AZE component of the SAZED ensemble
S

Compute the S component of the SAZED ensemble
preprocessTs

Preprocess Time Series for SAZED ensemble
downsample

Downsample Time Series
azed

Compute the AZED component of the SAZED ensemble
sazed

SAZED Ensemble (Optimum)
computeAcf

Compute and shorten autocorrelation
sazed.maj

SAZED Ensemble (Majority)
sazedR

sazedR: A package for for estimating the season length of a seasonal time series.