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 21 years ago

Closed 21 years ago

Last modified 18 years ago

#4 closed defect (fixed)

Fallo en la funcion QuantileS()

Reported by: manuelb Owned by: danirus
Priority: high Milestone:
Component: Math Version: 1.1.1
Severity: normal Keywords: TOL
Cc:

Description

(From the TOL forum)

From quantil 0.50 (not included) until Max they all have the same value: The maximum.

Example:
Serie ser = SubSer(Gaussian(10000, 10), y2000m01d01, y2000m01d31);
Real q25 = QuantileS(ser, y2000m01d01, y2000m01d31, 0.25);
Real q50 = QuantileS(ser, y2000m01d01, y2000m01d31, 0.50);
Real q51 = QuantileS(ser, y2000m01d01, y2000m01d31, 0.51);
Real q52 = QuantileS(ser, y2000m01d01, y2000m01d31, 0.52);
Real q75 = QuantileS(ser, y2000m01d01, y2000m01d31, 0.75);
Real q90 = QuantileS(ser, y2000m01d01, y2000m01d31, 0.90);
Real max = MaxS(ser, y2000m01d01, y2000m01d31);

/*
The result will be:

q51 == q52 == q75 == q90 == max

*/

Change History (4)

comment:1 Changed 21 years ago by danirus

Status: newassigned

comment:2 Changed 21 years ago by danirus

Resolution: fixed
Status: assignedclosed

This bug has been fixed.
The problem was an operation with an Integer when it had to be a Float.

comment:3 Changed 21 years ago by manuelb

Component: RealTYPE_Real
Keywords: Functions removed
product: TOL FunctionsTOL
Version: unspecified*1.1.10

Moved to TOL product.

comment:4 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_000004
Note: See TracTickets for help on using tickets.