Calculating Conditional Probability for a given Event (a=1)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
hughwf
Messages
1
Reaction score
0
Hello,

This question relates to Bayes law. I think my problem is I am not sure of the name of the thing I am trying to derive...

I have 2 variables a and b.
a = 1 or 0, b = 0...n
I have the data to calculate;
p(a = 1 and b) p(b)
for any b. Hence I can find p(a=1|b) = p(a = 1 and b)/p(b)

What I want is p(a=1|b), but 'given' that a = 1. I don't want this to be affected by p(b), hence I am not trying to find p(b|a=1).
To explain further what i mean; If event a = 1, what is the prob it will happen at a certain b, independent of the frequency of occurences of different b's.

So I normalise;
[tex]\sum_{b = 0}^n p(a=1|b).N = 1[/tex]

Where N is a constant.

[tex]N = \frac{1}{\sum_{b = 0}^n p(a=1|b) }[/tex]

[tex]p(a=1,b) = \frac{p(a=1|b)}{\sum_{b = 0}^n p(a=1|b)}[/tex]

is that alright and does it have a name?

Many thanks in advance for any advice...

Hugh
 
Physics news on Phys.org
According to Bayes' Law p[a|B]p = p[a,B] = p[B|a]p[a]; in order for your formula to be Bayesian it must conform with this.

EnumaElish
___________________________________________
I would definitely have logged in as EnumaElish had PF administration awarded that account the privilege of posting replies, after I reset my e-mail address Tuesday, October 28, 2008.