polyprod {greybox} | R Documentation |
This function calculates parameters for the polynomials
Description
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.
Usage
polyprod(x, y)
Arguments
x |
The vector of parameters of the first polynomial. |
y |
The vector of parameters of the second polynomial. |
Value
The function returns a matrix with one column with the parameters for the polynomial, starting from the 0-order.
Author(s)
Ivan Svetunkov, ivan@svetunkov.ru
See Also
Examples
## Not run: polyprod(c(1,-2,-1),c(1,0.5,0.3))
[Package greybox version 2.0.1 Index]