Trading Dev AcademyFree quant education

Free lesson · Prediction strategies

Bounds for joint and union events

Open interactive lessonPractice calculationsExplore labs

Start with the idea

Even without an independence assumption, marginal probabilities restrict how large or small an overlap can be.

Symbols, units & horizon
  • p_A,p_B: marginal probabilities over a shared horizon
  • p_AB: joint probability of both A and B
  • max/min: larger/smaller argument
  • all dimensionless

When and why to use this

Detect incoherent forecast combinations and construct stress scenarios without inventing independence.

Even without an independence assumption, marginal probabilities restrict how large or small an overlap can be.

The joint cannot exceed either marginal event. Its lower bound is determined by the fact that total union probability cannot exceed one. These are probability coherence bounds before execution frictions.

When market prices are substituted for probabilities, discounting, spreads and funding matter. A probabilistic inconsistency points to a candidate state portfolio only after exact contracts and tradability are checked.

max⁡(0,pA+pB−1)≤pAB≤min⁡(pA,pB)
Model assumptions, derivation and arithmetic

Bounds for joint and union events

  1. The overlap is inside each event, giving p_AB≤min(p_A,p_B).
  2. Union mass is p_A+p_B−p_AB and cannot exceed one; rearrange for the lower bound.
  3. A probability also cannot be negative, so take the maximum with zero.
Work it by hand

p_A=.70 and p_B=.60 imply a joint between max(0,.30)=.30 and min(.70,.60)=.60. Independence would give .42 but is an extra assumption.

Apply it in a strategy

  • Detect incoherent forecast combinations and construct stress scenarios without inventing independence.
  • Record the input timestamp, executable quantity, currency and horizon. Reconcile the result with a cash-flow or state table.
  • Stress this failure condition: Coherent point probabilities do not determine dependence, and tradable contract prices need not be undiscounted probabilities.

Research deliverable

Build and explain a bounds for joint and union events worksheet. Detect incoherent forecast combinations and construct stress scenarios without inventing independence.

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 joint_bounds(a,b):
    if not 0<=a<=1 or not 0<=b<=1: raise ValueError("Invalid marginal probability")
    return max(0,a+b-1),min(a,b)

print(joint_bounds(.70,.60))

Continue learning

Prediction Strategies: Logic, Sizing and Market Making — all lessons
  1. Complete-set purchases and redemption
  2. Subset relations and executable bounds
  3. Bounds for joint and union events
  4. Binary Kelly sizing and estimation error
  5. Decision buffers for probability uncertainty
  6. Quoting revenue and adverse selection
  7. Event overlap and portfolio variance
  8. Evaluate the decision process, including failed fills

Quantitative finance and development glossary · Python resources and libraries · Research sources and limitations