ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I calculate the R and P values together (https://www.excelbanter.com/excel-discussion-misc-queries/136554-re-how-can-i-calculate-r-p-values-together.html)

Jerry W. Lewis

How can I calculate the R and P values together
 
To calculate r, use either the CORREL or PEARSON functions. They are
mathematically equivalent, but in Excel versions prior to 2003, CORREL is
preferred because it uses a numerically better algorithm (that is also used
by PEARSON in Excel 2003 and later).

To calculate a p-value (you didn't specify what hypothesis you want to
test), you can use the fact that the distribution of FISHER(r) is
approximately NORMDIST(,FISHER(rho),1/SQRT(n-3),), where rho is the true
correlation.

Jerry

"Excel issue" wrote:

How can I calculate the Pearson correlation, and get the r and P values



All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com