Skip to main content

Excel PEARSON Function

The PEARSON function returns the Pearson product-moment correlation coefficient (r) for two supplied sets of values.

pearson function 1


Syntax

=PEARSON(array1, array2)


Arguments

  • array1 (required): A set of independent values.
  • array2 (required): A set of dependent values.

Return Value

The PEARSON function returns a numeric value.


Function Notes

  • Arguments can be either of the following:
    • Numbers;
    • Names, arrays, or references that contain numbers.
  • Logical values and other values that can be converted to numbers that you type directly into the list of arguments will be counted.
  • If text or empty cells are referenced as either of the arguments, the values will be ignored.
  • PEARSON returns the #N/A error if the number of values that are directly supplied as array1 and array2 is different.
  • PEARSON returns the #DIV/0! error if:
    • array1 and/or array2 are empty;
    • array1 and/or array2 have only one data point;
    • The standard deviation of the values in one or both of the supplied arrays equals to zero.
  • The equation for the Pearson product moment correlation coefficient (r) is:
    pearson function 2
    Where x and y are the sample means of the two arrays of values.

Example

Take the table below as an example. To get the Pearson product-moment correlation coefficient for two supplied sets of values listed in the table, please copy or enter the formula below in the result cell, and press Enter to get the result.

=PEARSON(B6:B12,C6:C12)

pearson function 2


Related functions

Excel RSQ Function

The RSQ function returns the square of the Pearson product-moment correlation coefficient (r2) for two supplied sets of values.

Excel CORREL Function

The CORREL function returns the correlation coefficient of two cell ranges, which can be used to determine the relationship between two properties.


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations