Description Usage Arguments Value Examples
Prognosis_Seasonal
1 2 | Prognosis_Seasonal(data, times, seasonality, forecastLength = NULL,
forecastConfidence = 50, outlierTolerance = 2, detailed = FALSE)
|
data |
Input data, as a vector |
times |
Vector of times for each data point |
seasonality |
How many data point there are in each seasonal period |
forecastLength |
Number of points to forecast - default is .2 of the input's length |
forecastConfidence |
Level for plotted and output confidence interval |
outlierTolerance |
Allowable number of IQRs' away from the first or third quartile for a point to not be considered an outlier. Higher numbers result in fewer outliers. |
detailed |
Allows for more detailed output, where applicable. Defaults to FALSE |
A list consisting of a plot, a model, and predictions
1 2 3 4 5 6 | exampledata <- GenerateSeriesToCutoff(100, .01, .005, 200, 100)
times <- seq(as.Date("2000/1/1"), by = "month", length.out = length(exampledata))
Prognosis_output<- Prognosis_Seasonal(exampledata, times, 12)
Prognosis_output$Plot
Prognosis_output$Model
Prognosis_output$Table
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.