Learn R Programming

tsutils (version 0.9.4)

Sthief: Temporal hierarchy S matrix

Description

Calculate the temporal hierarchy summing matrix S for a given time series of seasonal periodicity.

Usage

Sthief(y)

Value

S matrix.

Arguments

y

input time series (a ts object) or an integer.

Author

Nikolaos Kourentzes, nikolaos@kourentzes.com.

References

Athanasopoulos, G., Hyndman, R. J., Kourentzes, N., & Petropoulos, F. (2017). Forecasting with temporal hierarchies. European Journal of Operational Research, 262(1), 60-74.

Examples

Run this code
Sthief(AirPassengers)

Run the code above in your browser using DataLab