For two sets of numbers, the Excel RSQ function computes the square of the Pearson Product-Moment Correlation Coefficient.
Syntax :
=RSQ( known_y’s, known_x’s )
Parameters :
Example :
The spreadsheet on the right has two arrays of values in columns A and B. Pearson Product-Moment Correlation squared The Excel Rsq function may be used to determine the coefficient of the values in columns A and B of the spreadsheet, as shown below: RSQ = RSQ ( A2:A9, B2:B9 ) This yields the result 0.71166629. #N/A-Occurs if the lengths of the given known y’s and known y’s arrays disagree.
Ask Your Query