lagpol
creates a lag polynomial of the form \((1 - coef_1 B^s - ...
- coef_d B^sd)^p\). This class of lag polynomials is defined by a vector of d
coefficients c(coef_1, ..., coef_d), the powers s and p, and a vector of k
parameters c(param_1, ..., param_k). The vector c(coef_1, ..., coef_d) is
actually a vector of math expressions to compute the value of each
coefficient in terms of the parameters.