AI Glossary / Statistics and probability / Beginner

Probability theory

Definition

Probability theory is the mathematical study of uncertainty using probabilities, events, random variables, and distributions. It supplies rules for combining uncertain events, conditioning on information, and calculating quantities such as expectations and variances. In AI, it supports probabilistic prediction, learning, inference, and decision-making. The theory makes calculations coherent under stated assumptions; it does not by itself establish that those assumptions accurately describe the world.

What it means

Probability theory gives a common language for questions about what may happen and how different uncertainties relate. A probability can represent uncertainty about a future outcome, an unobserved condition, or a parameter under a Bayesian model.

The mathematical rules are distinct from the task of choosing or estimating the probabilities. Statistics uses data to learn about populations and models, while probability theory often starts with a specified model and derives its consequences. The subjects work together. An AI forecast depends both on valid probability calculations and on how its model was built and evaluated.

How it works

Start with a set of possible outcomes and events. Assign probabilities that are nonnegative, give total probability one, and add across mutually exclusive events. From these principles follow rules for complements, unions, and other combinations.

Conditional probability describes uncertainty after specified information is known. When the conditioning event has positive probability, P(A given B) equals P(A and B) divided by P(B). The multiplication rule and Bayes' rule connect joint and conditional probabilities. Independence is a special case in which learning one event does not change the probability of another.

Random variables attach numerical or categorical values to outcomes. Their distributions allow calculation of expected values and other summaries. Expectations support decision analysis, but variability and tail events often matter too. When applying these tools, state the population, time period, and information on which the probabilities depend; otherwise, numerically correct calculations may answer the wrong question.

Three practical examples

  • A forecasting system assigns probabilities to different demand levels and estimates the chance of exceeding available capacity.
  • A classifier updates category probabilities after observing the words in a document.
  • A workflow designer calculates the probability that at least one of several checks requires human review, accounting for their dependence.

Think of it this way

Think of probability theory as the arithmetic of uncertain possibilities. Ordinary arithmetic keeps quantities consistent when you add or multiply them. Probability theory adds rules about overlap, information, and dependence so that uncertainty is not counted twice or combined on unjustified assumptions.

Worked example

In an original model of incoming requests, let A mean that a request contains an attachment and B mean that it requires clarification. Suppose P(A) = 0.40, P(B) = 0.30, and P(A and B) = 0.15.

The probability of an attachment or clarification, including requests with both, is 0.40 + 0.30 − 0.15 = 0.55. The subtraction prevents counting the overlap twice. The probability of neither event is 1 − 0.55 = 0.45.

Among requests with attachments, the clarification probability is 0.15/0.40 = 0.375, or 37.5%. This differs from the unconditional 30%, so A and B are not independent in the model.

For a separate example, suppose three independent checks each have a 20% chance of flagging a request. The probability of at least one flag is 1 − 0.80³ = 0.488. The independence assumption is essential to that product; shared failure causes could change the result. Neither calculation establishes a causal effect.

Illustrative case study

Fictional case study: Cedar Planning combines risk estimates from several AI-supported workflows. Managers initially add the individual percentages to estimate the probability of any disruption. Some disruptions can occur together, so the calculation double-counts overlapping events.

The analysis team defines the events and their joint relationships before recalculating overall exposure. It also distinguishes uncertainty in the probability estimates from uncertainty in the eventual outcomes. This fictional case illustrates how elementary probability rules can improve the coherence of planning without guaranteeing that the estimated risks are accurate.

Common misconceptions and mistakes

Mutually exclusive events and independent events are different concepts. If two positive-probability events cannot occur together, learning that one occurred rules out the other, so they are not independent.

A probability of 80% does not guarantee eight successes in every ten cases. Expected values are averages under a distribution, not promises about a particular batch. Another mistake is reversing a conditional probability: P(A given B) generally differs from P(B given A). Finally, a plausible numerical probability is not evidence that the model is calibrated, and a rare outcome is not automatically evidence of a broken model.

Business use

Probability theory helps businesses reason about uncertain demand, workload, classification, and system behavior. It supports scenario comparison and makes the assumptions behind combined risk estimates visible.

Useful application requires more than choosing a formula. Define the event carefully, check data quality, and consider the consequences of errors. When action choices have different costs, combine probabilities with an explicit decision criterion. Communicate uncertainty in estimates and revisit assumptions when operations change. A well-presented probability should make the decision clearer rather than create unwarranted certainty.

People also ask

Is probability theory the same as statistics?

They overlap, but probability commonly derives consequences from a model, while statistics uses data to learn about unknown quantities and models.

Does multiplying probabilities always give a joint probability?

Multiplying marginal probabilities requires independence. More generally, use a marginal probability multiplied by the appropriate conditional probability.

Can a probability prediction be useful even when the event does not happen?

Yes. A probabilistic forecast allows multiple outcomes; quality is evaluated across suitable cases and with appropriate measures.

Check your understanding

Two events have probabilities 0.60 and 0.50, with overlap 0.30. What is the probability that at least one occurs?

Answer: It is 0.60 + 0.50 − 0.30 = 0.80. Adding the two marginal probabilities without subtracting the overlap would incorrectly give 1.10.

Related terms

  • Probability model
  • Event
  • Random variable
  • Distribution
  • Conditional probability
  • Independence
  • Variance
  • Bayes' rule
  • expectation
  • statistical inference

Learn next

Practice complements, unions, intersections, and conditional probabilities using small tables. Then study discrete and continuous distributions, expectation, and variance. Move on to Bayesian updating, statistical estimation, and decision theory to see how probability connects data, predictions, and actions.

  • Decision theory
  • Variance

More in Statistics and probability

  • Poisson distribution - The Poisson distribution is a probability distribution for a count taking the values 0, 1, 2 and so on.
  • Policy capturing - Policy capturing is a research method for describing how people combine information when making judgments or decisions.
  • Poly-Weibull distribution - The poly-Weibull distribution is a continuous time-to-event distribution constructed by adding several Weibull-type hazard functions.
  • Pólya urn model - A Pólya urn model is a probability model in which sampling changes the probabilities of future samples through a specified reinforcement rule.
  • Polynomial regression - Polynomial regression models an outcome using powers of one or more numerical predictors.
  • Polynomial trend coefficient - A polynomial trend coefficient is a numerical weight used with other such weights to test a specified trend across ordered group means.

Sources

Poole and Mackworth, Artificial Intelligence: Foundations of Computational Agents, introduces probability semantics, conditional probability, Bayes' rule, and expected values in AI: https://artint.info/3e/html/ArtInt3e.Ch9.S1.html

The request and independent-check calculations are original teaching examples. Their probabilities are assumptions, and the fictional case is not a report of real business results.

Previous: Probability space Next: Probably approximately correct

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer