How do you model a count with a discrete random variable and find its expected value and variance?
Work with discrete probability distributions, calculate the expectation and variance of a discrete random variable and apply the laws of expectation and variance, and use the binomial, Poisson and geometric distributions as models.
A focused answer to the SQA Advanced Higher Statistics discrete random variables content: probability distributions, the expectation and variance of a discrete random variable, the laws of expectation and variance, and the binomial, Poisson and geometric distributions with their means and variances.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
A random variable turns the outcomes of a random experiment into numbers, and a discrete one takes separate values, typically counts. The SQA wants you to handle a general discrete distribution, find its expectation and variance, apply the laws of expectation and variance to linear transformations and sums, and recognise when the binomial, Poisson or geometric model applies.
Expectation and variance of a discrete random variable
Expectation is the long-run mean; variance measures spread about that mean.
The laws of expectation and variance
These laws let you transform and combine random variables without recomputing the whole distribution.
The binomial distribution
The binomial counts successes in a fixed number of independent yes/no trials.
The conditions are: a fixed number of trials, two outcomes per trial, a constant success probability , and independent trials. If any condition fails, the binomial does not apply.
The Poisson distribution
The Poisson models the number of events in a fixed interval of time or space when events occur independently at a constant average rate .
A signature feature is that the mean equals the variance. Independent Poisson counts add: if and are independent then .
The geometric distribution
The geometric models the number of independent trials up to and including the first success.
Try this
Q1. . Find . [2 marks]
- Cue. .
Q2. A fair die is rolled until the first six appears. State the expected number of rolls. [1 mark]
- Cue. Geometric with , so rolls.
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AH style: E and Var4 marksA discrete random variable has , , . Find and .Show worked answer →
Expectation: (1 mark).
Compute (1 mark).
Variance: (2 marks). Markers reward , and the variance formula applied correctly.
AH style: binomial3 marksA biased coin lands heads with probability . It is tossed times. Find the probability of exactly heads, and state the mean number of heads.Show worked answer →
Model the number of heads as (1 mark).
(1 mark).
Mean of a binomial: heads (1 mark). Markers reward the binomial model, the probability calculation and the mean.
Related dot points
- Work with continuous random variables and the normal distribution, standardise to find probabilities, combine independent normal variables, and use the normal approximation to the binomial and Poisson distributions with a continuity correction.
A focused answer to the SQA Advanced Higher Statistics continuous random variables content: the normal distribution, standardising to the Z-distribution, finding probabilities and quantiles, combining independent normal variables, and the normal approximation to the binomial and Poisson with a continuity correction.
- Apply the addition and multiplication laws of probability, calculate conditional probabilities and use tree diagrams, the total probability rule and Bayes' theorem, and test events for independence and mutual exclusivity.
A focused answer to the SQA Advanced Higher Statistics probability content: the addition and multiplication laws, conditional probability, independence and mutual exclusivity, tree diagrams, the total probability rule and Bayes' theorem for reversing a conditional probability.
- Calculate and interpret measures of location and dispersion, including the mean, median, quartiles, interquartile range, variance and standard deviation, and use stem-and-leaf plots, boxplots and measures of skewness to describe the shape of a distribution.
A focused answer to the SQA Advanced Higher Statistics exploratory data analysis content: the mean, median and quartiles, the interquartile range, variance and standard deviation, stem-and-leaf plots and boxplots, outlier rules, and how to describe the shape and skewness of a distribution.
- Describe the sampling distribution of the sample mean, calculate its mean and standard error, and state and apply the central limit theorem to find probabilities for a sample mean.
A focused answer to the SQA Advanced Higher Statistics sampling distributions content: the sampling distribution of the sample mean, its expected value and standard error, the central limit theorem, and how to find probabilities for a sample mean by standardising.
Sources & how we know this
- SQA Advanced Higher Statistics Course Specification (C803 77) — SQA (2023)
- SQA Advanced Higher Statistics Data Booklet — SQA (2019)