Re: Strange Probability function behavior (Bug?)
- To: mathgroup at smc.vnet.net
- Subject: [mg122902] Re: Strange Probability function behavior (Bug?)
- From: Brentt <brenttnewman at gmail.com>
- Date: Tue, 15 Nov 2011 05:50:33 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201111141207.HAA11675@smc.vnet.net>
Oh wait, never mind, it works now that I've restarted the program. Not sure what happened. But its fine now. On Mon, Nov 14, 2011 at 5:43 AM, Bob Hanlon <hanlonr357 at gmail.com> wrote: > 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? > > >
- Follow-Ups:
- Re: Strange Probability function behavior (Bug?)
- From: Darren Glosemeyer <darreng@wolfram.com>
- Re: Strange Probability function behavior (Bug?)
- References:
- Strange Probability function behavior (Bug?)
- From: Brentt <brenttnewman@gmail.com>
- Strange Probability function behavior (Bug?)