apaTemporal.Window.Sizes(nObs, nInSamples, nOutOfSamples, nSteps, nShifts)
Excel
=apaTemporal.Window.Sizes(nObs, nInSamples, nOutOfSamples, nSteps, nShifts)Result
Returns various data set sizes when rolling windows: 1) number of data sets, 2) number of remainder observations.
Syntax
nObs: number of observations in the original data
nInSamples: rows x 1 vector with numbers of obs in the in-sample window
nOutOfSamples: rows x 1 vector with number of obs in the out-of-sample window
nSteps: number of steps to move the windows
nShifts: number of +/- shifts of the beginning of the out-of-sample window
Remarks
nShifts can be negative.
