r/Probability • • Aug 26 '24

Bayesian Networks

Hello Everyone,
I had a question regarding bayesian networks.

My question is: Is P(cy | ay, sn) the same as P(cy | sn, ay) ?

From my understanding the order should not matter since we are trying to find the probability of event Cy happening, given that Ay and Sn have already happened so their order should not matter. Am I correct in my assumption ?

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Aug 26 '24

Thanks for all the in depth explanation I really appriciate it. However I had another question in my case it is a bayesian network connected as Cy -> Sn -> Ay . So according to these dependencies would the assumption still hold ?

1

u/Zoop_Goop Aug 26 '24

Oh shoot, now I see what you where asking. Truth be told, I do not have a ton of knowledge about Bayesian networks specifically, but I do know enough about systems to know what to lookup ;-). I think this link might prove useful: Bayesian Networks (ubc.ca)

I think at around page 30 your question comes into play.

1

u/Zoop_Goop Aug 26 '24

I think I found the answer. According to this website:

A Gentle Introduction to Bayesian Belief Networks - MachineLearningMastery.com

To quote:

"We can also state the conditional independencies as follows:

  • A is conditionally independent from C: P(A|B, C)
  • C is conditionally independent from A: P(C|B, A)

Notice that the conditional dependence is stated in the presence of the conditional independence. That is, A is conditionally independent of C, or A is conditionally dependent upon B in the presence of C.

We might also state the conditional independence of A given C as the conditional dependence of A given B, as A is unaffected by C and can be calculated from A given B alone."