Learn R Programming

polyMatrix (version 0.3.1)

CanForm: Conversion of an ARMA representation to a canonical form

Description

The representation of an ARMA processes is unambiguous only in canonical form. The CanForm method, if the necessary parameters are given converts the ARMA representation to echelon, final or scm form.

Usage

CanForm(pM,form)
CanForm.echelon(pM)
CanForm.final(pM)
CanForm.scm(pM)

Arguments

pM

an arbitrary pMvarma class object

form

an arbitrary or "echelon", "final", "scm" form code

Value

An pMvarma class object in echelon, final or scm form.

See Also

polyMatrix-package

Examples

Run this code
# NOT RUN {
parma <- polyMgen.varma(3,3,rand=TRUE,degree=c(1,1))
parma

CanForm(parma,"final")
CanForm(parma,"echelon")
CanForm(parma,"scm")

# clean up
# rm(parma)
# }

Run the code above in your browser using DataLab