apaDecisionTree.Regression.Fitted(Y, X, maxDepth, minSamplesSplit)
Excel
=apaDecisionTree.Regression.Fitted(Y, X, maxDepth, minSamplesSplit)Result
Decision tree regression: returns the fitted values of Y.
Syntax
Y: r x 1 vector of the dependent variable
X: r x c matrix of explanatory variables
maxDepth: maximum depth of the tree (determines the number of branches)
minSamplesSplit: minimum number of samples required to split a node
