Home   >   User Resources   >   Online Help   >   apaOLS.Fitted
 

 

Function index Version 3.0.0

apaOLS.Fitted(X, Y)

Excel=apaOLS.Fitted(X, Y)

Result

Returns the fitted Y values of an OLS regression. If there is more than one Y variable, returns the results for all Y_i with the same X.

Syntax

X: nRows x nCols matrix of X variables. Each column contains one variable.

Y: nRows x 1 matrix of the Y variables. If there is more than one Y variable, gives results for all Y_i with the same X.

Remarks

The calculations do not assume an intercept. To model a constant, add a column of ones to the X matrix.