Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

McMillanDegree

Calculate McMillan Degree


Description

Calculate the McMillan degree of an ARMA TSmodel.

Usage

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

Examples

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

dse

Dynamic Systems Estimation (Time Series Package)

v2020.2-1
GPL-2
Authors
Paul Gilbert <pgilbert.ttv9z@ncf.ca>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.