powered by
ARMAtoMA_cpp(ar, ma, lag_max)
column vector
int
# ARMA(2,1) ARMAtoMA_cpp(c(1.0, -0.25), 1.0, 10) # ARMA(0,1) ARMAtoMA_cpp(numeric(0), 1.0, 10)
Run the code above in your browser using DataLab