FitARMA-package: FitARMA: Fit ARMA or ARIMA using fast MLE algorithm

Description Details Author(s) References See Also Examples

Description

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.

Details

Package: FitARMA
Type: Package
Version: 1.4
Date: 2010-12-01
License: GLP 2.0 or greater
LazyLoad: yes

FitARMA is the main function.

Author(s)

A.I. McLeod

References

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

See Also

arima, AcfPlot

Examples

 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)

FitARMA documentation built on May 2, 2019, 9:33 a.m.