Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel graph
how do I calculate the pearson correlation coefficient for on microsoft excel
for a grapg of information. If it is not possible is there another program that can do this for me? |
#2
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel graph
In a cell in the worksheet, enter this formula
=CORREL({y range},{x range}) where {x range} and {y range} are the ranges occupied by the X and Y values in the sheet. You can select them by clicking and dragging while you are entering the formula. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "university student that is lost" <university student that is wrote in message ... how do I calculate the pearson correlation coefficient for on microsoft excel for a grapg of information. If it is not possible is there another program that can do this for me? |
#3
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel graph
On Fri, 15 Sep 2006, in microsoft.public.excel.charting,
Jon Peltier said: In a cell in the worksheet, enter this formula =CORREL({y range},{x range}) Shouldn't that be =PEARSON({y range},{x range})? I only have Excel 97, but I'm surprised to see that PEARSON() and CORREL() do not have a pointer to each other in the "See also" section of the help file. -- Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder-- please send your email to del3 instead. |
#4
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel graph
A quick glimpse at Google led me to believe they were one and the same. Just
now Wikipedia tells me: "The CORREL() function in many major spreadsheet packages, such as Microsoft Excel and Gnumeric calculates Pearsons correlation coefficient." Wolfram adds that: "The correlation coefficient is also known as the product-moment coefficient of correlation or Pearson's correlation." I wouldn't count on the Excel help files to be much help, especially about statistics. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Del Cotter" wrote in message ... On Fri, 15 Sep 2006, in microsoft.public.excel.charting, Jon Peltier said: In a cell in the worksheet, enter this formula =CORREL({y range},{x range}) Shouldn't that be =PEARSON({y range},{x range})? I only have Excel 97, but I'm surprised to see that PEARSON() and CORREL() do not have a pointer to each other in the "See also" section of the help file. -- Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder-- please send your email to del3 instead. |
#5
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel graph
Hello, Jon!
You wrote on Sun, 17 Sep 2006 00:28:59 -0400: JP "The CORREL() function in many major spreadsheet packages, JP such as Microsoft Excel and Gnumeric calculates Pearsons JP correlation coefficient." JP Wolfram adds that: JP "The correlation coefficient is also known as the JP product-moment coefficient of correlation or Pearson's JP correlation." JP I wouldn't count on the Excel help files to be much help, JP especially about statistics. It is interesting that the Help entries for PEARSON and CORREL look confusingly different. Rather than analyse the equations, I calculated PEARSON and CORREL for several sets of data with identical numerical results :-) James Silverton Potomac, Maryland E-mail, with obvious alterations: not.jim.silverton.at.comcast.not |
#6
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel graph
You're right, a quick test of the two functions suggests they give the
same numeric result every time. Jon Peltier said: A quick glimpse at Google led me to believe they were one and the same. Just now Wikipedia tells me: "The CORREL() function in many major spreadsheet packages, such as Microsoft Excel and Gnumeric calculates Pearsons correlation coefficient." -- Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder-- please send your email to del3 instead. |
#7
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel grap
Correl is the better choice. In Excel 2003 and later Correl and Pearson are
identical. Prior to 2003, they are mathematically equivalent, but Peason is numerically inferior. Jerry "Del Cotter" wrote: On Fri, 15 Sep 2006, in microsoft.public.excel.charting, Jon Peltier said: In a cell in the worksheet, enter this formula =CORREL({y range},{x range}) Shouldn't that be =PEARSON({y range},{x range})? I only have Excel 97, but I'm surprised to see that PEARSON() and CORREL() do not have a pointer to each other in the "See also" section of the help file. -- Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder-- please send your email to del3 instead. |
#8
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel grap
"Jerry W. Lewis" wrote in message ... Correl is the better choice. In Excel 2003 and later Correl and Pearson are identical. Prior to 2003, they are mathematically equivalent, but Peason is numerically inferior. Without disputing your analysis, since all my tests seem to produce identical results with Excel 2002, can you point me to details of why PEARSON is inferior? Perhaps, you might let me have some data that would produce different answers. -- James Silverton Potomac, Maryland |
#9
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel grap
Hello, James!
You wrote on Sun, 17 Sep 2006 23:52:37 -0400: JS "Jerry W. Lewis" wrote in JS message ... ?? Correl is the better choice. In Excel 2003 and later ?? Correl and Pearson are identical. Prior to 2003, they are ?? mathematically equivalent, but Peason is numerically ?? inferior. ?? JS Without disputing your analysis, since all my tests seem to JS produce identical results with Excel 2002, can you point me JS to details of why PEARSON is inferior? Perhaps, you might JS let me have some data that would produce different answers. I'll just add that I checked my results again but I had to look at the 14th or 15th decimal to get a numerical difference. I suppose there must be data where the difference is more apparent but I'd debate whether the differences of the coefficients have any meaning for my data. James Silverton Potomac, Maryland E-mail, with obvious alterations: not.jim.silverton.at.comcast.not |
#10
Posted to microsoft.public.excel.charting
|
|||
|
|||
how i calculate pearson correlation coefficient for excel grap
The numerical problems with the pre-2003 Pearson algorithm are the same as
with the pre-2003 StDev, Rsq, Slope, etc. They have been discussed in the statistical literature for over 40 years and in these newsgroups for over 10. You might find http://groups.google.com/group/micro...a03470e7a1c650 to be useful. You will find a number of threads where people report Rsq<0 or Abs(Rsq)1. In those instances Pearson will show much worse numerical problems than your simple tests have shown. For a relatively simple example, put =$C$1 in A1:B1 and =$C$1+1 in A2:B2. =CORREL(A1:A2,B1:B2) and =PEARSON(A1:A2,B1:B2) should both be 1 for any numeric value in C1. However if C1 contains 1E8 then PEARSON will give #DIV/0, and if C1 contains 1E12 then PEARSON will give -1. Jerry "James Silverton" wrote: "Jerry W. Lewis" wrote in message ... Correl is the better choice. In Excel 2003 and later Correl and Pearson are identical. Prior to 2003, they are mathematically equivalent, but Peason is numerically inferior. Without disputing your analysis, since all my tests seem to produce identical results with Excel 2002, can you point me to details of why PEARSON is inferior? Perhaps, you might let me have some data that would produce different answers. -- James Silverton Potomac, Maryland |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Hyperlinkage of one graph with another graph or Drill down graph | Charts and Charting in Excel | |||
How do I calculate the area under a curve in an Excel graph? | New Users to Excel | |||
spearman correlation coefficient | Excel Discussion (Misc queries) | |||
Correlation Coefficient Issue | Excel Worksheet Functions |