Conditional probability of two values

28 Views Asked by At

I have a data set of two values, that can be true or false. Based on this I want to calculate what is the probability of happening B if A is true. I understand, that this should be calculated using Bayes' theorem, but I'm stuck with this.