MathGroup Archive 2002

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

Search the Archive

Re: Bayesian?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33740] Re: Bayesian?
  • From: "Raf" <r_a_f at yahoo.it>
  • Date: Wed, 10 Apr 2002 00:49:59 -0400 (EDT)
  • References: <a8tu0c$fp5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Having precedently defined a P[varsList,varsObservedList] function, i use
this:

P[x___, y_Alternatives, z___] :=
  P[Sequence @@ ({{x, y[[1]]}, {y[[2]], z}})]

In[2]:=
P[C1 == "y" | C2 == "y", C3 == "n"]

Out[2]=
P[{C1 == "y"}, {C2 == "y", C3 == "n"}]

Regards,
Raf.

<rlsmith at his.com> ha scritto nel messaggio news:a8tu0c$fp5$1 at smc.vnet.net...
> Anyone using Mathematica to work on Bayisian probability?
> Has anyone developed the Bayesian notation, P(H|A, B,C) etc. for
> Mathematica?
>
>



  • Prev by Date: How to specify a parameter
  • Next by Date: How to Return from within a Table[]-Command?
  • Previous by thread: Bayesian?
  • Next by thread: Re: Bayesian?