Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6529 > unrolled thread

Re: EmpiricalDistribution bug

Started byDrMajorBob <btreat1@austin.rr.com>
First post2011-11-19 11:49 +0000
Last post2011-11-19 11:49 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: EmpiricalDistribution bug DrMajorBob <btreat1@austin.rr.com> - 2011-11-19 11:49 +0000

#6529 — Re: EmpiricalDistribution bug

FromDrMajorBob <btreat1@austin.rr.com>
Date2011-11-19 11:49 +0000
SubjectRe: EmpiricalDistribution bug
Message-ID<ja8541$ii2$1@smc.vnet.net>
There's NEVER "a code patch that can be applied right away". Wolfram  
doesn't do things that way.

All things in good time. I reported a bug, once, and got word it was fixed  
-- six years later.

Bobby

On Fri, 18 Nov 2011 05:22:10 -0600, Mark Fisher <particlefilter@gmail.com>  
wrote:

> Here is a (bad) bug involving EmpriicalDistribution:
>
> PDF[EmpiricalDistribution[{1}], 1]
>
> produces error messages and returns
>
> Boole[{1}[[GeometricFunctions`BinarySearch[{{1}, "Sorted"}, 1]]] ==
>    1] {1}[[GeometricFunctions`BinarySearch[{{1}, "Sorted"}, 1]]]
>
> Here is an (awkward) workaround:
>
> PDF[EmpiricalDistribution[{1}], x] /. x -> 1
>
> which returns 1.
>
> I have submitted this to support@wolfram.com, but I'm hoping someone
> lurking from wolfram will look into this and figure out a code patch
> that can be applied right away. Thanks.
>
> --Mark
>
> "8.0 for Microsoft Windows (64-bit) (October 7, 2011)"
>


-- 
DrMajorBob@yahoo.com

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web