CalculatorCast

Kalkulator wzoru Bayesa

Zastosuj wzór Bayesa, aby obliczyć prawdopodobieństwo a posteriori.

Wprowadzenie

Bayes' Theorem Calculator - Apply Bayes' theorem to compute a posterior probability. Enter P(B|A), P(A), P(B) to get an instant result.

Wzór

Bayes' theorem: P(A|B) = P(B|A) × P(A) / P(B), updating the prior probability P(A) using new evidence B.

Krok po kroku

  1. Enter the P(B|A).
  2. Enter the P(A).
  3. Enter the P(B).
  4. Click Calculate to see your result instantly.

Przykład z życia

Example: With P(B|A) = 0.9, P(A) = 0.01, P(B) = 0.1, the Bayes' Theorem Calculator gives P A Given B: 0.09.

Często Zadawane Pytania

What do the terms in the formula represent?
P(A) is the prior probability of A, P(B|A) is the likelihood of the evidence given A, P(B) is the overall probability of the evidence, and P(A|B) is the resulting posterior probability.
What is Bayes' theorem used for?
Common applications include medical test accuracy, spam filtering, and any situation where you need to revise a probability estimate in light of new evidence.
What inputs does the Bayes' Theorem Calculator need?
You'll need to provide: P(B|A), P(A), P(B). All fields use sensible defaults, so you can see a working example immediately and then adjust the values to match your own numbers.
How accurate is the Bayes' Theorem Calculator?
The Bayes' Theorem Calculator applies a fixed formula to the numbers you enter. Formula used: Bayes' theorem: P(A|B) = P(B|A) × P(A) / P(B), updating the prior probability P(A) using new evidence B. The result is only as reliable as the values you provide, so double-check your inputs.
Is the Bayes' Theorem Calculator free to use?
Yes, the Bayes' Theorem Calculator is completely free, requires no signup, and runs instantly in your browser.

O Kalkulator wzoru Bayesa

Bayes' theorem is one of the most powerful tools in probability and statistics. It describes how to update the probability of a hypothesis after observing new evidence. The Bayes' Theorem Calculator on CalculatorCast applies Bayes' theorem to compute posterior probabilities from prior probabilities and likelihoods, making it useful for medical diagnosis, machine learning, and decision analysis.

Bayes' theorem states: P(H|E) equals P(E|H) times P(H) divided by P(E), where P(H|E) is the posterior probability (probability of hypothesis H given evidence E), P(E|H) is the likelihood (probability of observing E given H is true), P(H) is the prior probability (initial probability of H before seeing E), and P(E) is the probability of observing E regardless of H.

A classic medical example: a disease affects 1 percent of the population (prior P(disease) equals 0.01). A test has 95 percent sensitivity (P(positive test | disease) equals 0.95) and 90 percent specificity (P(negative test | no disease) equals 0.90, so P(positive test | no disease) equals 0.10). Given a positive test result, Bayes' theorem gives P(disease | positive test) equals (0.95 times 0.01) divided by [(0.95 times 0.01) plus (0.10 times 0.99)], which equals approximately 0.0875, or 8.75 percent. Despite the positive test, there is still less than a 10 percent chance of having the disease due to the low base rate.

This counterintuitive result (called base rate neglect or the false positive paradox) shows why Bayesian reasoning is valuable. Our calculator handles this and other diagnostic scenarios clearly, showing how prior probability, sensitivity, and specificity combine to determine the true posterior probability.

Bayesian reasoning is fundamental in AI, spam filtering, recommendation systems, A/B testing, and any domain where beliefs must be updated as new data arrives.

The Bayes' Theorem Calculator is free on CalculatorCast and works on all devices without registration.