EC 285 - 2026-10-08 - Lecture 09
EC 285 - Lecture 09 - 2026-10-08
Week 5 · 16:02-17:19 · 76 min · Full transcript · Flashcards
Overview
This lecture finished Chapter 4 (Discrete Random Variables). It covered the last named discrete distribution, the Poisson, which counts how many times an event happens in a fixed stretch of time. The rest of the class was the portfolio analysis problem promised in earlier lectures. That problem uses expected values, variances and covariance from a probability table to find the average and the risk of a two-stock portfolio. The Chapter 5 slides (continuous random variables) were not reached, and Chapter 5 starts after reading week.
The Poisson distribution
This is the third distribution on the formula sheet, after the Bernoulli and binomial from last lecture.
What the Poisson measures
The Poisson distribution gives the probability of a number of successes (events) happening over a given continuous interval, usually a period of time. Class examples were the number of letters in a mailbox in a week, students emailing the lecturer in the next hour, customers taking cash from an ATM, and customers renting a carpet cleaner.
Why: It lets a business plan for demand. A bank can keep enough cash in the ATM, and a store can stock enough carpet cleaners so customers are not turned away.
- Discrete, not continuous: the interval (an hour, a week) is continuous, but the random variable is the number of successes, which is a count. That is why the Poisson is in Chapter 4. The lecturer stressed this so you don't mistake it for a continuous distribution.
- Link to Chapter 5: the exponential distribution is its counterpart. It models the amount of time between two successes, not the number of successes.
Poisson assumptions
- Constant rate: the probability of a success is the same in every sub-interval, so the expected number per unit of time (
) is constant. In real life, the lecturer gets more emails close to a midterm and almost none on a normal day, but the model assumes a constant rate for simplicity. - Independence: one success does not change the chance of another. For example, a group of friends who all email the same question breaks this assumption.
Poisson probability formula
The probability of exactly x successes in the interval, given the average rate
Why: Plug in two numbers from the question and you are done. Here
where x is the number of successes,
On the formula sheet for: Midterm 2, final.
Find
-- put the numbers into the formula -- work out , and -- divide
Answer:
A person receives an average of
-- put the numbers into the formula -- work out , and -- multiply, then divide
Answer:
Same setup. "At most two" means 0, 1 or 2 emails, so add the three probabilities, like the addition rule ("this or this or this").
-- zero emails ( and ) -- one email -- two emails, from the last example -- add the three
Answer:
"I could ask you a question on this in three different ways": find the expected value, the variance, or the probability (or more than one of these). For the probability, "all you have to do is just substitute everything in the formula... You just need to make sure you're using the calculator correctly, and you don't make a mistake there."
Poisson mean and variance
The mean of a Poisson variable is
Why: The mean is
where
On the formula sheet for: Midterm 2, final (the mean and variance only; take the square root yourself for the standard deviation).
Find the variance and standard deviation of X when
-- the variance is just -- the standard deviation is its square root
Answer: The variance is 0.5, "exactly the same as λ", with nothing to calculate. The standard deviation is 0.707.
Same setup as above, with
-- the variance equals -- take the square root
Answer:
For the expected value, "you don't have to do anything. You just have to look at the question and tell me what the lambda is." The lecturer won't always say "this is your λ": "you may have to read the question. It's the expected number of successes."
Time units must match
The
Why:
Emails arrive at
-- scale the hourly rate down to 10 minutes -- put the numbers into the formula -- work out
Answer:
"It has to be minutes for both or hours for both." One of the practice problems the lecturer posts has mismatched units, "so you want to make sure they're the same."
Shape of the Poisson
For
Why: The lecturer's reason is that, over the same fixed period, many successes are simply less likely than a few. Mathematically, the
Poisson tables
The slides show a Poisson table: the rows are x (the number of successes), the columns are values of
"This table will not be provided... don't rely on the table. For this chapter, for this distribution, you need to be able to do it on the calculator." The table only covers a few values of
Lambda and mu in the textbook
The textbook's Poisson section writes the average rate as
Spotting a Poisson question
A Poisson question has an element of time: a number of events "in a day", "in the next hour" or "per week". The lecturer will go over how to tell all the distributions apart once Chapter 5 is done ("remind me").
"The question will not always tell you which formula to use, so you should know which one." For the Poisson, the time dimension is the clue.
Finishing Chapter 4
Joint distributions review
The last Chapter 4 slides (joint and marginal distributions, conditional probability
Portfolio analysis
This applies the mean and variance of a linear function of random variables, from Lecture 06 and the portfolio preview, with real numbers.
The portfolio setup
The price of stock A is the random variable X, and the price of stock B is the random variable Y. A portfolio holds a of stock A and b of stock B (a number of shares, or percentages like 40/60). Its market value W is a linear function of X and Y, so W is random too.
Why: Prices move with the economy, so you can't know what the portfolio will be worth. You can still work out its expected value and how much it varies, which is what ETFs and other stock baskets are built on.
where X and Y are the prices of stocks A and B, and a and b are the amounts held of each.
The class example used these three outcomes:
| Economy | Probability | X (stock A) | Y (stock B) |
|---|---|---|---|
| Recession | 0.2 | −$25 | −$200 |
| Stable | 0.5 | +$50 | +$60 |
| Expansion | 0.3 | +$100 | +$350 |
The weights were
The lecturer is posting the notes for this example "because so many students are not here today and then they'll get a really bad score at the midterm when I ask a similar question." With practice, the whole problem "should take roughly 15–20 minutes."
Expected value from a table
The expected value of a discrete random variable is each value times its probability, all added up. This is the same method as the two-coin example in Lecture 06.
Why: It is a weighted average. Likelier outcomes count for more. It is "expected" because we don't know how the economy will actually turn out.
where the sum runs over every possible value x, and
Not on any formula sheet, so memorise it.
Use the table: X is −25, 50 or 100 with probabilities 0.2, 0.5 and 0.3.
-- multiply each value by its probability -- work out each term -- add them
Answer:
Y is −200, 60 or 350 with probabilities 0.2, 0.5 and 0.3.
-- multiply each value by its probability -- work out each term -- add them
Answer:
Mean of a portfolio
The expected value of
Why: Expected values pass straight through a linear function. Each stock contributes its share of its own average.
where a and b are the portfolio weights.
Not on any formula sheet, so memorise it.
With
-- put the numbers into the formula -- multiply -- add
Answer:
Variance from a table
The variance of a discrete random variable is the squared distance of each value from the mean, times its probability, all added up. It is the usual "squared deviations from the average", weighted by probability.
Why: Squaring stops positive and negative gaps from cancelling out, and weighting by probability makes likelier outcomes count for more.
where
Not on any formula sheet, so memorise it.
Use
-- subtract the mean from each value -- square each gap -- multiply by the probabilities and add -- take the square root for the standard deviation
Answer:
Use
-- subtract the mean from each value -- square each gap -- multiply by the probabilities and add -- take the square root
Answer:
"Better do this now than do it the day before the exam."
Covariance of two random variables
Covariance measures whether two random variables move together. For a probability table, multiply each outcome's two deviations from their means by that outcome's probability, then add them up.
Why: A positive covariance means the two stocks tend to rise and fall together. Its size depends on the units (here dollars), so a big number is hard to judge on its own. That is why correlation, which is always between −1 and 1, is the easier next step. The lecturer didn't ask for correlation in this problem.
where
The lecturer said this "is given in the formula sheet". The Midterm 1 and Midterm 2 sheets only print the population covariance for a data set (dividing by N), not this probability-weighted version, and the final sheet has no covariance. So memorise this form.
Use
-- take each row's two deviations -- work out the deviations -- multiply the pairs -- multiply by the probabilities and add
Answer:
"Everybody should work on this, even if you're not in the mood to do that right now... definitely solve it for the exam."
Variance of a portfolio
The variance of
Why: The lecturer compared it to expanding
where a and b are the weights,
Not on any formula sheet, so memorise it.
Use
-- put the numbers into the formula -- square the weights and work out -- multiply and add -- take the square root
Answer:
Risk versus return
Stock B has the higher expected return ($95 against $50), but also a much bigger spread (standard deviation $193.71 against $43.30). Which one to favour "depends on your personality, how risk averse, risk lover you are." Someone who wants stability puts more in stock A (a bigger than b). Someone who likes risk puts more in stock B for the big reward if the economy does well. A student pointed out that the probabilities come from past data and could be off. The lecturer agreed: that's why it's "expected", not actual.
Exam checklist
- #Poisson probability formula: asked as a probability, mean or variance; plug in and use the calculator carefully.
- #Poisson mean and variance: both are λ, and the standard deviation is the square root of λ.
- #Time units must match: convert λ so it uses the same unit as the question.
- #Poisson tables: no Poisson or binomial table on the exam, only normal and t tables.
- #Spotting a Poisson question: a time element points to the Poisson.
- #The portfolio setup: a similar question will be on the midterm.
- #Variance from a table: squared deviations times probability.
- #Covariance of two random variables: probability-weighted form, not the one printed on the sheet.
Admin & deadlines
- Midterm 1 answers are posted. Check them over the break, and tell the TAs now about any calculation error, before marking is done.
- No tutorials this week: neither Thursday night's nor Friday's.
- Reading week: classes resume the week of October 19, so the next lecture is Tuesday, October 20. Chapter 5 (continuous random variables) starts then. There is no reading to do over the break.
- Assignment 1 (7.5%) is due Friday, October 23. It is the only homework over the break. At least read it and get the data imported and cleaned early, while office-hour help is easy to get. The code and a sample assignment are on MyLS. By the syllabus, late work loses 10% a day for up to 3 days, after which the Dropbox closes.
- Stata tip for Assignment 1: if a variable shows in red in the data editor, it is a string. That usually happens because the dates contain letters like Q (quarter) or M (month). Convert it to a numeric time series variable (about two lines of code; the AI Tutor can give them) before drawing graphs. This is the most common problem with this assignment.
- Portfolio example notes will be posted (that example only, not the whole lecture).
- Tutorial after reading week: the IAs will cover a test based on discrete random variables (joint distributions).
- Midterm 2: Saturday, November 21, 3:00 to 4:00 PM.
Transcribed automatically from the lecture recording. Slides used: EC 285 - Ch. 05 - Continuous Random Variables (slides).pdf. Course info used: EC 285 - Formula Sheet - Final.pdf, EC 285 - Formula Sheet - Midterm 1.pdf, EC 285 - Formula Sheet - Midterm 2.pdf, EC 285 - Syllabus - Fall 2026.pdf. Audio archived at /mnt/porsche/configs/lectures/archive/2026-10/EC 285 - 2026-10-08 - Lecture 09.opus.