Description Usage Arguments Details Value Author(s) Examples
Function that helps to define the seasonality (periodicity) of the time-series.
1 2 |
data |
data.frame as produced by defineSeasons |
info.periods |
the number of periods used as prior inforamtion to generate predictions |
forecast.period |
the number of periods to be forecasted within each step |
cuttoff |
exlude incomplete periods (in the beginning and the end); the cuttoff defines a percetnage of the complete periods. |
amp.probs |
the qunatiles used to define the seasonal amplitude. |
plot |
logical, of TRUE a plot will be drawn. |
Based on time-series analysis, this function first decomposes the data into the following components; seasonal, trend and remainder. Next, the periodicity of the time-series will be defined by using a cosine function fitted to the seasonal component (using least-square). The minima of the cosine curve can then be used to separate the periods (nessesary in other functions of the DOSeasons package).
A list with 2 data frames:
data frame with amplitude and predictability for each seasonal period
data frame with all output variables
Simeon Lisovski
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.