View source: R/arma_benchmark.R
arma_benchmark | R Documentation |
Fits independent log-ARMA models for each unit, and calculates the conditional log-likelihood for each observation, as well as log-likelihood for each unit and total log-likelihood. A simple tool, but one with practical applicability, as demonstrated by King et al (2008) and Wheeler et al (2023). This function is designed for non-negative data, and adds 1 to each observation to avoid log(0).
arma_benchmark(spo, order = c(2, 0, 1))
spo |
A spatPomp object |
order |
A triple (p,d,q) for the ARIMA model fitted to the data. It is intended that d=0 |
Edward L. Ionides
2008
\wheeler2023
Other utilities:
expand_params()
# Complete examples are provided in the package tests
## Not run:
m <- he10(U = 5)
arma_benchmark(m)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.