Statistics function incorrectly computing median
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Jan 14 18:17:25 CST 2008
On 13-Jan-2008, Ben Abbott wrote:
| I took another look and found a method that is more consistent with
| the original algorithm. The original calculates the CDF from left to
| right. So I added an equivalent calculation form right to left, and
| averaged the two results.
|
| I expect the result will be the same calculated by GNU's R.
Why not look at the R code for this function and see what it is doing?
jwe
More information about the Bug-octave
mailing list