Description Usage Arguments Examples
minimize BIC for ARIMA models with default differencing order 1 over choices of MA and AR order
1 2 3 4 5 6 7 8 9 10  | 
src | 
 tibble with cumulative incidence like output of nytimes_state_data()  | 
fullusa | 
 logical(1) if TRUE, use Arima_nation (src should be enriched_jhu_data())  | 
state.in | 
 character(1) state name  | 
county.in | 
 character(1) county name, defaults to NULL, but if supplied, focus on county-level data  | 
parms | 
 two-column data frame with proposed AR order in column 1 and MA order in column 2  | 
max_date | 
 character(1) or lubridate date from which to look back  | 
lookback_days | 
 numeric(1)  | 
... | 
 passed to   | 
1 2 3 4 5 6  | nyd = nytimes_state_data()
mb = min_bic(nyd, state.in="New York")
names(mb)
nytc = nytimes_county_data()
mb2 = min_bic(nytc, state.in="Massachusetts", county.in="Norfolk")
names(mb2)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.