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

 

Function index Version 3.0.0

apaMatrix.Lagged.Pad(Matrix, LagVector)

Excel=apaMatrix.Lagged.Pad(Matrix, LagVector)

Result

Returns a matrix of lagged copies of data, defined by a vector of lags. Non-matching observations are padded with zeros.

Syntax

Matrix: nRows x nCols matrix of data

LagVector: 1 x nCols vector of lags. Negative lags reference past observations, positive lags future observations