Opened 17 years ago

Closed 17 years ago

#650 closed task (fixed)

Geometric mean

Reported by: Johan Enell Owned by: Johan Enell
Priority: critical Milestone: BASE 2.4
Component: core Version: trunk
Keywords: Cc:

Description

Create an geometric mean expression in the query package. Use the arithmetic mean in the calculation.

exp(avg(ln(x)))

Change History (7)

comment:1 by Johan Enell, 17 years ago

Resolution: fixed
Status: newclosed

(In [3514]) Fixes #650

comment:2 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: closedreopened

The LN() and EXP() functions have different names in different databases. See LogExpression and ExpExpression for more info.

comment:3 by Nicklas Nordborg, 17 years ago

Priority: majorcritical

comment:4 by Johan Enell, 17 years ago

(In [3517]) References #650 Creates Ql and String from the parts already made in LogExpression and ExpExpression. Uses lazy initialization for the full GeometricMean expression. This could be changed to creating the expression every time it is needed. Don't know which impementation that is most efficient.

comment:5 by Johan Enell, 17 years ago

Resolution: fixed
Status: reopenedclosed

(In [3522]) Fixes #650

added some info to the geometricMean method

comment:6 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: closedreopened

Add correct @version number in javadoc.

comment:7 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: reopenedclosed

(In [3556]) Fixes #648 and #650

Note: See TracTickets for help on using tickets.