Probability and Statistics
- Simple probability, sample spaces and geometric probability
- Permutations, combinations and probability
- Events: independent, exclusive and conditional probability
- Measures of centre: mean, median and mode
- Measures of spread: range, variance and standard deviation
- Reading data from tables and graphs
- Distributions: probability, binomial and normal
Simple probability, sample spaces and geometric probability
★ Key- Write a sample space and count favourable outcomes.
- Find simple probability and use the complement.
- Find geometric probability using area or length.
Experiment and sample space
A random experiment has known possible outcomes, but you cannot tell which one will happen, like rolling a die. The set of all possible outcomes is the sample space.
Rolling two dice gives ordered pairs from and up to : of them. A table or a tree helps you not to miss one.
- An event is a set of outcomes we care about, such as "the sum is ".
- A favourable outcome is one that makes the event happen.
Simple probability
If all outcomes are equally likely, the probability of an event is the number of favourable outcomes divided by the number of all outcomes. It is always between (impossible) and (certain).
The probability that an event does not happen is the complement: minus the probability that it happens. Use it when counting the "unwanted" outcomes is easier.
Geometric probability
When outcomes are points in a region (a dart on a board) we cannot count them, so we measure instead: divide the favourable area by the total area. For points on a segment, divide lengths.
Every point is equally likely, so a bigger region is more likely in proportion to its area.
Laws and rules
Worked examples
Show the solution
- Sample space: equally likely ordered pairs.
- Pairs with sum : , , , , , , which is pairs.
- Probability .
Show the solution
- All balls: .
- P(blue) .
- Complement: . Direct check: not blue is out of .
Show the solution
- Total area of the square: cm².
- Area of the circle cm².
- Probability , about .
- Forgetting an outcome of the sample space, which spoils the numerator or the denominator. Write all outcomes before counting.
- In geometric probability, dividing by the area of the other part instead of the whole. The denominator is always the whole.
- Treating unequally likely results as equally likely: with two dice the sum is more likely than the sum , because it has pairs against one. Count the equally likely ordered pairs, not the sums.
- Counting and as one outcome. With two dice they are different outcomes.
- Probability = favourable ÷ all, and lies between and .
- The sample space is all possible outcomes; organise it with a table or tree.
- Complement: minus the probability of the event.
- Geometric probability = favourable area ÷ total area.
Permutations, combinations and probability
- Decide whether order matters.
- Compute permutations and combinations by multiplying and dividing.
- Find a probability as favourable combinations over all combinations.
When does order matter?
Ask: if I swap the order of the chosen items, do I get a different choice? President and deputy: yes, (A president, B deputy) differs from the reverse, so this is a permutation. A committee: no, it is the same committee however its members are listed, so this is a combination.
Permutations
To choose r items in order from n items: n choices for the first place, n minus 1 for the second, and so on, multiplying r descending factors. Arranging all books on a shelf is , called "four factorial" and written .
Combinations
Each unordered choice appears in the permutation count once for every way of ordering it, which is . So we divide the permutations by that number to get combinations.
It also helps that choosing r items to take equals choosing the rest to leave out, so choosing from gives the same count as choosing from , which is ways. This saves long calculations.
For probability with combinations: the number of favourable selections (multiply the combinations of each group) over the number of all possible selections.
Laws and rules
Worked examples
Show the solution
- Order matters, so these are permutations.
- choices for president, then for deputy.
- .
Show the solution
- Order does not matter, so these are combinations.
- Permutations: .
- Each committee was counted times, so divide: .
Show the solution
- All selections: from .
- Two red from : . One blue from : choices.
- Favourable , so the probability is .
- Using permutations to pick a committee or team. If swapping the names does not change the choice, it is a combination.
- Adding the combinations of the two groups instead of multiplying. "Two teachers and a student" means both groups together, so multiply.
- Forgetting to divide by the orderings in combinations, which gives a number too large.
- Mixing up the denominator (all selections) and the numerator (favourable).
- Order matters: permutation. Order does not matter: combination.
- Combinations = permutations ÷ orderings of the chosen items.
- For two groups together, multiply their combinations.
- Combination probability = favourable ÷ all selections.
Events: independent, exclusive and conditional probability
★ Key- Tell independent from dependent events and multiply probabilities.
- Use the addition rule for exclusive and overlapping events.
- Find conditional probability from a table or percentages.
Both events: multiply (and)
Two events are independent if one happening does not change the probability of the other, like a die then a coin, or drawing a ball and putting it back. Multiply their probabilities.
They are dependent if the first changes the second, like drawing two balls without replacement: the number of balls changes after the first draw. Multiply the first probability by the second one computed after the first has happened.
Either event: add (or)
Mutually exclusive events cannot happen together (getting or on one roll), so we add their probabilities.
If they overlap, so both can happen, adding counts the shared part twice, so we subtract it once. Draw a Venn diagram to see this.
Do not confuse exclusive with independent: exclusive events can never happen together, so , while independent events can happen together and we multiply their probabilities.
Conditional probability
We ask: what is the probability of B given that A has happened? The new whole is A only, so we divide the overlap by A. In a two-way table, divide the shared cell by the total of the row or column named in the condition, not by the grand total.
Laws and rules
Worked examples
Show the solution
- First is red: .
- After it, balls remain, of them red, so the second has probability .
- The events are dependent: . (With replacement it would be .)
Show the solution
- The events overlap because students do both.
- .
- . Check with the figure: .
Show the solution
- The condition is wearing glasses, so the new whole is the glasses-wearers only.
- Their number is .
- Males among them: , so the probability is . We do not use or .
- Adding probabilities instead of multiplying when both events must happen. "And" is multiply, "or" is add.
- Not changing the numbers in a without-replacement problem: the total number of balls drops after the first draw, and the favourable count drops too if the ball drawn was of the wanted colour.
- Forgetting to subtract the overlap for overlapping events, which makes the probability too big.
- Dividing by the grand total in conditional probability instead of the known event.
- Independent: multiply. Dependent: change the second probability after the first.
- Exclusive: add. Overlapping: add and subtract the overlap.
- Conditional probability = overlap ÷ known event.
- In tables, read the condition to see which row or column is the denominator.
Measures of centre: mean, median and mode
- Find the mean, median and mode.
- Find the mean from a frequency table.
- Combine the means of two groups of different sizes.
Three ways to name a "middle" value
The mean is the sum of the values divided by their number, as if the total were shared equally. The median is the middle value after ordering the data; with an even count, take the mean of the two middle values. The mode is the most frequent value; there can be several modes or none.
A large outlier pulls the mean up but barely moves the median, so the median describes a typical case better when outliers exist.
If the mean and one missing value are involved, use: sum = mean × count, then subtract the known values to find the missing one.
The frequency table
When values repeat, multiply each value by its frequency, add the products, then divide by the total frequency. It is the same sum written in a shorter way.
In a table of classes (such as ) use the class centre, its midpoint, in place of the value.
Combined (weighted) mean
Do not add two means and divide by unless the groups have equal size. Correct way: each group total = mean × size, add the totals and divide by the total size. The result is closer to the mean of the larger group. This is the weighted mean: each mean has a weight equal to its size.
Laws and rules
Worked examples
Show the solution
- Sum and there are values.
- Mean .
- The values are already ordered and the count is odd, so the median is the third value: . The mode is , which appears twice.
- With an even count, such as , , , , the median is the mean of the two middle values: .
Show the solution
- Sum of values .
- Total frequency .
- Mean . Check: it lies between and , the two most frequent values.
Show the solution
- Class A total .
- Class B total .
- Mean . Not , because B is larger, so the answer is nearer .
- Finding the median without ordering the data first.
- Taking one value as the median of an even count instead of the mean of the two middle values.
- Adding two means and halving them when the group sizes differ.
- In a frequency table, dividing by the number of rows instead of the total frequency.
- Mean = sum ÷ count; median after ordering; mode is the most frequent.
- Outliers affect the mean more than the median.
- Frequency table: multiply value by frequency and divide by total frequency.
- Combining groups: add the totals, not the means.
Measures of spread: range, variance and standard deviation
- See why the mean alone does not describe the data.
- Find the range, variance and standard deviation.
- Know how spread changes under adding and multiplying.
Why measure spread?
Two groups can have the same mean and still differ a lot: one has values bunched around the mean, the other has values far apart. Spread measures how far values are from each other and from the mean.
The simplest measure is the range = largest value − smallest value, but it uses only two values.
Variance and standard deviation
To find the variance: find the mean, then each value's deviation from it, square the deviations (so positives and negatives do not cancel), and take their mean. For a whole population divide by the number of values; for a sample divide by the number of values minus . The standard deviation is the square root of the variance, so it has the same unit as the data.
Effect of adding and multiplying
Adding a constant to every value moves them all together, so the range and the variance do not change. Multiplying every value by a positive number multiplies the range and the standard deviation by , and the variance by .
Laws and rules
Worked examples
Show the solution
- Largest , smallest .
- Range .
Show the solution
- Mean .
- Deviations: , , , . Squares: , , , , sum .
- Variance , standard deviation .
Show the solution
- Multiplying by multiplies the variance by : .
- Adding does not change the variance.
- Direct check: after multiplying, the values , , , have mean , deviations , , , , squares , , , with sum , and .
- Thinking equal means mean equal spread.
- Multiplying the variance by instead of when values are multiplied by .
- Thinking that adding a constant changes the range or variance.
- Forgetting to square the deviations, so their sum is always zero.
- The mean gives the centre; spread tells how scattered the data are.
- Range = largest − smallest.
- Variance = mean of squared deviations; the standard deviation is its square root.
- Adding does not change spread; multiplying by multiplies the standard deviation by and the variance by .
Reading data from tables and graphs
★ Key- Read tables and bar graphs accurately.
- Find percentages, changes and the mode from data.
- Choose the best measure when there are outliers.
Read before you calculate
The usual mistake in data questions is reading the wrong number. Read the title and unit, what each axis or bar stands for, and whether numbers are counts or percentages.
The mode is the tallest bar or the biggest frequency in the table, not the biggest value. The grand total is the sum of frequencies and is the denominator for percentages.
Change and percentage
The difference between two bars shows the amount of change. The percentage change is the difference divided by the first value (before the change), not the second. A category's percentage is its frequency ÷ total × .
Types of display
- Bar graph: compares separate categories; the bar height is the frequency.
- Histogram: for continuous data grouped in classes; its bars touch.
- Line graph: shows how a value changes over time; rising means increase, falling means decrease.
- Pie chart: shows each category's share of the whole; sector angle = category share of the whole × .
Choosing the measure
If there is a very large or very small outlier, the median describes the typical case better than the mean. If you want the total, or each share if the total were split equally, the mean is more suitable.
Laws and rules
Worked examples
Show the solution
- The mode is the biggest frequency: football ().
- Percentage for football .
- P(swimming) .
Show the solution
- Total , mean .
- Consecutive changes: , , . The largest rise is , between weeks and .
- Its percentage is of the first value .
Show the solution
- Mean .
- Median (third value after ordering) .
- The value is an outlier and pulled the mean up to , although four of the five salaries are below . So the median is better.
- Taking the mode as the largest value instead of the most frequent value.
- Computing percentage change on the new value instead of the first value.
- Using the mean for data with an obvious outlier.
- Reading the bar height from the wrong line, or ignoring the axis unit.
- Read titles and units before calculating.
- The mode is the most frequent value.
- Percentage change = difference ÷ first value.
- With outliers, prefer the median to the mean.
Distributions: probability, binomial and normal
- Complete a probability distribution and find its expected value.
- Find the probability of a number of successes in independent trials.
- Use the , rule and the z-score.
Probability distribution
A random variable is a number that comes from an experiment, like the number of heads in several coin tosses. A probability distribution is a table giving the probability of each value, and its probabilities always add to . The expected value is the sum of each value times its probability.
Binomial distribution
Use it when an experiment is repeated a fixed number of times, each trial has two outcomes (success or failure), the trials are independent, and the success probability is constant. The probability of exactly a given number of successes = (number of ways to place the successes, by combinations) × (success probability multiplied by itself once per success) × (failure probability multiplied by itself once per failure).
The expected number of successes = number of trials × success probability; from trials with probability we expect successes.
Normal distribution
A symmetric bell-shaped curve centred at the mean; the mean, median and mode are equal, and the total area under it is , that is . The z-score says how many standard deviations a value is from the mean. Empirical rule: about of values lie within one standard deviation, about within two, and about within three.
Laws and rules
Worked examples
Show the solution
- The total is : , so .
- , , , .
- Expected value .
Show the solution
- Choose the places of the two correct answers among three questions: ways.
- Each case has probability .
- Probability .
Show the solution
- : one deviation below the mean. : two deviations above.
- From the mean to one deviation below: . From the mean to two deviations above: .
- Total . The z-score of is .
- Leaving probabilities that do not add to , or thinking the expected value is the plain mean of the values without their probabilities.
- Forgetting the number of ways in a binomial problem: the probability of one case is not enough.
- Thinking the remaining is all on one side; it is split equally between the two tails.
- Dividing by the mean instead of the standard deviation when finding the z-score.
- A distribution's probabilities add to ; expected value = sum of value × probability.
- Binomial: ways × success probabilities × failure probabilities.
- Normal: , , within , , deviations.
- Z-score = (value − mean) ÷ standard deviation.