Prognosis_Seasonal: Prognosis_Seasonal

Description Usage Arguments Value Examples

Description

Prognosis_Seasonal

Usage

1
2
Prognosis_Seasonal(data, times, seasonality, forecastLength = NULL,
  forecastConfidence = 50, outlierTolerance = 2, detailed = FALSE)

Arguments

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

Value

A list consisting of a plot, a model, and predictions

Examples

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

grieman/grieman documentation built on May 17, 2019, 8:36 a.m.