Re: aggregate function stddev

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: aggregate function stddev
Дата
Msg-id 200409091137.19204.josh@agliodbs.com
обсуждение исходный текст
Ответ на aggregate function stddev  (Kemin Zhou <kemin.zhou@ferring.com>)
Ответы Re: aggregate function stddev
Список 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


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Passynkov, Vadim"
Дата:
Сообщение: Re: Isnumeric function?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Datetime conversion in WHERE clause