EC 285 - 2026-10-06 - Lecture 08
EC 285 - Lecture 08 - 2026-10-06
Week 5 · 16:01-17:17 · 76 min · Full transcript · Flashcards
Overview
This lecture opened with Midterm 1 logistics and the results of the mid-semester feedback survey from another section, then returned to Chapter 4, Discrete Random Variables. After a quick recap of last week's two-coin distribution and a fuller preview of portfolio analysis, it covered the Bernoulli distribution, a single trial with two outcomes, and derived its mean and variance. It then built the binomial distribution, which is the Bernoulli trial repeated n times, and worked three binomial problems, including how to recognise a binomial question when the word "binomial" never appears. The Poisson distribution was left for Thursday.
Picking Chapter 4 back up
This recaps Lecture 06: the two-coin table (X = 0, 1, 2 heads with probabilities 1/4, 1/2, 1/4), its expected value and variance, and linear functions of random variables. The lecturer added detail to the portfolio example.
Portfolio analysis preview
You have money to invest, for example $1,000, and split it between two stocks X and Y in some ratio, such as 0.5 and 0.5 or 0.7 and 0.3. The portfolio's return is a linear function
Why: Historical average returns are publicly available for publicly listed companies, so you can use them to estimate the expected return on your whole portfolio, and the covariance of X and Y. A risky stock may pay a higher average return, while a safer stock with a smaller standard deviation usually pays less. How someone splits their money depends on how much risk they like, but that is microeconomic theory, so the course skips it. "I will give you the allocation ratios, so you don't have to." Worked numbers come next class.
The Bernoulli distribution
This is the first named distribution on the Chapter 4 slides. It follows the three-step pattern from Lecture 06: the probability function, the expected value and the variance.
Bernoulli trials
A Bernoulli experiment is done once and has only two mutually exclusive outcomes, called "success" and "failure". X = 1 for a success and X = 0 for a failure. Let p be the probability of success, so the probability of failure is 1 − p by the complement rule.
- Examples from class: a coin toss with heads as the success (
), or a die roll where a 6 is the success and 1 to 5 is a failure ( , failure ). - It does not have to be 50/50. What matters is that there are only two outcomes, like yes or no, pass or fail, or 6 or not 6.
Why: Any yes-or-no event becomes a number you can average once you code it as 0 or 1.
where x is 0 (failure) or 1 (success) and p is the probability of success. This gives
On the formula sheet for: Midterm 2, final.
Bernoulli mean and variance
The average of a Bernoulli variable is the probability of success, and its variance is
Why: X is 1 a fraction p of the time and 0 the rest of the time, so on average it equals p. The spread is largest when success and failure are equally likely, at
where p is the probability of success.
On the formula sheet for: Midterm 2, final.
The lecturer derived the mean on the board from the table
-- multiply each value by its probability and add -- the first term is zero -- average squared distance from the mean, using -- , and reorder the second term -- factor out -- the bracket equals 1
Answer:
One die roll, where a 6 counts as success, so
-- the mean is the chance of success -- put p into the variance formula -- the standard deviation is the square root of the variance
Answer: Mean about 0.167 and standard deviation about 0.373 -- on average a single roll produces 0.167 "sixes".
"Obviously, I won't ask you for proofs of these formula that you see on the formula sheet." The formulas are given, but "you still need to know what n is, what p is." Bernoulli questions are limited because it is a one-time experiment, but "sure, I can ask you a question on this."
The binomial distribution
The binomial distribution is the Bernoulli experiment repeated. In the lecturer's words: "You don't toss a coin one time, you do it multiple times. That's the only difference."
Binomial distribution
Repeat a two-outcome experiment n times, with the same success probability p each time. X is the number of successes, so x can be 0, 1, ..., n. The binomial formula gives the probability of exactly x successes.
Why: The first part,
where n is the number of times the experiment is repeated (the number of observations), x is the number of successes, p is the probability of success, and 1 − p is the probability of failure. The slides write the success probability as capital P. The formula sheet and the lecturer use small p.
On the formula sheet for: Midterm 2, final.
Suppose the midterm was so hard that the chance of passing is only 10%, so
-- put the numbers into the binomial formula, with and -- five ways to choose which student passes -- the probability of four failures -- combinations times the probability of one arrangement
Answer:
The first part of the formula is "combinations. Not permutations, combinations," because "I just want one to pass out of five, so order doesn't matter." The powers must add up to n: here there is one success and four failures, out of five students.
Binomial mean and variance
The average number of successes in n trials is np, and the variance is
Why: Each trial adds p to the expected count and
where n is the number of trials and p is the probability of success.
On the formula sheet for: Midterm 2, final. The square root for σ is not printed, so take it yourself.
A sports player makes 80% of their throws in a season, so
-- put the numbers into the binomial variance, with , then -- the variance -- the standard deviation is the square root of the variance
Answer:
Several students answered 1.13. One answered 1.28, and the lecturer said "I know where you made a mistake." The value 1.28 is the variance: when the question asks for the standard deviation, take the square root. The lecturer also advised starting every problem by stating the random variable: "Always a good idea to start with that."
Spotting a binomial question
An exam question may not say "binomial", so you have to recognise the setup. Look for these four features:
- each trial has only two outcomes, a success and its complement;
- the success probability p is the same on every trial;
- the trials are independent, so one result does not change the next;
- there is a set number n of trials;
- X counts the successes, so it is discrete.
Why: "Once you know, you have the formula, you can apply it." Recognising the distribution is the real skill, especially by the final, when about 10 distributions have been covered. Note that "success" only means the outcome you are counting. Finding your job stressful is not nice, "but that's how the question is framed."
A survey found that 40% of professors consider their job extremely stressful. If 12 professors are selected at random, what is the probability that exactly 5 consider their job stressful? Here
-- five find it stressful and the other seven do not -- the number of ways to choose 5 of the 12 -- the probability of 5 successes -- the probability of 7 failures -- multiply the three parts
Answer:
"When you read the question, it's not very obvious that it's binomial distribution. So I may not mention that in the question." In class, a student guessed that it was binomial "because there are more than two people or two outcomes". That is wrong. It is binomial because there are only two outcomes (stressful or not) and the count is discrete: "I cannot have 5.2 professors finding their job to be stressful."
Binomial tables
The slides include a binomial table that lists
Why: Printing them would be about 10 sheets of paper per exam "when you would only look for this one number". The table values are just the binomial formula worked out in advance, so you can get the same numbers by hand.
The slide reads 0.2522 from the table. Here is the same value from the formula, with
-- put the numbers into the formula -- the combinations and -- the success and failure parts -- multiply
Answer:
The slide reads 0.0229 from the table. Here is the same value from the formula, with
-- put the numbers into the formula -- the combinations and -- the success and failure parts -- multiply
Answer:
"Don't rely on these tables. Just work out the probabilities using the formula... these will not be provided, although they're in the slides." The syllabus says statistical tables are provided during exams, but the lecturer was clear that binomial tables are not among them.
Exam checklist
- #Bernoulli mean and variance: the formulas are on the sheet, and no proofs are asked.
- #Binomial distribution: the first part is combinations, because order doesn't matter.
- #Binomial mean and variance: Bernoulli is the binomial with n = 1, and the standard deviation is the square root of the variance.
- #Spotting a binomial question: two outcomes, a set number of trials, a discrete count, and the word "binomial" may not appear.
- #Binomial tables: not provided, so work everything out from the formula.
Admin & deadlines
- Midterm 1 results: the multiple-choice answers are posted right after today's class. Grades are not released until all exams are fully marked. TAs officially have 10 days, and grades will appear on MyLS under Grades.
- No tutorial this week (neither Thursday nor Friday). Tutorials resume after reading week.
- Tutorials are changing: in October and the first half of November, tutorials are practice problems on class material, not Stata labs. Two or three more Stata labs come at the end of term, for Assignment 2.
- Assignment 1 is due October 23, one week after reading week. Start it now.
- Midterm 2 is on November 21, 3:00 to 4:00 PM (the time is from the syllabus). It covers Chapters 4, 5, 6, 7 and 8. Expect "more technical stuff" than Midterm 1.
- Next class (Thursday, October 8): the Poisson distribution, and the portfolio analysis example with numbers.
- Reading: Chapter 4 of the textbook, which is "really well explained in the book". It has more practice questions.
- Feedback survey: the lecturer showed the other section's anonymous results. Most students rated Midterm 1 good or excellent and fair, and the pace about right. If you have concerns, for example about your IA, meet with the lecturer.
Transcribed automatically from the lecture recording. Slides used: EC 285 - Ch. 04 - Discrete 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-06 - Lecture 08.opus.