Home   >   User Resources   >   Online Help   >   apaDecisionTree.Regression.Residuals
 

 

Function index Version 3.0.0

apaDecisionTree.Regression.Residuals(Y, X, maxDepth, minSamplesSplit)

Excel=apaDecisionTree.Regression.Residuals(Y, X, maxDepth, minSamplesSplit)

Result

Decision tree regression: returns the residuals.

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