Learn R Programming

dse (version 2020.2-1)

minimumStartupLag: Starting Periods Required

Description

Number of Starting Periods Required for a Model

Usage

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

Arguments

model

A TSmodel or object containing a TSmodel.

data

A TSdata object.

y0

initial condition ...

Value

An integer.

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.

See Also

TSmodel