Home   >   User Resources   >   Online Help   >   apaMatrix.Lagged.nLags
 

 

Function index Version 3.0.0

apaMatrix.Lagged.nLags(Matrix, nLags, IncludeOriginal)

Excel=apaMatrix.Lagged.nLags(Matrix, nLags, IncludeOriginal)

Result

Returns a matrix of lagged copies of data, defined by the maximum number of lags nLags.

Syntax

Matrix: nRows x nCols matrix of data

nLags: maximum number of lags

IncludeOriginal: TRUE to include the original data in the first columns