
Last chance! 50% off unlimited learning
Sale ends in
The function accepts two vectors with the parameters for the polynomials and returns the vector of parameters after their multiplication. This can be especially useful, when working with ARIMA models.
polyprod(x, y)
The vector of parameters of the first polynomial.
The vector of parameters of the second polynomial.
The function returns a matrix with one column with the parameters for the polynomial, starting from the 0-order.
# NOT RUN {
polyprod(c(1,-2,-1),c(1,0.5,0.3))
# }
Run the code above in your browser using DataLab