Crude Oil Tail-Risk Modeling and Probability Puzzles

Medium · Statistics & Math · Data Scientist · HR Screen

Prompt

Work through all four parts of this quantitative market-risk and probability assessment:

  1. Joint downside stress framework for WTI and Brent crude oil: Suppose you oversee risk for a trading book carrying exposure to both WTI and Brent crude oil benchmarks, given daily historical price series for each benchmark. Architect a stress-testing methodology for their joint downside moves over a chosen risk horizon (such as 1 day for trading-desk monitoring and 10 days for portfolio or regulatory capital stress). Explain:

    • which market history, contract roll adjustments, and portfolio risk inputs you would gather;
    • how you would model each benchmark's univariate dynamics and heavy tails;
    • how you would capture cross-benchmark dependence and simultaneous crash behavior;
    • why a Student-t copula suits joint downside risk better than a Gaussian copula, along with its caveats;
    • the step-by-step t-copula parameter calibration and Monte Carlo simulation workflow;
    • how you would compound daily dynamics into a multi-day (such as 10-day) risk horizon;
    • how you would construct historical, hypothetical, simulation-based, conditional, and reverse stress scenarios;
    • how you would backtest the model and communicate its assumptions and blind spots.
  2. Sum of two normal random variables: Suppose X and Y are each normally distributed with variances σ_X^2 and σ_Y^2 and linear correlation ρ.

    • Find Var(X + Y) when X and Y are independent.
    • Find Var(X + Y) when X and Y are correlated with coefficient ρ.
    • State the condition that guarantees X + Y is itself normally distributed.
  3. Three-door switching game: Behind 3 closed doors sit 1 car and 2 goats. After you pick an initial door, a host who knows the exact placement intentionally opens one of the other two doors to reveal a goat, then invites you to either keep your original door or switch to the remaining closed door. Determine the probability of winning under each choice and state whether you should switch.

  4. Heavy-sphere balance puzzle: Given 8 identical-looking spheres where 7 weigh the exact same amount and 1 is heavier, provide a strategy using a two-pan balance scale at most 2 times that always identifies the heavier sphere.

Scope & Expectations

  • End-to-end crude oil stress design: Cover futures curve data hygiene, volatility filtering, heavy-tailed marginals, copula tail dependence, calibration, multi-day path simulation, complementary stress-scenario families, and statistical backtesting.
  • Exact variance and joint normality: Give closed-form variance formulas for independent and correlated variables, clearly separating marginal normality from joint (bivariate) normality with a concrete counterexample.
  • Conditional probability rigor: Justify the three-door probabilities via sample-space enumeration or Bayes' theorem, making the host's knowledge constraint explicit.
  • Optimal balance-scale branching: Present a complete two-weighing decision tree that resolves all eight candidates using three-way scale outcomes.

Step-by-step walkthrough

  1. Part 1A: Stress-testing crude — clean data, returns, and horizons

    Most real-world stress-testing mistakes happen in data preparation before any statistical model runs. Pin down the data, return definition, and time horizon first.

    1. Data to collect: - WTI and Brent futures curves: WTI (West Texas Intermediate, priced inland in Cushing, Oklahoma on NYMEX) and Brent (seaborne North Sea crude on ICE) are the two global oil benchmarks. Collect daily settlement prices across every tenor (delivery month M1, M2, ..., M12) held in the portfolio. - Roll-adjusted continuous series: because monthly futures expire on different dates, raw front-month prices jump artificially on contract roll dates. Build roll-adjusted series that switch contracts on a fixed schedule (for example, 5 business days before expiry) without mixing the calendar spread between M1 and M2 into daily price moves. - Long history covering real crises: include 2008–09, the 2014–16 supply glut, 2020 (on April 20, 2020, expiring May WTI settled at -$37.63/bbl), and 2022. Also track the WTI–Brent spread explicitly—in 2011 inland pipeline bottlenecks widened the spread past $20/bbl, proving the two benchmarks can decouple violently. - Portfolio sensitivities: position sizes per tenor, plus delta (linear P&L per $1 oil move), gamma (curvature of option delta on large moves), and vega (sensitivity to implied volatility spikes) or full option revaluation.

    2. Return transformation: - Standard log returns ln(P_t / P_{t-1}) break as soon as prices hit zero or go negative, as WTI did in April 2020. Model daily dollar changes (ΔP_t = P_t - P_{t-1} in $/bbl) for general stress testing, using percentage/log returns only on longer-dated tenors bounded well above zero, aligned on common trading days.

    3. Horizons: - 1-day horizon for daily trading-desk risk limits, and 10-day horizon for portfolio and regulatory capital stress—for example, Basel market-risk rules benchmark Value at Risk (VaR) (the loss threshold exceeded only 1% of the time) and Expected Shortfall (ES) (the average loss across the worst 2.5% of outcomes) over multi-day liquidity horizons.

  2. Part 1B: Marginal modeling with GARCH volatility and EVT fat tails

    Daily oil moves violate a constant bell curve in two ways: volatility clustering (turbulent days arrive in streaks) and fat tails (extreme crashes happen far more often than a normal curve predicts). Handle them by separating time-varying volatility from the tail shape:

    1. Filter volatility with GARCH(1,1): GARCH(1,1) updates tomorrow's variance forecast σ²_{t+1} as a weighted sum of a baseline ω, today's squared shock r²_t, and today's variance σ²_t (using asymmetric GJR-GARCH if price drops spike volatility more than rallies, estimated with Student-t innovations).
    2. Extract standardized residuals: divide each daily move by that day's volatility (z_t = r_t / σ_t). Stripping out calm-vs-stormy regimes leaves unit-variance shocks z_t that behave roughly independently across days.
    3. Fit Extreme Value Theory (EVT) to the tails: keep the empirical distribution in the middle (5% to 95%) and fit a Generalized Pareto Distribution (GPD)—the theoretical curve for excesses beyond a high threshold—to the worst 5% left and right tails so simulations can generate crashes beyond the single worst historical day.
    4. Rescale by today's volatility (σ_{tomorrow}): multiply simulated shocks by current forecasted volatility so stress outputs adapt immediately when markets heat up.

    Worked GARCH(1,1) update: Suppose long-run daily volatility is 2.0% (σ²_bar = 0.0004), α = 0.08, and β = 0.90, so ω = 0.0004 * (1 - 0.08 - 0.90) = 0.000008. If today's volatility was 2.5% and crude dropped -6.0%:

    σ²_tomorrow = ω + α * r²_today + β * σ²_today
                = 0.000008 + 0.08 * (-0.06)² + 0.90 * (0.025)²
                = 0.000008 + 0.000288 + 0.0005625 = 0.0008585
    σ_tomorrow  = sqrt(0.0008585) = 0.0293  (2.93% daily volatility)
    
    import numpy as np
    
    
    def garch_filter(returns, omega, alpha, beta):
        """Compute GARCH(1,1) daily volatilities and standardized residuals."""
        returns = np.asarray(returns, dtype=float)
        n = len(returns)
        var = np.empty(n + 1)
        # Start at the unconditional long-run variance: omega / (1 - alpha - beta)
        var[0] = omega / (1.0 - alpha - beta)
        for t in range(n):
            var[t + 1] = omega + alpha * (returns[t] ** 2) + beta * var[t]
        sigma = np.sqrt(var)
        # Return standardized shocks z_t = r_t / sigma_t and tomorrow's forecast
        return returns / sigma[:-1], float(sigma[-1])
    
  3. Part 1C: Joint tail risk — why a Student-t copula beats a Gaussian copula

    A copula is a function that joins individual variables' 0–1 percentile ranks into a joint distribution. Sklar's theorem proves that any joint distribution F(x, y) = C(F_X(x), F_Y(y)) splits cleanly into each series' own marginal distribution (F_X, F_Y) plus a copula C governing how they move together.

    For downside stress testing, linear correlation ρ is not enough; what matters is lower tail dependence (λ_L)—the probability that Brent crashes into its worst q quantile given that WTI is already in its worst q quantile, as q -> 0:

    λ_L = lim (q -> 0) P(U_Brent <= q | U_WTI <= q)
    
    • Gaussian copula (λ_L = 0 for every ρ < 1): links percentiles via a bivariate normal curve. Even when everyday correlation is high (ρ = 0.8), extreme crashes behave more and more independently further out in the tail.
    • Student-t copula (λ_L > 0): links percentiles via a bivariate t distribution with correlation ρ and degrees of freedom ν, dividing correlated normal draws by one shared random shock-size variable (sqrt(χ²_ν / ν)). When that shared divisor happens to be small, both WTI and Brent suffer simultaneous tail shocks: λ_L = 2 * t_{ν+1}(-sqrt((ν + 1)(1 - ρ) / (1 + ρ))).

    Compare both copulas at the exact same correlation ρ = 0.8:

    Crash threshold q                          Gaussian copula    t-copula (ν = 4)
    ------------------------------------------------------------------------------
    P(Brent worst 1%   | WTI worst 1%)         0.38               0.52
    P(Brent worst 0.1% | WTI worst 0.1%)       0.26               0.50
    Asymptotic limit λ_L (q -> 0)              0.00               0.49  (ν=10: 0.29)
    

    At the 0.1% tail, the Student-t copula makes a simultaneous WTI+Brent crash nearly twice as likely (0.50 vs 0.26), matching macro oil shocks like 2008 and 2020. Still, state three limitations of the standard t-copula: 1. Tail symmetry: it assigns identical dependence to joint crashes and joint rallies (skew-t or Clayton/rotated-Gumbel copulas allow asymmetric crash clustering). 2. Single ν: in a larger multi-asset book, one degrees-of-freedom parameter governs all pairs. 3. Understated spread decoupling: when calibrated ρ is 0.85–0.95, random draws rarely produce WTI crashing while Brent stays flat—the exact move that hurts a WTI–Brent spread book!

  4. Part 1D: Calibrate the t-copula, simulate, and scale to 10 days

    Follow a five-step calibration and simulation pipeline:

    Daily ΔP -> [GARCH filter] -> standardized z_t -> [rank/(n+1)] -> uniforms u_t
                                                                           |
    10-day P&L <- [update GARCH x 10d] <- [invert marginals] <- [fit & draw t-copula (ρ, ν)]
    
    1. Pseudo-observations: transform each series' standardized residuals z into empirical percentiles u = rank(z) / (n + 1) so copula fitting cannot be distorted by marginal misfit.
    2. Calibrate ρ via Kendall's tau (τ): Kendall's tau measures rank concordance (resistant to single-day outliers like April 2020). For any elliptical copula, ρ = sin(π * τ / 2)—for example, τ = 0.60 maps directly to ρ = sin(0.3 * π) = 0.809.
    3. Calibrate ν by maximum likelihood: hold ρ fixed and maximize the t-copula log-likelihood over candidate values of ν, then verify empirical 1% and 5% joint crash counts against the fitted copula.
    4. Simulate 1-day draws: draw correlated standard normals, divide both coordinates by the same sqrt(χ²_ν / ν) draw per scenario, map through the univariate t_ν CDF to get uniforms (u_WTI, u_Brent), and invert each series' semi-parametric (empirical + GPD) marginal scaled by σ_{tomorrow}.
    import numpy as np
    from scipy import stats
    
    
    def t_copula_loglik(u, rho, nu):
        """Log-likelihood of a bivariate t-copula at pseudo-observations u (n x 2)."""
        x = stats.t.ppf(u, df=nu)
        shape = [[1.0, rho], [rho, 1.0]]
        joint = stats.multivariate_t(loc=[0.0, 0.0], shape=shape, df=nu).logpdf(x)
        margins = stats.t.logpdf(x, df=nu).sum(axis=1)
        return float(np.sum(joint - margins))
    
    
    def fit_t_copula(z):
        """Fit (rho, nu) to standardized residuals z (shape n x 2)."""
        n = len(z)
        u = np.column_stack([stats.rankdata(z[:, 0]), stats.rankdata(z[:, 1])]) / (n + 1.0)
        tau = stats.kendalltau(z[:, 0], z[:, 1]).statistic
        rho = float(np.sin(np.pi * tau / 2.0))
        best_nu, best_ll = 4, -np.inf
        for nu in [2, 3, 4, 5, 6, 8, 10, 15, 20, 30, 50]:
            ll = t_copula_loglik(u, rho, nu)
            if ll > best_ll:
                best_nu, best_ll = nu, ll
        return rho, best_nu
    
    
    def simulate_t_copula(rho, nu, num_draws, rng):
        """Draw (u_wti, u_brent) scenarios from a bivariate Student-t copula."""
        chol = np.linalg.cholesky(np.array([[1.0, rho], [rho, 1.0]]))
        normals = rng.standard_normal((num_draws, 2)) @ chol.T
        # ONE shared chi-square draw per scenario produces joint tail dependence
        shared_scale = rng.chisquare(nu, size=num_draws) / nu
        t_draws = normals / np.sqrt(shared_scale)[:, None]
        return stats.t.cdf(t_draws, df=nu)
    
    
    def to_returns(u, z_hist, sigma_next):
        """Map simulated uniforms back to 1-day moves (GPD replaces tails in prod)."""
        moves = np.empty_like(u)
        for j in range(2):
            moves[:, j] = sigma_next[j] * np.quantile(z_hist[:, j], u[:, j])
        return moves
    

    5. Aggregating to a 10-day horizon: The textbook shortcut VaR_10 = sqrt(10) * VaR_1 assumes independent daily moves with frozen volatility (for a $10m long position at 2.5% daily vol and 99% normal cutoff 2.326, VaR_1 = $0.58m scales to $1.84m). That shortcut fails in two ways: on a calm 1.2%-vol day, sqrt(10) predicts 3.79% 10-day standard deviation while our GARCH parameters mean-revert upward to 4.07% (understating risk), and across any regime it misses volatility feedback—a crash on day 1 spikes σ on days 2..10, fattening the 10-day tail. Instead, simulate 10-step paths: on each day d = 1..10, draw (u_WTI, u_Brent) from the t-copula, convert to dollar moves using day d's GARCH volatility, update both GARCH variances for day d + 1, and sum the 10 daily moves.

  5. Part 1E: Five stress-scenario families, validation, and limits

    Illustrate all five scenario types on a concrete spread portfolio: long 1,000,000 bbl WTI at $70 and short 900,000 bbl Brent at $74, where linear P&L = 1,000,000 * ΔWTI - 900,000 * ΔBrent:

    • Historical scenarios: replay worst 10-day crisis percentage moves on current prices. If both benchmarks drop -25% (ΔWTI = -$17.50, ΔBrent = -$18.50), P&L = -$17.50m + $16.65m = -$0.85m—the short Brent leg hedges a parallel market crash well.
    • Hypothetical scenarios: domain-expert events that may look worse than history for this book. A Cushing tank-top glut where WTI falls -15% (-$10.50) while seaborne Brent slips only -5% (-$3.70) gives P&L = -$10.50m + $3.33m = -$7.17m—over 8x worse because the book is exposed to basis divergence!
    • Model-based Monte Carlo: simulate 100,000 10-day GARCH + t-copula paths, report 99% VaR and 97.5% Expected Shortfall, and inspect the specific (ΔWTI, ΔBrent) clusters inside the worst 2.5% tail.
    • Conditional stress: lock one benchmark at a severe quantile and sample the other from the copula's exact conditional law. Under a bivariate t (ρ = 0.8, ν = 4), T_WTI | (T_Brent = t_B) follows a shifted/scaled t_{ν+1} distribution: when Brent sits at its 1% crash quantile, WTI's conditional median sits at its 2% quantile with a 90% range spanning WTI's 0.3% to 26% quantiles.
    • Reverse stress test: ask "what is the most plausible market move that causes a $10m loss?" Under an elliptical covariance matrix Σ and weights w, the minimum-distance point on w'x = -L is x* = -L * (Σw) / (w'Σw). With 10-day dollar vols $5.53 (WTI) and $5.38 (Brent) at ρ = 0.90, portfolio 10-day SD is $2.42m and x* = (-$11.13, -$1.26) (a 4.1-SD event): WTI plunges while Brent barely moves—automatically surfacing spread decoupling as the book's Achilles' heel.

    Validation and communicating limits: - Backtest VaR breaches: over n = 250 trading days, a 99% 1-day VaR expects 2.5 exceptions (Basel green zone: 0–4, yellow: 5–9, red: 10+). Check breach frequency with the Kupiec proportion-of-failures likelihood-ratio test (LR vs χ²(1) critical value 3.84 at 5%): 6 breaches gives LR = 3.56 (p = 0.059, borderline yellow), while 8 breaches gives LR = 7.73 (p = 0.005, rejected). Pair it with Christoffersen's independence test to verify breaches do not bunch together on consecutive days. - Sensitivity and goodness-of-fit: verify that u looks uniform, compare empirical vs copula 1% joint exceedances, and stress ν (3 vs 10) and ρ (0.95 parallel crash vs 0.50 decoupling). - State limitations plainly to risk managers: 10-day simulations hold positions static, ignore bid-ask widening and margin calls during fire sales, simplify term-structure roll yield, and estimate 1-in-1,000 tail events from limited crisis history.

  6. Part 2: Variance of X + Y and when a sum of normals is normal

    For any two random variables X and Y with finite variances σ_X², σ_Y² and correlation ρ = Cov(X, Y) / (σ_X * σ_Y), expand the expected squared deviation around the mean:

    Var(X + Y) = Var(X) + Var(Y) + 2 * Cov(X, Y)
               = σ_X² + σ_Y² + 2 * ρ * σ_X * σ_Y
    
    • Independent case (X independent of Y): independence implies zero covariance (Cov(X, Y) = 0, so ρ = 0), reducing the sum variance to Var(X + Y) = σ_X² + σ_Y².
    • Correlated case (linear correlation ρ): substituting Cov(X, Y) = ρ * σ_X * σ_Y yields Var(X + Y) = σ_X² + σ_Y² + 2 * ρ * σ_X * σ_Y.

    Worked check with σ_X = 2 (σ_X² = 4) and σ_Y = 3 (σ_Y² = 9):

    Correlation ρ    2 * ρ * σ_X * σ_Y    Var(X + Y)    SD(X + Y)
    -------------------------------------------------------------
     0.0              0                   13            3.61
     0.5             +6                   19            4.36
    +1.0            +12                   25            5.00  (= 2 + 3)
    -1.0            -12                    1            1.00  (= |2 - 3|)
    

    When is X + Y itself normally distributed? - Sufficient condition to state: (X, Y) is jointly (bivariate) normal—meaning every linear combination aX + bY is normal (which automatically holds when X and Y are independent normals). Then X + Y ~ N(μ_X + μ_Y, σ_X² + σ_Y² + 2ρσ_Xσ_Y). (Technically, joint normality is sufficient for X + Y to be normal, and necessary and sufficient for every linear combination aX + bY to be normal.) - Why marginal normality alone is NOT enough: even if X ~ N(0, 1), Y ~ N(0, 1), and ρ = 0, X + Y can fail to be normal! Let X ~ N(0, 1), flip a fair independent coin S taking -1 or +1 with probability 1/2 each, and define Y = S * X. By symmetry Y ~ N(0, 1) and Cov(X, Y) = E[S] * E[X²] = 0 * 1 = 0, yet whenever S = -1, X + Y = 0—putting a 50% probability spike right on 0, which no positive-variance normal curve can ever have:

    import numpy as np
    
    rng = np.random.default_rng(0)
    x = rng.standard_normal(200_000)
    s = rng.choice([-1.0, 1.0], size=x.size)
    y = s * x
    
    sample_corr = float(np.corrcoef(x, y)[0, 1])
    zero_fraction = float(np.mean((x + y) == 0.0))
    # sample_corr is ~0.00, yet zero_fraction is ~0.50 (non-normal!)
    
  7. Part 3: The Monty Hall switching probability

    You should switch: staying wins with probability 1/3, and switching wins with probability 2/3.

    The cleanest way to see why is to trace all 3 equally likely locations of the car (1/3 each) assuming you initially pick Door 1, remembering the host knows where the car is and must open one of the other doors hiding a goat:

    Car location (prob)   Your pick   Host MUST open        Stay result   Switch result
    -----------------------------------------------------------------------------------
    Door 1 (1/3)          Door 1      Door 2 or Door 3      WIN  (car)    LOSE (goat)
    Door 2 (1/3)          Door 1      Door 3 (only goat!)   LOSE (goat)   WIN  (car)
    Door 3 (1/3)          Door 1      Door 2 (only goat!)   LOSE (goat)   WIN  (car)
    -----------------------------------------------------------------------------------
    Total win probability                                   1/3           2/3
    

    Switching loses only when your initial guess hit the car (1/3), and wins every time your initial guess hit a goat (2/3), because the host eliminates the other goat for you!

    Formal confirmation with Bayes' theorem (P(A | B) = P(B | A) * P(A) / P(B)), supposing you pick Door 1 and observe the host open Door 3: - P(opens 3 | car at 1) = 1/2 (host picks evenly between goat Doors 2 and 3). - P(opens 3 | car at 2) = 1 (host cannot open your Door 1 or car Door 2, so Door 3 is forced). - P(opens 3 | car at 3) = 0 (host never reveals the car). - Total P(opens 3) = (1/3)*(1/2) + (1/3)*(1) + (1/3)*(0) = 1/6 + 1/3 = 1/2. - Therefore P(car at 1 | opens 3) = (1/6) / (1/2) = 1/3 (stay), and P(car at 2 | opens 3) = (1/3) / (1/2) = 2/3 (switch). (Note that this relies on the host always intentionally revealing a goat; if an ignorant host opened Door 3 at random and got lucky revealing a goat, both remaining doors would sit at 1/2.)

  8. Part 4: Eight balls, one heavier, in at most two weighings

    Each balance-scale weighing produces 3 possible outcomes: left pan sinks, right pan sinks, or both pans balance. Across 2 weighings there are at most 3 * 3 = 9 outcome paths—just enough to distinguish 8 balls, provided we do not waste the "balanced" outcome on Weighing 1! (Splitting 4 vs 4 guarantees one pan sinks, leaving 4 suspects for Weighing 2, which exceeds 3^1 = 3.)

    Instead, split the 8 balls into {1, 2, 3} vs {4, 5, 6}, keeping {7, 8} off the scale:

    Weighing 1: {1, 2, 3} vs {4, 5, 6}
      |
      +-- Left heavier  (suspects: 1, 2, 3) -> Weighing 2: {1} vs {2}
      |     |-- Left heavier  -> Ball 1
      |     |-- Right heavier -> Ball 2
      |     +-- Balanced      -> Ball 3
      |
      +-- Right heavier (suspects: 4, 5, 6) -> Weighing 2: {4} vs {5}
      |     |-- Left heavier  -> Ball 4
      |     |-- Right heavier -> Ball 5
      |     +-- Balanced      -> Ball 6
      |
      +-- Balanced      (suspects: 7, 8)    -> Weighing 2: {7} vs {8}
            |-- Left heavier  -> Ball 7
            +-- Right heavier -> Ball 8
    

    Every branch narrows the suspects to <= 3 balls after Weighing 1 and pinpoints the exact heavy ball on Weighing 2:

    def find_heavy_ball(weigh):
        """Identify the heavier ball among 1..8 in at most 2 balance weighings.
    
        weigh(left, right) returns -1 if left sinks, +1 if right sinks, 0 if balanced.
        """
        first = weigh([1, 2, 3], [4, 5, 6])
        if first == 0:
            # Neither pan sank, so the heavy ball is 7 or 8
            return 7 if weigh([7], [8]) < 0 else 8
    
        suspects = [1, 2, 3] if first < 0 else [4, 5, 6]
        second = weigh([suspects[0]], [suspects[1]])
        if second == 0:
            return suspects[2]
        return suspects[0] if second < 0 else suspects[1]
    

Intuition & how it works

All four questions test the same core quantitative habit: looking past marginal averages to inspect hidden structure—whether in joint market crashes, random sums, conditional evidence, or information-theoretic branching. Think of modeling WTI and Brent crude like forecasting flood risk for two neighboring river valleys: modeling each river's water level separately tells you how high each rises on its own, while a copula (a mathematical linker between 0–1 percentile ranks) describes whether monster storms hit both valleys on the exact same night. Similarly, in probability and weighing puzzles, tracking how correlations, host constraints, or scale outcomes narrow the sample space avoids intuitive traps.

Naive shortcuts fail across every part of this screen: - In crude stress testing, log returns crash on negative prices (WTI hit -$37.63/bbl in April 2020), a Gaussian copula (normal bell-curve linker) assumes extreme crashes become independent in the far tail (λ_L = 0), and scaling 1-day risk by sqrt(10) ignores volatility spikes compounding over 10 days. - In normal sums, assuming "two uncorrelated bell curves always add up to a bell curve" fails when dependence is non-linear; in Monty Hall, calling the remaining two doors "50/50" ignores that the host intentionally steered around the car; and in the 8-ball puzzle, weighing 4 vs 4 throws away the "balanced" outcome and leaves 4 suspects for 1 remaining weighing.

Walk through one mini numeric trace of each core mechanism: 1. Crude tail dependence (ρ = 0.8): Filter daily dollar moves with GARCH(1,1) (a time-varying volatility filter) to get unit-variance shocks, then link them with a Student-t copula (ν = 4). Given WTI suffers a 0.1% crash, Brent crashes into its worst 0.1% with 50% probability under the t-copula versus only 26% under a Gaussian copula—and on a long 1M WTI / short 0.9M Brent spread book, a hypothetical -15% WTI / -5% Brent storage glut loses -$7.17m versus -$0.85m in a parallel -25% drop. 2. Normal sum (σ_X = 2, σ_Y = 3, ρ = 0.5): Var(X + Y) = 2² + 3² + 2(0.5)(2)(3) = 4 + 9 + 6 = 19, and X + Y is guaranteed normal when (X, Y) is jointly normal. 3. Monty Hall & 8 balls: Picking a goat (2/3 chance) forces the host to open the other goat so switching wins 2/3; weighing {1,2,3} vs {4,5,6} leaves {3, 3, 2} suspects across its three outcomes, each solved in one final 1 vs 1 weighing.

Key points

  • Prep futures data carefully: use roll-adjusted WTI and Brent series per tenor across historical crisis regimes (2008, 2014, 2020, 2022), model dollar changes ($/bbl) so negative prices never break ln(P_t / P_{t-1}), and match horizons to use cases (1-day trading vs 10-day regulatory stress).
  • Split marginals from joint dependence (Sklar's theorem): filter volatility clustering with GARCH(1,1), fit Generalized Pareto Distribution (GPD) tails to standardized shocks z_t = r_t / σ_t via Extreme Value Theory, and join empirical rank percentiles u = rank(z)/(n+1) with a copula.
  • Why Student-t beats Gaussian copulas for crashes: a Gaussian copula has zero lower tail dependence (λ_L = 0), whereas a Student-t copula divides correlated normals by one shared sqrt(χ²_ν / ν) shock variable (λ_L = 0.49 at ρ = 0.8, ν = 4). Calibrate ρ = sin(π * τ / 2) from Kendall's tau rank correlation and ν by maximum likelihood.
  • Simulate 10-day paths instead of sqrt(10) scaling: stepping GARCH + t-copula draws forward day by day captures volatility mean reversion and crash-induced volatility feedback that sqrt(10) * VaR_1 misses.
  • Combine complementary scenario families and backtests: pair historical, hypothetical, Monte Carlo (99% VaR / 97.5% ES), conditional (WTI | Brent crash), and reverse stress tests (which expose WTI–Brent spread decoupling), validated with Kupiec (breach count) and Christoffersen (no breach clustering) tests.
  • Variance and normality of X + Y: Var(X + Y) = σ_X² + σ_Y² + 2ρσ_Xσ_Y (σ_X² + σ_Y² when independent). Joint normality guarantees X + Y is normal; marginal normality plus ρ = 0 does not (Y = S * X puts 50% mass at 0).
  • Monty Hall (2/3 switch) and 8 balls (3-3-2 split): switching wins whenever the initial pick was a goat (2/3); two ternary balance weighings distinguish up to 3² = 9 balls by splitting into three groups of <= 3 (3 vs 3, 2 aside).

Common mistakes

  • Computing log returns across April 2020 WTI, where P_t <= 0 produces NaN or complex numbers, or computing returns on unadjusted front-month series that jump artificially on contract expiry dates.
  • Fitting a copula directly to raw returns instead of GARCH-standardized residuals z_t, confusing shared time-varying volatility with genuine cross-asset dependence.
  • Simulating a t-copula with two independent χ²_ν draws instead of one shared χ²_ν draw per scenario—independent divisors destroy the shared shock mechanism and fail to produce a t-copula.
  • Relying solely on a high-ρ t-copula for a WTI–Brent spread book, missing inland pipeline or storage blowouts where WTI collapses while Brent holds steady.
  • Scaling 1-day VaR by sqrt(10) blindly, without stating that it assumes independent, identically distributed moves and constant volatility.
  • Claiming "any two uncorrelated normal variables have a normal sum", forgetting that zero linear correlation still permits non-normal joint structures like Y = S * X.
  • Treating Monty Hall as 50/50, ignoring that the host knows where the car sits and cannot open either your door or the car's door.
  • Weighing 4 vs 4 first in the 8-ball puzzle, guaranteeing the pans never balance and leaving 4 candidates for a single remaining weighing (4 > 3).

Follow-up questions

  • How do you compute 97.5% Expected Shortfall from your 10-day Monte Carlo paths, and why do regulators prefer it to 99% VaR? Sort the N simulated 10-day P&L values from worst loss to best gain and average the worst 2.5% of paths (for example, the worst 2,500 scenarios out of N = 100,000, repeating across random seeds to check Monte Carlo standard error). Regulators shifted from 99% VaR to 97.5% Expected Shortfall (under Basel's Fundamental Review of the Trading Book) because VaR only asks "where does the worst 1% begin?" and ignores how catastrophic losses get beyond that cutoff, whereas ES averages the entire tail and always rewards diversification (subadditivity).
  • How would you extend this stress framework to 30 energy risk factors across WTI, Brent, heating oil, and gasoil tenors? Filtering each of the 30 series marginally with GARCH + EVT still works one series at a time, and the 30 x 30 correlation matrix can be estimated pairwise from Kendall's tau (followed by a nearest positive-definite correlation projection if manual stress tweaks break positive definiteness). However, a standard t-copula forces one single tail parameter ν across all 435 pairs, so desks either compress each curve's tenors into 3 principal components (level, slope, curvature via PCA) or use a grouped / vine t-copula that allows tighter tail dependence within crude tenors than between crude and refined products.
  • What is the maximum number of spheres you can resolve in k weighings when one is known to be heavier, and how does that bound change if the odd sphere could be either heavier or lighter? When you know the odd sphere is heavier, each weighing has 3 outcomes (left sinks, right sinks, balanced), so k weighings distinguish up to 3^k spheres (9 in 2 weighings via 3-3-3, 27 in 3 weighings via 9-9-9) by always dividing the remaining suspects into three groups of <= 3^(k-1). If you do not know whether the odd sphere is heavier or lighter, N spheres create 2N signed hypotheses (sphere i heavy or sphere i light) and the first weighing cannot identify a sign on all 3 branches, reducing the maximum solvable count in k weighings to (3^k - 3) / 2 (for example, 12 spheres in 3 weighings).

Follow-up questions

Similar questions

More Morgan Stanley interview questions

All 11 Morgan Stanley questions →