1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Bayes Networks - calculations in terms of joint distribution

  1. Dec 8, 2005 #1
    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
     

    Attached Files:

  2. jcsd
  3. Dec 9, 2005 #2
    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: Dec 9, 2005
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Bayes Networks - calculations in terms of joint distribution
  1. Bayes theorem problem (Replies: 10)

  2. Bayes' Theorem (Replies: 8)

Loading...