Tolong jelaskan mengenai Téoréma Bayes dalam bahasa sunda

Téorema Bayes mangrupa hasil dina tiori probabiliti, which gives the conditional probability distribution of a variabel acak A given B in terms of the conditional probability distribution of variable B given A and the marginal probability distribution of A alone.

In the context of Bayesian probability theory and statistical inference, the marginal probability distribution of A alone is usually called the prior probability distribution or simply the prior. The conditional distribution of A given the "data" B is called the posterior probability distribution or just the posterior.

As a mathematical theorem, Bayes' théorem is valid regardless of whether one adopts a frequentist or a Bayesian interpretation of probability.

However, there is disagreement as to what kinds of variables can be substituted for A and B in the théorem; this topic is tréated at gréater length in the articles on Bayesian probability and frequentist probability.