Bayes Networks - calculations in terms of joint distribution

AI Thread Summary
The discussion centers on calculating the probability P(Pr1|G1,¬G3) from a Bayesian network involving nodes G1, G2, G3, G4, and Pr1. The user outlines the structure of the network and provides the relevant probability tables. They express the target probability in terms of joint distribution components and seek clarification on how to compute values for Pr1, G2, and G4 based on the provided tables. A suggestion is made regarding the unconditional probability of Pr1, but the user acknowledges the need for further thought on the calculations. The conversation highlights the complexities of working with Bayesian networks and the importance of accurately interpreting probability tables.
clobbasaurus
Messages
1
Reaction score
0
Hi I am trying to calculate a particular problem from a given bayesian network.

The network consists of nodes G1,G2,G3,G4,Pr1

G1 leads to G2, G2 leads to G4 and G3 also leads to G4 but it has no parents, and G4 leads to Pr1.

The probability tables for the nodes are:

P(G1) = 0.02
P(G2|G1) True = 0.67 False = 0.10
P(G3) = 0.6
P(G4|G2,G3) = G2True and G3True = 0.772, G2True and G3False = 0.70
G2False and G3True = 0.24, G2False and G3False = 0.01

P(Pr1|G4) = True 0.61 False 0.34

From this

I am trying to calculate P(Pr1|G1,¬G3)

I think I can do this by expressing in terms of components of the joint distribution, and calculating each of these from the network.

So far I have the formula

P(Pr1|G1,¬G3) = P(Pr1,G1,¬G3)/P(G1,¬G3)

P(Pr1,G1,¬G3) =
P(Pr1,G1,¬G3,G2,G4)+
P(Pr1,G1,¬G3,G2,¬G4)+
P(Pr1,G1,¬G3,¬G2,G4)+
P(Pr1,G1,¬G3,¬G2,¬G4)

As I already know the values for G1 and G3 this bit is ok, but how do I calculate the values for Pr1,G2 and G4 as I assume they have to be worked out from the values in the probability tables (or are the values already in the tables and am I just being Thick) . If you would like to see a picture of the bayes network, I have a .gif I can send. I have attached what I have done so far and the missing value from the probability table in the .gif is 0.772

Thanks a lot

Mike
 

Attachments

  • bayes.GIF
    bayes.GIF
    6.4 KB · Views: 594
Physics news on Phys.org
Suppose p denotes the unconditional Pr1. Then isn't P(Pr1,G1,¬G3) = p x 0.98 x 0.4?
Strike that; I need to think more.
 
Last edited:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top