McMillanDegree: Calculate McMillan Degree

Description Usage Arguments Value Side Effects See Also Examples

View source: R/dse1.R

Description

Calculate the McMillan degree of an ARMA TSmodel.

Usage

1
2
3
4
5
6
7
    McMillanDegree(model,  ...)
    ## S3 method for class 'ARMA'
McMillanDegree(model, fuzz=1e-4, verbose=TRUE, warn=TRUE, ...)
    ## S3 method for class 'SS'
McMillanDegree(model, fuzz=1e-4, ...)
    ## S3 method for class 'TSestModel'
McMillanDegree(model,  ...)

Arguments

model

An object of class TSmodel.

fuzz

Roots within fuzz distance are counted as equivalent.

verbose

If TRUE roots are printed.

warn

If FALSE then warnings about unit roots added for TREND are not printed.

...

arguments to be passed to other methods.

Value

A list with elements gross and distinct containing all roots and distinct roots.

Side Effects

The number of roots and distinct roots is printed if verbose is TRUE.

See Also

stability

Examples

1
2
3
data("eg1.DSE.data.diff", package="dse")
model <- estVARXls(eg1.DSE.data.diff)
McMillanDegree(model)

dse documentation built on March 26, 2020, 7:12 p.m.