companionMat | R Documentation |
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
companionMat(phi, p, q)
phi |
matrix of dimension ( |
p |
integer for number of autoregressive lags. |
q |
integer for number of series. |
matrix of dimension (qp x qp
) of companion form.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.