fitSARIMASD: SARIMA Fitting to San Diego ILI Data

Description Usage Arguments Value Examples

View source: R/sarima_fxns.R

Description

fitSARIMASD fits the model data with a SARIMA model (either chosen by the user or using auto.arima) and calls the plotting function

Usage

1
2
fitSARIMASD(mydata = NULL, all_years_epi = NULL, arima_model = NULL,
  auto_arima_model = NULL, device = "png")

Arguments

mydata

- dataframe with all the data for this DICE run

all_years_epi

the epi data for SD county all years

arima_model

List of ARIMA model parameters: list(p=, d=, q=, P=, D, Q=) can be set to NULL to trigger the

auto_arima_model

A list of upper limit values for the ARIMA parameters. This list is created by the DICE code ONLY if arima_model is not set by the user

device

- 'pdf' or 'png'. Default is 'png' auto.arima process

Value

A list of tables with the results for the model region

Examples

1
2
fitSARIMASD((mydata = mydata, all_years_epi = all_years_epi, arima_model = arima_model,
auto_arima_model = NULL, covar = covar, covar_lag = covar_lag, run.list = run.list)

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.