Takes an ARMA function and converts it to an infinite MA process.
ARMAtoMA_cpp(ar, ma, lag_max)
ar | A |
---|---|
ma | A |
lag_max | A |
A column vector
containing coefficients
This function is a port of the base stats package's ARMAtoMA. There is no significant speed difference between the two.