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


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

Re: EmpiricalDistribution bug

From DrMajorBob <btreat1@austin.rr.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: EmpiricalDistribution bug
Date 2011-11-19 11:49 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ja8541$ii2$1@smc.vnet.net> (permalink)
References <201111181122.GAA06440@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web