MATLAB and R code for performing ARMA(p,q) model fitting.
Ecological Archives E091-062-S1.
Authors
File list (downloads)
Description
Anthony R. Ives
Department of Zoology
University of Wisconsin -- Madison
430 Lincoln Drive
Madison, WI 53706 USA
E-mail: arives@wisc.edu
ARMApqREMLfunct.m -- Matlab code for the ARMA likelihood function for REML and ML estimation
ARMApq_ME_REMLfunct.m -- Matlab code for the ARMA likelihood function for pseudo-REML and pseudo_ML estimation
ARMApqREMLfunct_R.txt -- R code for the ARMA likelihood function for REML and ML estimation
The ARMApqREMLfunct.m matlab program gives the negative log likelihood function and restricted likelihood function for an ARMA(p,q) model that can be used with a minimization program such as fminsearch.m. The ARMApqREMLfunct.m matlab program similarly gives the negative log likelihood function and restricted likelihood function for an ARMA(p,q) model for pseudo-ML and pseudo-REML estimation in which the standard error of the estimates is provided by the user. ARMApqREMLfunct_R.txt gives a version of ARMApqREMLfunct.m translated from matlab into R. The derivations of the code are given in Appendix A.
ESA Publications | Ecological Archives | Permissions | Citation | Contacts