liveBook · Manning

Multiplication rule

The multiplication rule determines a combined count or probability by multiplying the numbers of choices or the relevant probabilities at successive stages.

How 4 Manning books explain it

Statistics Every Programmer Needs

The multiplication rule of counting determines the number of outcomes formed by successive choices by multiplying the numbers of options at each stage.

How it is used
Counts combined outcomes and supplies success and total-outcome counts for theoretical probabilities.
How deep it goes
Defines the product formula, works through dice and repeated-position counts, and flags independent choices and changing options.
Examples
Uses ordered dice rolls, license plates, three-digit locks, and a Python calculation of 5³ = 125.
What you can do after
Apply it to count combined outcomes and calculate probabilities from successful and total outcome counts.

Read how Statistics Every Programmer Needs explains multiplication rule →

Grokking Machine Learning, Second Edition

The product rule for independent probabilities states that the probability of independent events occurring together is the product of their individual probabilities.

How it is used
Computes joint probabilities for spam classification and for same-color draws used in Gini impurity.
How deep it goes
Defines conditional and independent forms, then works through numerical email, population, and color-draw calculations.
Examples
Uses spam emails with “lottery” and “sale,” population eye-color estimates, and independently drawn colored balls.
What you can do after
Apply it to calculate or estimate the probability that two events occur together.

Read how Grokking Machine Learning, Second Edition explains multiplication rule →

Grokking Machine Learning

A rule stating that the probability of independent events occurring together equals the product of their individual probabilities.

How it is used
Uses joint probabilities to calculate spam-detection probabilities from email features.
How deep it goes
Works through conditional probabilities with an email tree and applies independence to estimate joint word probabilities.
Examples
Calculates email probabilities using spam, ham, and the words “lottery” and “sale.”
What you can do after
Evaluate joint email probabilities and estimate them using an independence assumption.

Read how Grokking Machine Learning explains multiplication rule →

Timeless Algorithms, The Foundational Ideas

The multiplication rule is a probability rule for calculating the probability that multiple events occur together from joint or conditional probabilities.

How it is used
Supports calculation of compound-event probabilities and modeling uncertainty across sequences of related events.
How deep it goes
Explains dependent and independent forms with worked probabilities and a sequence product, while deferring detailed treatment of learning algorithms.
Examples
Uses successive card draws, two coin flips, and a word-sequence probability to illustrate probability products.
What you can do after
Evaluate joint probabilities by selecting conditional or independent-event factors.

Read how Timeless Algorithms, The Foundational Ideas explains multiplication rule →

Also covered in

What to know first

Related concepts

Questions about multiplication rule

What is multiplication rule?

The multiplication rule determines a combined count or probability by multiplying the numbers of choices or the relevant probabilities at successive stages.

Which Manning books explain multiplication rule?

Statistics Every Programmer Needs, Grokking Machine Learning, Second Edition, Grokking Machine Learning and Timeless Algorithms, The Foundational Ideas.

What should I know before learning multiplication rule?

Manning books that teach multiplication rule usually introduce probability theory, Bayesian inference, conditional probability and product first.

What is the difference between multiplication rule and addition rule?

The multiplication rule determines a combined count or probability by multiplying the numbers of choices or the relevant probabilities at successive stages. The addition rule determines the total count or probability of mutually exclusive alternatives by summing their individual counts or probabilities.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.