polyprod function

This function calculates parameters for the polynomials

This function calculates parameters for the polynomials

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)

Arguments

  • x: The vector of parameters of the first polynomial.
  • y: The vector of parameters of the second polynomial.

Returns

The function returns a matrix with one column with the parameters for the polynomial, starting from the 0-order.

Examples

## Not run: polyprod(c(1,-2,-1),c(1,0.5,0.3))

See Also

convolve

Author(s)

Ivan Svetunkov, ivan@svetunkov.com

  • Maintainer: Ivan Svetunkov
  • License: LGPL-2.1
  • Last published: 2025-04-04