mlear1 | R Documentation |
The function mlear1 is used to estimate the μ, σ and φ parameters of the AR(1) process as defined in Tyralis and Koutsoyiannis (2014). The method for their estimation is described in eqs.8-9 (Tyralis and Koutsoyiannis 2011).
mlear1(data, interval = c(-0.9999, 0.9999), tol = .Machine$double.eps^0.25)
data |
time series data |
interval |
φ interval estimation |
tol |
estimation error tolerance |
A vector whose values are the maximum likelihood estimates of μ, σ and φ.
The function likelihoodfunction.c is called from the C library of the package. Ideas for creating this function came from McLeod et al. (2007).
Hristos Tyralis
McLeod AI, Yu H, Krougly ZL (2007) Algorithms for linear time series analysis: With R package. Journal of Statistical Software 23(5):1–26. doi: 10.18637/jss.v023.i05.
Tyralis H, Koutsoyiannis D (2011) Simultaneous estimation of the parameters of the Hurst-Kolmogorov stochastic process. Stochastic Environmental Research & Risk Assessment 25(1):21–33. doi: 10.1007/s00477-010-0408-x.
Tyralis H, Koutsoyiannis D (2014) A Bayesian statistical model for deriving the predictive distribution of hydroclimatic variables. Climate Dynamics 42(11-12):2867–2883. doi: 10.1007/s00382-013-1804-y.
# Estimate the parameters for the Nile time series. mlear1(Nile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.