olshena / COVIDNearTerm

1 stars 0 forks source link

Add models to simulateHoltMA #12

Closed olshena closed 4 years ago

olshena commented 4 years ago

The additive Holt model is hard-coded into simulateHoltMA. That is with the command model.ets <- forecast::ets(dat,model="AAN"). The model should be 'AAN' by default but it should be a user option to fit other ETS (errors, trend, seasonality) models.

kikapp commented 4 years ago

I added model_type as an argument with a default value of AAN.