Post Reply 
Bug? Odd behavior of [a b/c] with results from mean().
11-29-2015, 07:29 AM
Post: #9
RE: Bug? Odd behavior of [a b/c] with results from mean().
(11-28-2015 06:18 PM)Helge Gabert Wrote:  Good explanation, except median does result in the average of both middle terms, if the list has an even number of objects, at least in the current firmware

median({4,7,8,14}) returns 7.5 in CAS.

(11-28-2015 08:00 PM)DrD Wrote:  A list containing an even amount of numbers, after placing the numbers in increasing order, the median is half the sum (the average) of the two middle numbers.

Then median's behavior is inconsistent, because in CAS, when a, b, c, and d are nonexistent variables, median({a,b,c,d}) returns b, not (b+c)/2. (At least at this moment on this Prime emulator with its current settings on this laptop...).

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Bug? Odd behavior of [a b/c] with results from mean(). - Joe Horn - 11-29-2015 07:29 AM



User(s) browsing this thread: 2 Guest(s)