Home   >   User Resources   >   Online Help   >   apaRegression.R2
 

 

Function index Version 3.0.0

apaRegression.R2(X, Y, B)

Excel=apaRegression.R2(X, Y, B)

Result

Calculates the R-squared 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)