Starting Periods Required

Share:

Description

Number of Starting Periods Required for a Model

Usage

1
2
3
4
5
6
7
8
    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

TSmodel

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.