Function to estimate daily seasonal time series models

DayWModelFitter(data, Outcome)

Arguments

data

A tsibble.

Outcome

A valid variable name for the Outcome to be modelled in in `data`.

Value

A mable containing:

  • K=1,2,3: ARIMA models with fourier(K=1,2,3)

  • ARIMA: an ARIMA model

  • ETS: an ETS model

  • NNETAR(K=1,2,3): the model fits

  • prophet.LWA: a prophet model with weekly and annual seasons

  • prophet.LW: a prophet model with weekly seasons

  • Combo1: the average of ETS and ARIMA

Examples

data(SNWSDPDX) DayWModelFitter(SNWSDPDX, TX)
#> # A mable: 1 x 11 #> `K = 1` `K = 2` #> <model> <model> #> 1 <LM w/ ARIMA(1,0,2) errors> <LM w/ ARIMA(1,0,2) errors> #> # … with 9 more variables: K = 3 <model>, ARIMA <model>, ETS <model>, #> # NNET1 <model>, NNET2 <model>, NNET3 <model>, prophet.LWA <model>, #> # prophet.LW <model>, Combo1 <model>