BUG #4916: wish: more statistical functions (median, percentiles etc)

From: "Richard Neill" <rn214(at)cam(dot)ac(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4916: wish: more statistical functions (median, percentiles etc)
Date: 2009-07-10 23:37:46
Message-ID: 200907102337.n6ANbkDk086971@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general


The following bug has been logged online:

Bug reference: 4916
Logged by: Richard Neill
Email address: rn214(at)cam(dot)ac(dot)uk
PostgreSQL version: 8.4
Operating system: Linux
Description: wish: more statistical functions (median, percentiles
etc)
Details:

In addition to the existing aggregate functions (avg, stddev etc), it would
be nice if postgres could return further information. For example, the
quartiles, percentiles, and median.

[mode would also be useful, as an explicit function, though we can get it
easily enough using count(1) order by count desc].

According to google, this has been a wish since at least year 2000 for
various people, but doesn't seem to be implemented.

Thanks - Richard

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Joshua Tolley 2009-07-11 00:52:34 Re: BUG #4916: wish: more statistical functions (median, percentiles etc)
Previous Message Mathieu De Zutter 2009-07-10 16:37:15 Re: BUG #4913: Row missing from primary key index

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2009-07-10 23:39:00 Re: [Fwd: Re: How to trace client sql requests?]
Previous Message Niederland 2009-07-10 23:11:07 Re: Postgres 8.4 literal escaping