Although in correlation the n-1 cancel out, statistical stddev
and cov should use sample variance, as the estimated mean is 
used in E(X-E(X))^2 is one less degree of freedom.

--- Raul Miller <[EMAIL PROTECTED]> wrote:

> Here's another (straightforward) variant:
> 
> E=:   +/ % #
> SD=:  %:@E@:*:@:- E
> COR=: E@:*&(- E) % *&SD
> 
> -- 
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to