[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie help with statistics function
From: |
Ben Abbott |
Subject: |
Re: newbie help with statistics function |
Date: |
Fri, 21 Nov 2008 10:37:37 -0500 |
On Friday, November 21, 2008, at 10:07AM, "Ben Abbott" <address@hidden> wrote:
>
>On Friday, November 21, 2008, at 08:15AM, "Daniel Harris" <address@hidden>
>wrote:
>>Hello All
>>
>>New to octave and new to maths again but I am working on some statistics
>>work that requires a boxplot and I thing something is wrong.
>>
>>I entered the following
>>
>>a= [1; 2; 3; 4; 5; 6; 7; 8; 9; 10 ]
>>
>>and statistics(a)
>>
>> 1.00000
>> 3.00000
>> 5.00000
>> 8.00000
>> 10.00000
>> 5.50000
>> 3.02765
>> 0.00000
>> -1.56164
>>
>>but isnt the median wrong. shouldnt it be 5.5 and the boxplot also has it at
>>5 also but
>>
>>median(a)
>>
>>ans = 5.5
>>
>>This is my first attempt with octave (3.01 Debian lenny) and I am a bit
>>confused.
>>
>>Any help appreciated
>>
>>Dan
>
>This has been fixed in the developers sources.
>
>revision 7643: 0220da981c2a
>
>http://velveeta.che.wisc.edu/cgi-bin/hgwebdir.cgi/octave/diff/0220da981c2a/scripts/statistics/base/statistics.m
>
>Jaroslav, can the be applied to 3.0.x?
>
>Ben
>
This time with a link to the entire changeset :-)
http://velveeta.che.wisc.edu/cgi-bin/hgwebdir.cgi/octave/rev/0220da981c2a
Ben