close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#505 closed defect (fixed)

Median() function and the unknown real number

Reported by: Pedro Gea Owned by: Víctor de Buen Remiro
Priority: highest Milestone:
Component: Various Version: head
Severity: critical Keywords:
Cc: Pedro Gea

Description

Median with unknown real numbers depends on the order of the numbers.

See that:
Real Median(?,3,2);
Real Median(2,?,3);
Real Median(3,2,?);

There are three different values for the permutations of these numbers.

This bug probably affects other median functions
like: SetMedian(), MedianS(), ...

Change History (3)

comment:1 Changed 18 years ago by Víctor de Buen Remiro

Owner: changed from danirus to Víctor de Buen Remiro

comment:2 Changed 18 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

This bug has been fixed in CVS (1.1.5 and head) all sorting statistics (Frequency, Quantile, Median, ...) to skip unknown values

Thanks to report it

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000505

Bug has been fixed in both TOL builds that are available at

v1.1.5 b.17 2007-08-28 15:20:36 i686-win
http://www.tol-project.org/pub/bin/win/tolbase-1.1.5-setup.exe

v1.1.6 b.0.20.alpha 2007-08-28 15:37:40 i686-win
http://www.tol-project.org/pub/bin/win/tolbase-1.1.6-setup.exe

A new test has been added to check it at
http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000505

Note: See TracTickets for help on using tickets.