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


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

Strange Probability function behavior (Bug?)

From Brentt <brenttnewman@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Strange Probability function behavior (Bug?)
Date 2011-11-14 12:10 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j9r0fc$bh6$1@smc.vnet.net> (permalink)

Show all headers | View raw


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?

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


Thread

Strange Probability function behavior (Bug?) Brentt <brenttnewman@gmail.com> - 2011-11-14 12:10 +0000

csiph-web