Public Function RSquared( _
ByRef vYValues As Variant _
, ByRef vXValues As Variant _
) As Variant RSquared(Array(1, 3, 4), Array(2, 6, 9)) = 0.988416988416988
RSquared(Array(11, 44, 22), Array(15, 23, 12)) = 0.680780559646539See also: Pearson Function
Slope Function
Intercept Function
StandardError Function
Correlation Function
Covariance Function
RSQ Function (Microsoft Excel)vYValues: Dependent set of data. Numeric-type array or Variant array containing only numeric elements. This function is NOT affected by the current setting of the StatVarType Property. It assumes that vYValues is an array that contains only numeric elements. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.