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

minimumStartupLag

Starting Periods Required


Description

Number of Starting Periods Required for a Model

Usage

minimumStartupLag(model)
    ## S3 method for class 'SS'
minimumStartupLag(model)
    ## S3 method for class 'ARMA'
minimumStartupLag(model)
    ## S3 method for class 'TSestModel'
minimumStartupLag(model)
    startShift(model,data, y0=NULL)

Arguments

model

A TSmodel or object containing a TSmodel.

data

A TSdata object.

y0

initial condition ...

Details

For many time series models several starting data points are required before output from the model can be calculated (or makes sense). This generic function extracts or calculates that number of periods.

Value

An integer.

Note

There is some redundancy between this and startShift which should be cleaned up.

See Also


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.