> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sherlock, Ric
> Sent: Wednesday, 27 June 2007 07:28
> To: Programming forum
> Subject: RE: [Jprogramming] Correlation Coefficient
> 
> Is there any practical reason both spdev & ssdev are defined?
> They both seem to do the same thing (ssdev is a little bit faster).
> spdev=:+/@(*~ dev)
> ssdev=:+/@:*:@dev
> 
To answer my own (dumb) question: because they are not the same when
used dyadically. spdev calculates the sum of the products of deviations
of x & y
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to