From: student23 <student23@o2.pl>
To: pgsql-jdbc@postgresql.org
Subject: stddev_pop, stddev_samp strange behaviour
Date: Mon, 09 Jul 2007 14:29:41 +0200
Message-ID: <1121e8e2.366a05c5.46922a35.dbe87@o2.pl> (raw)
Hi,
I've created a test table with some random data and try to execute stddev_pop _samp, and var_pop _samp as below.
select stddev_pop(value),stddev_samp(value) from test
select var_pop(value),var_samp(value) from test
I noticed that stddev_pop return same value as stddev_samp, and var_pop return same value as var_samp. I have PostgreSQL 8.2.4 and asume something is wrong. The data I used should return different value for each function.
MZ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: student23@o2.pl
Subject: Re: stddev_pop, stddev_samp strange behaviour
In-Reply-To: <1121e8e2.366a05c5.46922a35.dbe87@o2.pl>
References: <1121e8e2.366a05c5.46922a35.dbe87@o2.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox