fit_region_sarima: Estimate SARIMA model using data up to but not including...

Description Usage Arguments Value

Description

Estimate SARIMA model using data up to but not including first_test_season

Usage

1
2
3
fit_region_sarima(data, region, first_test_season, d = NA, D = NA,
  seasonal_difference = TRUE, transformation = c("none", "box-cox",
  "log"), prediction_target_var = "weighted_ili", path)

Arguments

data

regional dataset with structure like regionflu-cleaned

first_test_season

string indicating first test season

d

order of first differencing

D

order of seasonal differencing

seasonal_difference

boolean; take a seasonal difference before passing to auto.arima?

transformation

character specifying transformation type: "box-cox", "log", or "none" (default is "none")

prediction_target_var

character specifying column name of modeled variable, defaults to "weighted_ili"

path

path in which to save files

reg_num

region number for estimation

Value

NULL just saves files


reichlab/2018-2019-cdc-flu-contest documentation built on May 24, 2019, 7:36 a.m.