The original d17 is incorrect; d17revision1 are d17revision2 are correct.


----- Original Message -----
From: Robert Cyr <[EMAIL PROTECTED]>
Date: Wednesday, May 28, 2008 11:35
Subject: [Jprogramming] weighted average, Phrase d17
To: [email protected]

> >From Phrases, section 10 Maths & Stats:
> 
> d17=: +/ .* % [EMAIL PROTECTED]  NB.Mean of x weighted by y
> 
> I would expect:
> 
> d17revision1=:+/ .* % +/@]  NB.Mean of x weighted by y
> or
> d17revision2=:+/@* % +/@]      NB.Mean 
> of x weighted by y
> 
> Do I misunderstand the intent of the formula?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to