Learn R Programming

tfarima (version 0.4.1)

varsel: Variable selection

Description

varsel omits non-significant inputs from a transfer function model.

Usage

varsel(tfm, ...)

# S3 method for tfm varsel(tfm, y = NULL, p.value = 0.1, envir = parent.frame(), ...)

Value

A tfm object or a "um" if no input is significant at that level.

Arguments

tfm

a tfm object.

...

other arguments.

y

a "ts" object.

p.value

probability value to decide whether or not to omit an input.

envir

environment in which the function arguments are evaluated. By default, the calling environment of this function will be used.