Re: Normal distribution et al.?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Jan Danielsson <jan(dot)m(dot)danielsson(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Normal distribution et al.?
Date: 2007-06-18 03:43:19
Message-ID: 20070618034319.GA11208@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 18, 2007 at 05:11:51AM +0200, Jan Danielsson wrote:
> Are there any statistical libraries for postgresql?
>
> I'd like to do something along the lines of:
>
> UPDATE foo SET value=value+normdistsample(10, 0.2) WHERE id=1;

Somebody else has mentioned PL/R. For this particular example see
also normal_rand() in contrib/tablefunc.

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message MC Moisei 2007-06-18 06:09:18 Ubuntu, Postgresql-8.2 and remote access thru pg_hba.conf
Previous Message Jan Danielsson 2007-06-18 03:40:41 Re: Normal distribution et al.?