Hi

I'm not aware of any "out-of-the-box" Oracle solution either (like STDDEV or
AVG). 
Looks like one has to roll ones own statistical functions when it comes to
calculating things like modus or median.
Is anybody aware of an extension, maybe in form of an old cartridge or a
pl/sql library to handle that stuff ?
The problem is, that for instance STDDEV is a "normal" SQL function, if you
roll your own to calculate other things, you end up having to call a pl/sql
function from sql, which isn't really a performance boost.

Stefan

-----UrsprÃngliche Nachricht-----
Von: Robson, Peter [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2003 13:20
An: Multiple recipients of list ORACLE-L
Betreff: RE: Geometric mean


Thanks for that, Stephane -

hmmm, I'm still working on it... will post the successful script when I get
it...

peter
edinburgh

> -----Original Message-----
> From: Stephane Faroult [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 5:24 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Geometric mean
> 
> 
> Peter,
> 
>    I am a mere shadow of what I used to be in mathematics,
> but wouldn't
>     POWER(10,AVG(LOG(10,<column>)))
> 
> do it?
> 
> SF
> 
> >----- ------- Original Message ------- -----
> >From: "Robson, Peter" <[EMAIL PROTECTED]>
> >To: Multiple recipients of list ORACLE-L
> ><[EMAIL PROTECTED]>
> >Sent: Thu, 13 Nov 2003 08:49:24
> >
> >
> >Has anyone any code (SQL, PL/SQL) that will permit
> >the calculation of the
> >geometric mean of 'n' values?
> >
> >appreciated...
> >
> >peter
> >edinburgh
> >
> >
> >ps - yes I know Perl will do it, but that is not
> >the answer...
> >
> >
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Stephane Faroult
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 


*********************************************************************
This  e-mail  message,  and  any  files  transmitted  with  it, are
confidential  and intended  solely for the  use of the  addressee. If
this message was not addressed to  you, you have received it in error
and any  copying,  distribution  or  other use  of any part  of it is
strictly prohibited. Any views or opinions presented are solely those
of the sender and do not necessarily represent  those of the British
Geological  Survey. The  security of e-mail  communication  cannot be
guaranteed and the BGS accepts no liability  for claims arising as a
result of the use of this medium to  transmit messages from or to the
BGS. .                            http://www.bgs.ac.uk
*********************************************************************

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Robson, Peter
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stefan Jahnke
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to