Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

sazedR (version 2.0.2)

zed: Compute the ZED component of the SAZED ensemble

Description

zed computes the zero density of its argument, and then derives the season length from it.

Usage

zed(y, preprocess = T)

Arguments

y

The input time series.

preprocess

If true, y is detrended and z-normalized before computation.

Value

The ZED season length estimate of y.

Examples

Run this code
# NOT RUN {
season_length <- 26
y <- sin(1:400*2*pi/season_length)
zed(y)
zed(y, preprocess = FALSE)
# }

Run the code above in your browser using DataLab