The Excel RSQ Function
Pearson Product-Moment Correlation Coefficient
The Pearson
product-moment correlation coefficient is a statistical measurement of the correlation
(linear association) between two sets of values.
The Pearson product-moment correlation coefficient for two sets of values, x and y, is given by the formula : The Excel RSQ Function returns the square of the above r value. Basic DescriptionThe Excel RSQ function calculates the square of the Pearson Product-Moment Correlation Coefficient for two supplied sets of values. The format of the function is :
RSQ( array1, array2 )
Where array1 and array2 are two arrays of numeric values and are of equal length.
ExampleColumns A and B of the spreadsheet on the right contain two arrays of values. The square of the Pearson Product-Moment Correlation Coefficient of the values in columns A and B of the spreadsheet can be calculated using the Excel Rsq function, as follows: =RSQ( A2:A9, B2:B9 )
This gives the result 0.71166629. Note that this result is the square of 0.843603159, which is the Pearson Product-Moment Correlation Coefficient for the two arrays of values. Further examples of the Excel Rsq function can be found on the Microsoft Office website. Trouble ShootingIf you get an error from the Excel Rsq function this is likely to be one of the following : Common Errors
|
|||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||
Copyright © 2008-2011 ExcelFunctions.net |