Opened 16 years ago

Closed 16 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 Changed 16 years ago by Johan Enell

Resolution: fixed
Status: newclosed

(In [3514]) Fixes #650

comment:2 Changed 16 years ago by Nicklas Nordborg

Resolution: fixed
Status: closedreopened

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

comment:3 Changed 16 years ago by Nicklas Nordborg

Priority: majorcritical

comment:4 Changed 16 years ago by Johan Enell

(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 Changed 16 years ago by Johan Enell

Resolution: fixed
Status: reopenedclosed

(In [3522]) Fixes #650

added some info to the geometricMean method

comment:6 Changed 16 years ago by Nicklas Nordborg

Resolution: fixed
Status: closedreopened

Add correct @version number in javadoc.

comment:7 Changed 16 years ago by Nicklas Nordborg

Resolution: fixed
Status: reopenedclosed

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

Note: See TracTickets for help on using tickets.