I am doing problems related to bayesian network. After reading the theory part I am able to understand that by making a network or reducing a problem to some bayesian network, we are simplifying a process for computing the joint probability of events, by minimizing the number of parameters for calculating the joint probabilities. But I have one doubt. Assume that we have obtained a formula for computing the joint probabilities from the network. Can I compute probabilities from this formula for each combination of events or can I do that only after making the table for joint distribution and then finding marginal or conditional probabilities encountered in my problem. I mean that suppose the following is the formula we obtained from the network: P(D,S,G,I,L)=P(D)*P(I)*P(G/(ID))*P(L/G)*P(S/I) And all variables are binary. Now we have tables for each of the probabilities that appear in the above formula. But now I want to know the probability for P(L=0/(S=0,I=1)) from the existing probabilities. What is the process for doing that?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
A comment first: When constructing a BN you are not necessarily interested in minimizing the number of nodes and/or edges. Basically, a BN is a way of encoding a joint distribution on some parameters. There are many different BN's that will encode the very same joint distribution and which one you choose depends on many factors. Computationally, you wish your BN to be small so as to allow easier inference on it. But when constructing a BN (either by utilizing expert knowledge or by machine learning techniques) you very often don't want your BN to be too small (compared to the available statistical date) since that is prone to over-fitting. Generally, the larger the BN the more expressive power it has but the more computationally difficult it is to perform inference. Choosing BN's for a particular task is more of an art than anything else.
As for your question, if what you are asking is: given the joint distribution obtained from the full CPD's at each notd can I compute all sorts of conditional probabilities? The answer is yes, since if you have the CPD's then you have essentially all of the joint distributions and from these you can compute conditional probabilities. This really has nothing to do with any BN. It's just that given random variables, if you know the joint distributions then you can compute any relevant statistical quantity. I hope this helps.