Description Details Author(s) References See Also Examples
Fit ARMA/ARIMA time series model using fast algorithm. All MLE computations in R. Two estimation functions: 'FitARMA' and 'GetFitARMA' are provided. 'FitARMA' provides more options including an option for exact MLE estimation of the intercept term. 'GetFitARMA' is provided for bootstrapping and simulation experiments. S3 Methods 'print', 'summary', 'coef', 'residuals', 'fitted' provided. Fast exact Gaussian ARMA simultation using C.
Package: | FitARMA |
Type: | Package |
Version: | 1.4 |
Date: | 2010-12-01 |
License: | GLP 2.0 or greater |
LazyLoad: | yes |
FitARMA is the main function.
A.I. McLeod
A. I. McLeod, Ying Zhang (2007). Faster ARMA maximum likelihood estimation, Computational Statistics & Data Analysis 52(4), URL http://dx.doi.org/10.1016/j.csda.2007.07.020
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | data(SeriesA)
#ARIMA(0,1,1) with exact estimation of mean of differenced series
ans<-FitARMA(SeriesA, order=c(0,1,1), MeanMLEQ=TRUE)
ans
coef(ans)
#ARIMA(0,1,1) with sample-mean estimation of mean of differenced series
ans<-FitARMA(SeriesA, order=c(0,1,1))
ans
coef(ans)
#ARIMA(0,1,1) with mean of differenced series set to zero
#as in 'arima'
ans<-FitARMA(SeriesA, order=c(0,1,1), demean=FALSE)
ans
coef(ans)
# illustrating methods
summary(ans)
resid(ans)
fitted(ans)
ans$racf
#Simulate and fit Gaussian ARMA
z<-SimulateGaussianARMA(0.9, 0.5, 200)
#GetFitARMA is faster than FitARMA.
#Use GetFitARMA for parametric bootstrap and simulation experiments
GetFitARMA(z, p=1, q=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.