Free lesson · Prediction foundations
Conditional probabilities and contract dependence
Open interactive lessonPractice calculationsExplore labs
Start with the idea
A conditional probability asks how likely one event is inside the worlds where another event occurs. It is not generally the same as the unconditional probability.
Symbols, units & horizon
- A,B: specified events over the same resolution horizon
- P: probability
- A∩B: both events occur
- P(A|B): conditional probability inside B states
- all values dimensionless
When and why to use this
Audit related-event contracts and build joint scenarios before combining exposures.
A conditional probability asks how likely one event is inside the worlds where another event occurs. It is not generally the same as the unconditional probability.
Draw four states: both A and B, A only, B only, neither. The joint event occupies the overlap. A contract on A conditional on B needs explicit treatment when B does not occur; it may refund or settle using a special rule.
The product of marginal probabilities gives the joint only under independence. Shared candidates, economic releases or tournament structure often create dependence.
Conditional probabilities and contract dependence
- Restrict attention to the B portion of the probability mass.
- Count the A-and-B portion within it.
- Divide joint mass by total B mass to normalize the conditional sample space.
P(B)=.40 and P(A and B)=.30 give P(A|B)=.30/.40=.75. If P(A)=.50, multiplying .50×.40=.20 would understate the stipulated joint .30.
Apply it in a strategy
- Audit related-event contracts and build joint scenarios before combining exposures.
- Record the input timestamp, executable quantity, currency and horizon. Reconcile the result with a cash-flow or state table.
- Stress this failure condition: Textually similar events may use incompatible dates or rules, and independence cannot be inferred from separate listings.
Research deliverable
Build and explain a conditional probabilities and contract dependence worksheet. Audit related-event contracts and build joint scenarios before combining exposures.
Evidence boundary: Synthetic arithmetic and scenarios illustrate mechanics. They are not historical returns, a paper replication, or evidence of an executable edge. Research sources and their access limitations are recorded at the end of this module.
Python implementation
Self-contained teaching example. Python 3.10+; dependencies and input conventions are shown in the code and notation. Run in your own Python environment.
# Python 3.10+; standard library unless NumPy is imported below.
# Inputs and outputs use the units defined in this lesson. Synthetic teaching example.
def conditional(joint,conditioning):
if not 0<conditioning<=1 or not 0<=joint<=conditioning: raise ValueError("Invalid joint mass")
return joint/conditioning
print(conditional(.30,.40))Continue learning
Prediction Markets: Contracts, Probability and Evidence — all lessons- A dollar claim is not a news headline
- From probability to a decision price
- Conditional probabilities and contract dependence
- Brier score: measure the whole probability
- Log loss and overconfident mistakes
- Calibration bins and their uncertainty
- Resolution delay and capital lock-up
- A causal forecast research ledger
Quantitative finance and development glossary · Python resources and libraries · Research sources and limitations