Number of Starting Periods Required for a Model
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)
A TSmodel or object containing a TSmodel.
A TSdata object.
initial condition ...
An integer.
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.