apaRegression.Residuals(X, Y, B)
Excel
=apaRegression.Residuals(X, Y, B)Result
Calculates the residuals from X, Y and given betas. The betas are not necessarily estimated from the data.
Syntax
X: rows x columns matrix of data. Each column containing a variable.
Y: rows x 1 of data
B: 1 x c vector of regression betas (not necessarily estimated from X and Y; can be any estimator)
