apaDecisionTree.Regression.Timeseries.Forecast(Y, maxDepth, minSamplesSplit, nLags, nAhead)
Excel
=apaDecisionTree.Regression.Timeseries.Forecast(Y, maxDepth, minSamplesSplit, nLags, nAhead)Result
Decision tree regression for time series forecasts: returns n-step-ahead forecasts with forecast intervals. The function is non-volatile.
Syntax
Y: r x 1 vector containing the time series
maxDepth: maximum depth of the tree (determines the number of branches)
minSamplesSplit: minimum number of samples required to split a node
nLags: number of lags used as explanatory variables
nAhead: number of periods ahead to forecast
