Re: aggregate function stddev

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Kemin Zhou <kemin(dot)zhou(at)ferring(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: aggregate function stddev
Date: 2004-09-09 18:37:19
Message-ID: 200409091137.19204.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Kemin,

> Just noticed that the postgres stddev is the stddev_sample formula.
> There are two different ways to calculate this value.
> Their difference is very small with large samle size. It would be nice
> to distinguish the two different versions.

Note sent to PGSQL-DOCS.

> I also noticed that oracle has stddev_sample and stddev_population.
> This is just a wish list.

Were you aware that in PostgreSQL you can write your own aggregates? It's
relatively easy to do.

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2004-09-09 18:42:41 Re: Datetime conversion in WHERE clause
Previous Message the inquirer 2004-09-09 17:49:26 PL/pgSQL Function Problem