I also ran into this problem recently and was disappointed to find that the
notch was based on a normal approximation.
While there are a number of ways to calculate the notch size, it would be
useful to allow the user to supply (either as an optional keyword, or as a
vector input for the notch key
Andrew Straw wrote:
> Also, I think that formula is only for normally distributed data. Which,
> especially if you're using boxplots, medians, and quartiles, may not be
> a valid assumption.
>
> Maybe we should at least raise a warning when someone uses notch=1. The
> current implementation seem
Andrew Straw wrote:
> Also, I think that formula is only for normally distributed data. Which,
> especially if you're using boxplots, medians, and quartiles, may not be
> a valid assumption.
>
> Maybe we should at least raise a warning when someone uses notch=1. The
> current implementation seem
Pierre GM wrote:
> On Dec 18, 2009, at 10:34 PM, Andrew Straw wrote:
>
>> Fernando Perez wrote:
>>
>>> On Fri, Dec 18, 2009 at 2:28 PM, Andrew Straw wrote:
>>>
>>>
(This still leaves open the question of what the notches actually _are_...)
>>> No idea. I'd s
Fernando Perez wrote:
> On Fri, Dec 18, 2009 at 2:28 PM, Andrew Straw wrote:
>
>> (This still leaves open the question of what the notches actually _are_...)
>>
>
> No idea. I'd still leave the code instead written as
>
> notch_max = med + (iq/2) * (pi/np.sqrt(row))
>
Further searching
On Fri, Dec 18, 2009 at 2:28 PM, Andrew Straw wrote:
> (This still leaves open the question of what the notches actually _are_...)
No idea. I'd still leave the code instead written as
notch_max = med + (iq/2) * (pi/np.sqrt(row))
as that's what it appears to be doing (unless 1.57 is *not* pi/2
Fernando Perez wrote:
> Note that the code below does:
>
> if notch_max > q3:
> notch_max = q3
> if notch_min < q1:
> notch_min = q1
>
> though matlab explicitly states in:
>
> http://www.mathworks.com/access/helpdesk/help/tool
On Tue, Dec 15, 2009 at 9:57 AM, Andrew Straw wrote:
>
> notch_max = med + 1.57*iq/np.sqrt(row)
> notch_min = med - 1.57*iq/np.sqrt(row)
>
> Is this code actually calculating a meaningful value? If so, what?
>
>From the statistics ignoramus in the room, so take this with a grain
of salt... I