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? > >