I know that P(B|A) = P(A and B) / P(A) by Bayes Rule, but what happens if A can vary across two values such as A = 1 and A = 0? How then would I find P(B|A)? Eg. If I had a scenario where
- P(B) = the probability of my test result where P(B=1) means my test results comes out positive and P(B=0) means my test result is negative
- P(A) = the prevalence of my disease where 1 indicates a prevalence and 0 means no disease
If I want to find the probability that my test results comes out positive given the initial condition of my disease = P(B = 1| A). How would I find this probability when A can take on the values of my disease being positive or negative?
Also if my first test comes out to be positive given the condition of my disease P(first test + | initial condition), would it make sense that the probability of my 2nd testing being positive given the condition of my disease P(2nd test + | initial condition) be the same since the result of the first test should be independent of my 2nd test given my initial condition?