Learn R Programming

tfarima (version 0.4.1)

phi.ucarima: Unscramble AR polynomial

Description

phi multiplies the AR polynomials of an object of the um class.

Usage

# S3 method for ucarima
phi(x, i = NULL, ar = TRUE, lp = TRUE, ...)

phi(x, ...)

# S3 method for um phi(x, ...)

Value

A numeric vector c(1, a1, ..., ad)

Arguments

x

an object of class um.

i

integer. Omit this component model.

ar

logical. If TRUE, the common AR polynomial is included.

lp

logical indicating the type of return: lagpol object or numeric vector.

...

additional arguments.

Examples

Run this code
um1 <- um(ar = "(1 - 0.8B)(1 - 0.5B)")
phi(um1)

Run the code above in your browser using DataLab