#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default correlation function

why does correl(x,y) NOT equal covar(x,y)/stdev(x)*stdev(y) in excel??!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 762
Default correlation function

leopons_rock -

Excel's Help shows the formulas for each function.

CORREL uses n, COVAR uses n, and STDEV uses n-1, where n is the sample size.

CORREL(x,y) does equal COVAR(x,y)/(STDEVP(x)*STDEVP(y)).

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel


"leopons_rock" wrote in message
...

why does correl(x,y) NOT equal covar(x,y)/stdev(x)*stdev(y) in excel??!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 947
Default correlation function

Hi. A math program showed Covar using a poplulation size.( ie n-1, not n)
In other words, if the size is 4, then it divided by 3.
So, with n=4 data points, try muliplying by n/(n-1)
Make sure you use ( ) around the denominator also.
(Not always perfect, but I trust math programs much more than Excel.)

=CORREL(y,x)=COVAR(x,y)/(STDEV(x)*STDEV(y))*4/3

- TRUE

HTH
Dana DeLouis


"leopons_rock" wrote in message
...
why does correl(x,y) NOT equal covar(x,y)/stdev(x)*stdev(y) in excel??!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 947
Default correlation function

STDEVP(x)*STDEVP(y)

Well, duh! Thanks !! :~

Dana


"Mike Middleton" wrote in message
...
leopons_rock -

Excel's Help shows the formulas for each function.

CORREL uses n, COVAR uses n, and STDEV uses n-1, where n is the sample
size.

CORREL(x,y) does equal COVAR(x,y)/(STDEVP(x)*STDEVP(y)).

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel


"leopons_rock" wrote in message
...

why does correl(x,y) NOT equal covar(x,y)/stdev(x)*stdev(y) in excel??!





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Correlation matrix Chrissy Wissy[_2_] Excel Discussion (Misc queries) 7 July 11th 07 12:26 PM
correlation James is Emusic Excel Worksheet Functions 1 April 25th 07 03:18 PM
Correlation formula/function question. MarvInBoise Excel Worksheet Functions 1 July 7th 06 09:01 PM
Correlation between 2 or more variables [email protected] Excel Discussion (Misc queries) 2 November 25th 05 11:52 PM
Correlation - Which Analytical Function to Use Pasko1 Excel Discussion (Misc queries) 2 October 7th 05 12:54 AM


All times are GMT +1. The time now is 03:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"