Unit 9 Random variables
Key unit competence: Explore the parameters of a random variable (discrete or continuous) for a given context.
Key ideas
- A random variable assigns a number to each outcome. It is discrete if it takes isolated values, continuous if it takes all values in an interval.
- Discrete: probability function with and . Cumulative distribution function .
- Expected value ; variance ; standard deviation . , .
- Binomial : independent trials, success probability : with ; , .
- Poisson (number of events in an interval): ; .
- Continuous: probability density function , , , . and .
- , . Uniform on : , , .
Formulas to know
Common misconceptions
- "." No: .
- "For a continuous variable, ." No: ; is a density, not a probability.
- "." Subtract .
Worked examples
Example 1. takes the values 1, 2, 3, 4 with . Find , and .
Solution
, . . . .
Example 2. on (0 elsewhere). Find and .
Solution
, . .
Practice questions
Easier and harder questions are mixed, just like in a real exam.
Two dice are thrown and is the number of sixes. Give the distribution of and .
Show answer
, , . .
Common mistake: Taking (forgetting the two orders).
A bus comes at a random time in the next 20 minutes (uniform). Find the probability of a delay of more than 15 minutes, and the mean and variance of the delay.
Show answer
. min, .
Common mistake: Using for the variance.
for . Check it is a probability function and find and .
Show answer
. . . .
Common mistake: Forgetting to square .
on . Find the cumulative distribution function and the median.
Show answer
for , for , for . Median: , .
Common mistake: Giving only the middle piece of .
A die is thrown 6 times. Find the probability of at least one six.
Show answer
.
Common mistake: Answering .
on . Find and .
Show answer
, . .
Common mistake: Integrating over .
A test has 10 questions with 4 options each. A student guesses every answer. Find the expected score and .
Show answer
: . .
Common mistake: Leaving out .
Calls arrive at an average of 4 per hour (Poisson). Find and in one hour.
Show answer
. .
Common mistake: Forgetting the term .
Matching and drag-and-drop
Matching
Match each item in column A with the correct answer in column B. Write the letter next to each number.
Column A Column B 1. on . Find . a. and 2. For the same (values 0, 1, 2; probabilities 0.2, 0.5, 0.3), find . b. 3. and . Find and . c. 4. . Find (3 d.p.). d. Show answer
1 → d () · 2 → b () · 3 → a ( and ) · 4 → c ()
- Step 1. .
Step 2. . - Step 1. .
Step 2. . - Step 1. .
Step 2. . - Step 1. .
Step 2. .
- Step 1. .
Drag and drop
Choose the correct word or phrase from the box for each gap. One word in the box is not needed.
· · · ,- A binomial variable has mean 4 and variance 3. Then .
- on . Find . →
- on . →
Show answer
1: , · 2: · 3:
- Step 1. and , so and .
Step 2. . - Step 1. .
Step 2. . - Step 1. ; .
Step 2. .
Matching
Match each item in column A with the correct answer in column B. Write the letter next to each number.
Column A Column B 1. . Find (4 d.p.). a. 2. . Find . b. 3. on (0 elsewhere) is a density. Find . c. 4. . Find . d. Show answer
1 → d () · 2 → b () · 3 → a () · 4 → c ()
- Step 1. ; .
Step 2. Sum: . - Step 1. .
Step 2. . - Step 1. .
Step 2. . - Step 1. .
Step 2. .
- Step 1. ; .
Drag and drop
Choose the correct word or phrase from the box for each gap. One word in the box is not needed.
, · 3 · 2.5 ·- takes the values 0, 1, 2 with probabilities 0.2, 0.5 and . Find and . →
- . Find (3 d.p.). →
- takes the values 1, 2, 3, 4 with . →
Show answer
1: , · 2: · 3: 3
- Step 1. .
Step 2. . - Step 1. .
Step 2. . - Step 1. .
Step 2. .