This function converts the (q x 1) vector of constants and (q x qp) matrix of autoregressive coefficients into (qp x qp) matrix belonging to the companion form
Usage
companionMat(phi, p, q)
Value
matrix of dimension (qp x qp) of companion form.
Arguments
phi
matrix of dimension (q x qp) containing autoregressive coefficients.