MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Strange Probability function behavior (Bug?)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122899] Re: Strange Probability function behavior (Bug?)
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Tue, 15 Nov 2011 05:50:01 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201111141207.HAA11675@smc.vnet.net>

Works here. Probability is new in version 8. Are you using version 8?

$Version

"8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"

Probability[x == 3, Distributed[x, PoissonDistribution[m]]]

((1/6)*m^3)/E^m


Bob Hanlon


On Mon, Nov 14, 2011 at 7:07 AM, Brentt <brenttnewman at gmail.com> wrote:
> Hello,
>
> If I go to the Probability function  documentation, and evaluate a
> probability function in the documentation notebook, the probability
> function works as would be expected, for example:
>
> In[0]:= Probability[x == 3, Distributed[x, PoissonDistribution[m]]]
>> Out[0]= 1/6 E^-m m^3
>>
>
> So far so good.
>
> But strangely, if I open up a new notebook and copy and paste the exact
> expression from above into it, I get this
>
> In[0]:= Probability[x == 3, Distributed[x, PoissonDistribution[m]]]
>> Out[0]:= Probability[True, 3 \[Distributed] PoissonDistribution[m]]
>>
>
> What could possibly be happening here? Is this a bug?
>



  • Prev by Date: Solve for parameters of a truncated normal distribution
  • Next by Date: Re: Manipulate graphs with graphics
  • Previous by thread: Strange Probability function behavior (Bug?)
  • Next by thread: Re: Strange Probability function behavior (Bug?)