fit_ar | R Documentation |
Helper function to estimate autoregressive mode
fit_ar(counts, control.dates = NULL, order.max = 5, aic = FALSE, plot = FALSE)
counts |
Output from 'compute_excpected' |
control.dates |
Dates to use to estimate covariance |
order.max |
Maximum order of autoregressive process |
aic |
Logical that determines if AIC is used |
plot |
logical that determines if an autocorrelation plot is generated for exploration purposes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.