ECON UA20 F24 Lec3 Slides PDF
ECON UA20 F24 Lec3 Slides PDF
Konrad Menzel
September 10, 2024
New York University
1
First Problem Set Due Tuesday next Week
As a reminder, the first problem set is due on Tuesday, 9/17 at 8pm. The
deadline is sharp, no late submissions will be accepted.
You should be able to do all problems with material covered in lectures
and recitations this week. You are expected to be very precise in proofs
and derivations, documenting all formal steps.
You are encouraged to work together and discuss homework problems in
groups, but each student must submit their own, separate written
answers.
You may consult any notes from class and textbooks.
Assignments (with or without answers) must never be posted on
“tutoring” websites like CourseHero or Chegg.
Electronic submissions can be uploaded via Brightspace. You can give me
paper submissions at the end of the lecture on the day the assignment is
due, or drop them off in the TAs’ mailboxes on the 6th floor in 19W4 St
before the 8pm deadline.
2
Independent Events
Independent Events
P(A ∩ B) = P(A)P(B)
3
Independent Events - Examples
For example suppose we roll a fair die once, and consider the events
A = {2, 4, 6} and B = {1, 2, 3, 4}.
4
Independent Events - Examples
For example suppose we roll a fair die once, and consider the events
A = {2, 4, 6} and B = {1, 2, 3, 4}.
Counting outcomes, P(A) = n(A)
n(S)
= 3
6
= 21 , and similarly, P(B) = 4
6
= 23 .
The probability of the intersection of events is
2 1
P(A ∩ B) = P({2, 4}) = = = P(A)P(B)
6 3
so the events are independent even though they resulted from the same
roll.
4
Independent Events - Examples
For example suppose we roll a fair die once, and consider the events
A = {2, 4, 6} and B = {1, 2, 3, 4}.
Counting outcomes, P(A) = n(A)
n(S)
= 3
6
= 21 , and similarly, P(B) = 4
6
= 23 .
The probability of the intersection of events is
2 1
P(A ∩ B) = P({2, 4}) = = = P(A)P(B)
6 3
so the events are independent even though they resulted from the same
roll.
However this is no longer true if the die had instead been manipulated so
that P(6) = 38 , whereas for all other numbers n = 1, . . . , 5, P(n) = 18 :
1 1 3 5 4 1
P(A) = + + = , P(B) = =
8 8 8 8 8 2
and
2 1 5
P(A ∩ B) = = < P(A)P(B) =
8 4 16
4
Independent Events - Complements
5
Independent Events - Complements
proving independence □
5
Independence of a Collection of Events
and
P(A ∩ B ∩ C ) = P(A)P(B)P(C )
6
Example
7
Example
7
Example
Intuitively, once we know that both A and B occurred, we know for sure
that C occurred.
7
Conditional Probability
Conditional Probability
8
Conditional Probability
8
Conditional Probability
8
Conditional Probability
Definition Suppose A and B are events defined on S such that P(B) > 0.
The conditional probability of A given that B occurred is given by
P(A ∩ B)
P(A|B) =
P(B)
B ≡ S′
A
A ∩ B ≡ A′
9
Conditional Probability and Independence
10
Example: Betting Markets
On platforms like PredictIt, you can trade assets which will pay 1$ if a
given event Ai (e.g. Yankees win the World Series) occurs. Such an
asset/contract is called an contingent claim for the event Ai .
Agents can ask to buy or sell these assets at any prices at any time before
the event (or its complement) is realized. If two agents agree to a
transaction at a particular price πt (Ai ) at time t, the market price is
updated accordingly.
11
Example: Betting Markets
On platforms like PredictIt, you can trade assets which will pay 1$ if a
given event Ai (e.g. Yankees win the World Series) occurs. Such an
asset/contract is called an contingent claim for the event Ai .
Agents can ask to buy or sell these assets at any prices at any time before
the event (or its complement) is realized. If two agents agree to a
transaction at a particular price πt (Ai ) at time t, the market price is
updated accordingly.
On the political market for the 2008 US Presidential election on Intrade,
you could trade assets for the events
Ai that candidate i wins the presidential elections (without
conditioning on nomination)
Bi that candidate i wins the nomination of her/his party
Ck that the nominee of party k wins the election
11
Example: Betting Markets
If optimizing agents are allowed to trade any combination of positive or negative numbers of assets, and the
set of tradable assets correspond to a sigma algebra of events, then any violation of Kolmogorov’s axioms
would present an opportunity to make bets that return a positive profit for sure (“arbitrage opportunity”).
For axiom (P1), if any agent offered any contingent claim at a price πi < 0, then buying a unit of that
asset guarantees a positive profit for sure and regardless of the likelihood of event Ai , since the payout at
the end of the contract can’t be negative.
For axiom (P3), if the sum of prices for events corresponding to a partition A1 , . . . , Ak of the event A add
up to less than πt (A), then buying one unit each of A1 , . . . , Ak and selling one of A earns a profit
πt (A) − (πt (A1 ) + · · · + πt (Ak )) > 0 and leaves the payoff at the end of the contract unchanged,
regardless of whether A occurs or not. If they add up to more, then we could execute the opposite trade
For axiom (P2), if asset prices for a partition of the sure event (e.g. “Democratic” or “Republican” or
”other” candidate wins) sum up to less than 1$, we should buy now and receive a sure payoff of 1$ in the
future.
An “arbitrage-free” market is a market in which any of those transactions have already taken place and
forced asset prices to adjust to eliminate any further arbitrage opportunities.
12
PredictIt price data for the winner of the US Presidential election 2024. 13
PredictIt price data for the Democratic Nominating contest. 14
Example: Betting Markets
On June 27, 2024 there was a public debate between Donald Trump and
Joe Biden, then the presumed nominees of their parties. Biden’s
performance ultimately lead to doubts about his candidacy, and was
eventually replaced by Kamala Harris.
We can now look at the data to infer whether the prediction markets
“thought” that she was going to be a stronger candidate, i.e. was the
probability P(Ai |Bi ) of Harris winning the presidency conditional on being
nominated greater than Biden’s?
We assume that a candidate who is not nominated by the party has no
chances of winning the presidency, so that
P(Ai ∩ Bi ) P(Ai )
P(Ai |Bi ) = =
P(Bi ) P(Bi )
15
Implied probabilities for Biden and Harris winning the general election
conditional on being nominated by the DNC.
16
Law of Total Probability
17
Law of Total Probability - Proof
B1
B2
B3
A
B4
B5 B6 S
18
Application: Composition Effects
In medical data we can often find that patients treated by older, and more
experienced, heart surgeons have in fact higher post-operative death rates than
those operated by younger surgeons.
Say we observe a death rate of 6.0% for experienced surgeons, and only
5.5% for inexperienced surgeons. Does this mean that the surgeons’ skill
decreases with age?
Probably not - let’s suppose there are four different types of procedures a
surgeon may have to perform - single, double, triple, and quadruple
bypass. The complexity of the procedure and the risk to the patient
increase in the number of bypasses, and patients who are generally
”sicker” may tend to require a more complicated procedure.
19
Application: Composition Effects
Inexperienced Experienced
Procedure Death Rate Percentage of Cases Death Rate Percentage of Cases
Single Bypass 4.0% 50.0% 2.0% 25.0%
Double Bypass 6.0% 40.0% 4.0% 25.0%
Triple Bypass 10.0% 9.0% 6.0% 25.0%
Quadruple Bypass 20.0% 1.0% 12.0% 25.0%
Total 100.0% 100.0%
20
Application: Composition Effects
Inexperienced Experienced
Procedure Death Rate Percentage of Cases Death Rate Percentage of Cases
Single Bypass 4.0% 50.0% 2.0% 25.0%
Double Bypass 6.0% 40.0% 4.0% 25.0%
Triple Bypass 10.0% 9.0% 6.0% 25.0%
Quadruple Bypass 20.0% 1.0% 12.0% 25.0%
Total 5.5% 100.0% 6% 100.0%
20
Application: Composition Effects
In the notation of the Law of Total Probability, the overall death rate
P(A) for experienced surgeons can be computed from the death rate
conditional on procedure Bi , P(A|Bi ), and the base rates/proportions
P(Bi ) of cases corresponding to each procedure.
If experienced surgeons are assigned a disproportionately large share of
risky cases (their average (better: marginal) death rate is higher than
that of inexperienced surgeons, even though they perform better
conditional on each treatment category.
This phenomenon is often referred to as a composition effect. The
variable ”type of procedure” would be treated as what statisticians call a
confounding factor.
21
Summary
22
Conditional Independence
Conditional Independence
23
Conditional Independence - Example
24
Conditional Independence - Example
24
Conditional Independence - Example
However,
P(∅)
P(A ∩ B|C ) = = 0 ̸= P(A|C )P(B|C )
P(C )
24
Conditional Independence - Example
25
Conditional Independence - Example
25