Home   >   User Resources   >   Online Help   >   apaOLS.R2.Adjusted
 

 

Function index Version 3.0.0

apaOLS.R2.Adjusted(X, Y)

Excel=apaOLS.R2.Adjusted(X, Y)

Result

Returns the R-squared of an OLS regression, adjusted for the number of variables.

Syntax

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

Y: r x 1 data matrix

Algorithm

Formula

n is the number of observations, k the number of variables (including constants).

Remarks

Adjusted with the factor (n − 1)/(n − k).