Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ARMAacf_cpp

Compute Theoretical ACF for an ARMA Process


Description

Compute the theoretical autocorrelation function for an ARMA process.

Usage

ARMAacf_cpp(ar,ma,lag_max)

Arguments

ar

A vector of length p containing AR coefficients

ma

A vector of length q containing MA coefficients

lag_max

A unsigned integer indicating the maximum lag necessary

Details

This is an implementaiton of the ARMAacf function in R. It is approximately 40x times faster. The benchmark was done on iMac Late 2013 using vecLib as the BLAS.

Value

x A matrix listing values from 1...nx in one column and 1...1, 2...2,....,n...n, in the other

Author(s)

JJB


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.