apaRandomForest.Regression.Timeseries.ForecastWithIntervals(Y, maxDepth, minSamplesSplit, nLags, nAhead, nTrees, minObs, maxObs, minFeatures, maxFeatures)
Excel
=apaRandomForest.Regression.Timeseries.ForecastWithIntervals(Y, maxDepth, minSamplesSplit, nLags, nAhead, nTrees, minObs, maxObs, minFeatures, maxFeatures)Result
Random forest time series regression: returns forecasts with confidence intervals.
Syntax
Y: r x 1 data vector containing a time series
maxDepth: maximum depth of the trees (determines the number of branches)
minSamplesSplit: minimum number of observations required to split a node
nLags: number of lags used as predictors
nAhead: number of periods ahead to forecast
nTrees: number of trees in the forest
minObs: minimum number of observations sampled per tree
maxObs: maximum number of observations sampled per tree
minFeatures: minimum number of features sampled per tree
maxFeatures: maximum number of features sampled per tree
