I differ
If your dataset was:
1, 1, 2, 3, 4, 10, 11
Min = 1
Max = 11
Avg = 4.5+
Avg(Min,Max) = Avg(1,11) = 6
Median = 3 (central value in the dataset)
-----Original Message-----
Sent: Tuesday, May 15, 2001 7:27 PM
To: Multiple recipients of list ORACLE-L
geez louise,
Median := avg(Max,Min)
|| -----Original Message-----
|| From: Pat Hildebrand [mailto:[EMAIL PROTECTED]]
|| Sent: Monday, May 14, 2001 10:56 PM
|| To: Multiple recipients of list ORACLE-L
|| Subject: Re: Mean/Median
||
||
||
|| >
|| > Any scripts (sql or pl/sql) out there to compute various
|| statistical things
|| > in Oracle?
|| >
||
|| Would depend on just what you are looking for. A quick look at
|| Oracle's SQL functions showed avg, st. deviation, and variance
|| although no median but that should be easier to write than
|| some of the
|| others.
||
|| Pat
|| --
|| Please see the official ORACLE-L FAQ: http://www.orafaq.com
|| --
|| Author: Pat Hildebrand
|| INET: [EMAIL PROTECTED]
||
|| Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
|| San Diego, California -- Public Internet access /
|| Mailing Lists
|| --------------------------------------------------------------------
|| To REMOVE yourself from this mailing list, send an E-Mail message
|| to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
|| the message BODY, include a line containing: UNSUB ORACLE-L
|| (or the name of mailing list you want to be removed from). You may
|| also send the HELP command for other information (like subscribing).
||
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mohan, Ross
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Johan Locke@i-Commerce
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).