QQuant, Built

Act III · Derivatives (Q)

Part 20 of 43

Credit

Undergraduatestarts at this level69 min of film 20 chaptersprerequisites: Part 3, Part 10

What is a promise to pay worth, and why did so many promises fail together in 2008?

A credit spread is compensation for default and for the fear of it. Merton's model reads debt as the firm's assets minus a call option, which turns equity prices into default probabilities. Reduced-form models treat default as the first tick of a random clock and price the credit default swap. Then the statistics of who defaults (Altman's Z, logistic regression, trees) and the question that sank a system: how correlated are defaults? One number, the correlation in a Gaussian copula, decides whether the senior tranche of a pool is safe. In 2007-08 it was not. The London Whale, corporate bonds in March 2020 and the marks of private credit are the later files.

What you need. Parts 3 and 10. The statistical chapters need Part 6.

What you will be able to do

Undergraduate

  • Explain what a credit spread compensates for, and compute an implied default probability from a spread and a recovery rate.
  • Describe a credit default swap and a tranche in words and in cash flows.

Master's

  • Compute distance to default in Merton's model; bootstrap hazard rates from CDS spreads; fit and evaluate a default classifier.
  • Derive Vasicek's large-pool loss distribution and price a tranche in the Gaussian copula.

PhD

  • Derive the granularity adjustment for name concentration and compare it with Monte Carlo.

Industry

  • Explain how the Basel capital formula uses the one-factor model, and what correlation assumptions did to senior tranches in 2007-08.

Contents

Each chapter has a home level. Choose a track to see what to read and watch: Undergraduate 21 min · Master's 63 min · PhD 69 min · Industry 33 min.

  1. 0What a promise is worthUndergraduate2 min
  2. 1What a credit spread measuresUndergraduate3 min
  3. 2Merton: debt as an optionUndergraduate4 min
  4. 3Distance to default, from pricesMaster's4 min
  5. 4First passage and the choice to defaultMaster's3 min
  6. 5Default as a random clockMaster's4 min
  7. 6The credit default swapUndergraduate5 min
  8. 7Bankruptcy filings and forecast labelsMaster's3 min
  9. 8Altman's ZUndergraduate3 min
  10. 9Logit and trees on synthetic dataMaster's6 min
  11. 10The large pool and bank capitalMaster's3 min
  12. 11Copulas: defaults togetherMaster's4 min
  13. 12CDOs and tranchesMaster's3 min
  14. 132007-08: the senior tranchesIndustry3 min
  15. 142012: the London WhaleIndustry2 min
  16. 15Corporate bonds and March 2020Industry3 min
  17. 16Private credit and its marksIndustry3 min
  18. 17Rule 20: the credit deskIndustry2 min
  19. For the researcher: the granularity adjustmentPhD7 min
  20. Recap, desk questions, problemsAll tracks3 min

Also on this page: Lecture · Key results · Try it · Lab · Problems · Reading · 中文 · Build the film.

Lecture

The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.

What a promise is worthUndergraduate2 min

Every bond so far has paid in full. Now the borrower may not, and the price of a promise depends on who made it.

On September fifteenth, two thousand eight, Lehman Brothers filed for bankruptcy. The October tenth CDS auction set a final price of eight point six two five percent of par. Covered auction-settled protection had a gross loss payment of ninety-one point three seven five percent of notional, before premiums, netting, hedges and counterparty performance. Across the market, the saved Baa-minus-ten-year-Treasury series reached percent that December. This broad yield gap includes expected credit losses, risk premia and other frictions. It frames our question: how should we value a promise whose maker might fail to pay?

How we got here. In 1968 Edward Altman predicted bankruptcy from five accounting ratios. In 1974 Robert Merton priced a company's debt as an option on its assets; in 1976 Black and Cox let default come early, and in 1994 Hayne Leland let the firm choose when. The same year a team at J.P. Morgan wrote a widely cited early modern credit default swap; credit-risk transfer existed earlier. Jarrow and Turnbull, then Duffie and Singleton, modelled default as a random clock; in 2000 David Li tied many clocks together with a copula; and in 2001, the year Enron failed, Tyler Shumway turned bankruptcy prediction into a hazard model. In 2003 Michael Gordy gave the Basel capital formula its foundation. Then subprime, Lehman, and in 2009 the swap market's standardization, the Big Bang. Since then, the London Whale in 2012, the dash for cash of March 2020, and the rise of private credit.

The plan: corporate credit spreads; structural models and their assumptions; retrospective asset-value fits from prices and filings; default intensity, recovery and the credit default swap; bankruptcy-label design and a fixed synthetic comparison of Altman, logit and boosted trees; then large portfolios, capital and tranches. We also examine three episodes from the public record and the interpretation of private-credit marks. No sealed issuer experiment is opened in this review.

In the House, the credit desk opens: default probabilities from prices and from accounts, a swap pricer, and the portfolio models that set a bank's capital.

1What a credit spread measuresUndergraduate3 min

The credit spread: what the extra yield on a risky bond pays for. Moody's seasoned Aaa and Baa yields are broad corporate yield measures. This chart subtracts a ten-year Treasury yield; it is not a duration-matched option-adjusted credit spread. The grey bands mark recessions. Spreads often widen in stressed periods, but the chart alone does not establish a recession forecast. The sample average Baa gap is percent. The saved daily series reaches percent in December twenty oh eight and on March twenty-third, twenty twenty. The latter coincides with the Federal Reserve's corporate-credit announcement; coincidence in this chart does not identify the causal announcement effect.

The Baa-minus-Aaa yield gap removes a common Treasury benchmark, but it is not pure default risk. The bond groups can still differ in duration, liquidity, embedded options, composition and risk premia. In the saved sample the gap averages percent and reaches in . It is a descriptive credit-quality comparison. Identifying expected losses alone requires a model, matched instruments and assumptions about recovery and the pricing measure.

A broad corporate yield gap can reflect physical expected losses, compensation for priced credit risk and liquidity or instrument differences. The first line is a heuristic decomposition, not a separately identified accounting identity. Keep the probability measure explicit. Physical intensity times loss given default approximates physical expected annual loss. By contrast, the credit triangle relates a CDS par spread to risk-neutral intensity under flat continuous-premium assumptions. A one hundred basis point CDS spread with forty percent recovery implies pricing intensity of about one point six six seven percent per year, not a physical default forecast. Finite-horizon probability is one minus exponential survival; exact traded prices require contract and curve conventions.

The credit-spread puzzle depends on model and measurement choices. Huang and Huang calibrate structural models to historical default and recovery evidence; their estimated credit-risk component explains a limited portion of investment-grade spreads. That component includes pricing for credit risk, rather than only physical expected loss. Longstaff, Mithal and Neis use CDS to estimate default and nondefault components and obtain a larger default-related share in their sample. CDS still have contractual, liquidity and counterparty effects, so the study is not a frictionless decomposition valid for every bond. Collin-Dufresne, Goldstein and Martin find a substantial common component in residual spread changes beyond their explanatory variables. These studies ask related questions using different samples, contracts and identification assumptions; they do not uniquely identify the components of our broad yield-gap chart.

A Baa bond yields two percent over Treasuries. Suppose issuers like it have a physical annual event rate of point three percent and lose sixty percent on default. What is the rest paying for?

Using the supplied physical annual event rate of point three percent and loss given default of sixty percent, first-order expected annual loss is eighteen basis points. Subtracting this from a two hundred basis point yield gap leaves one hundred eighty-two basis points arithmetically. That is not a uniquely identified risk premium: liquidity, duration, instrument differences and the approximation can also contribute. The credit triangle itself is a pricing relation under stated recovery and payment conventions.

2Merton: debt as an optionUndergraduate4 min

Robert Merton's insight: a company's shares are an option on its assets. A company owes a single debt, D, due at T. When it comes due, if the assets are worth more than D, the shareholders pay it and keep the rest. If not, they walk away, and the bondholders take the assets. So the shares pay like a call option on the assets, struck at the debt. And the bonds pay like a safe bond minus a put. Default is simply the put being exercised. Merton saw in 1974 that Black and Scholes had already priced both.

Assume continuously diffusing, traded or replicable assets, constant volatility and interest rates, and a single zero-coupon debt with no earlier default or payout. The asset process has physical drift mu. Pricing uses a risk-neutral measure with drift r, producing the Black-Scholes equity value. Debt is assets minus equity. For this model, its spread is determined by leverage, asset volatility and maturity, with the leverage convention and rate held explicit. To calculate an actual terminal-default probability instead of a price, use physical drift mu and the assumed lognormal asset distribution. Distance to default is a standardized distance, not a probability. Its negative normal tail is a model probability only under those assumptions; estimating mu and calibrating real event frequencies remain separate tasks.

Merton's five-year spread over every combination of leverage and asset volatility. A firm with little debt pays almost nothing, whatever its volatility. As leverage rises the spread climbs, and volatility makes it climb faster: shareholders with nothing left to lose gain from risk, and bondholders pay for it. This is the asset-substitution problem Jensen and Meckling wrote about in 1976, drawn as a surface.

These are different hypothetical zero-coupon debts priced at different maturities using the displayed Merton inputs. For the solvent parameter case, very short spreads approach zero; the plotted curve rises over this range. Another parameter case has a hump. This is a term structure across alternative contracts, not evidence that a single Merton firm survives earlier default dates: its default event is only at the chosen maturity. For assets already below the promised face amount, the short spread can be very large and decline with maturity as recovery becomes possible. At a fixed positive distance from the boundary, a continuous diffusion has a positive but extremely small short-horizon tail probability; it is incorrect to say it cannot cross quickly. Jumps, uncertainty, early-default rules and noncredit frictions offer possible explanations for larger observed short spreads.

This is an illustrative parameter comparison, not a calibrated medium-grade issuer study. Assume the displayed leverage and asset volatilities for hypothetical five-year zero-coupon debts. The first model spread is basis points. The broad historical Baa-minus-Treasury average shown beside it is basis points, from different instruments, durations and dates. The difference cannot be assigned uniquely to liquidity or a missing premium. Merton's pricing measure already embeds a price of asset risk through the measure change; it does not price only physical expected loss. The credit-spread puzzle literature uses more careful matching and calibration. This chart motivates that question rather than replicating its empirical estimates.

Equity value and equity volatility provide two model equations for latent assets and asset volatility. The diffusion relation uses call delta and leverage, under the stated Merton assumptions. The House solves in logarithms and recovers this deliberately constructed example within numerical tolerance. One successful inversion is not a uniqueness or calibration guarantee for noisy market inputs; inspect convergence, residuals, parameter sensitivity and the model assumptions.

A company's shares rise ten percent on news that its assets became riskier, at the same value. What happened to its bonds?

Hold total asset value and the other Merton inputs fixed. Debt plus equity equals asset value. If equity gains ten percent of its previous value because asset volatility rises, debt loses that same dollar amount. Its percentage loss is ten percent times the equity-to-debt value ratio, not automatically ten percent. Real financing changes can violate the fixed-input comparison.

3Distance to default, from pricesMaster's4 min

Distance to default from prices: a retrospective monthly calibration example, with explicit limits on timing and probability interpretation.

The original example uses Boeing, American Airlines and Norwegian Cruise Line. It combines share prices with reported shares and liabilities. Share counts and balance sheets come from company filings, but this reconstruction does not certify a complete historical-vintage or filing-order audit. Current liabilities plus half of long-term debt is a heuristic default point, not a universal legal trigger. Each month-end calibration iterates asset values and volatility over a trailing year, then assigns that fit to earlier observations in the same month. That introduces future information relative to those earlier days, so the plotted daily curves are retrospective fits, not live forecasts. Distance is a standardized asset cushion. The original drift estimate is floored at the interest rate, an additional ad hoc assumption. A normal-tail transformation is neither Moody's calibrated expected default frequency nor a verified empirical probability.

These are the original retrospective monthly fits, shown at daily observation dates from twenty nineteen through twenty twenty-five. The fitted cushions decline sharply around the pandemic. This combines price changes, reported balance-sheet inputs and the month-end calibration procedure. The chart alone cannot identify their separate causal effects. Norwegian's saved minimum distance is . A subsequent recovery in the fitted distance is a change in model output, not evidence that the earlier values were calibrated probabilities. Distance itself is not a probability or a prediction of certain failure. A prospective implementation would freeze a fit using only data already public, apply it going forward and verify both input availability and forecast calibration on independent outcomes.

For Norwegian Cruise Line, the chart compares market equity and the heuristic default point, using the original reconstruction. Market value and reported liabilities move on different clocks. Their changes, and the fitted volatility, affect the distance. We do not infer a causal financing effect from this plot. On the saved minimum-distance date the normal-tail transformation is percent. It assumes a lognormal terminal asset distribution and the original floored drift estimate; it is not an empirically validated bankruptcy probability. Moody's expected default frequency additionally uses proprietary historical calibration, which is not reproduced here. A live study would also audit filing availability and freeze its monthly parameters before the days being forecast.

The same fitted asset values and volatility produce model prices for hypothetical one-year zero-coupon debt struck at each firm's heuristic default point. These are retrospective model spreads, not observed bond quotes. The saved peak spreads are basis points for Boeing, for American and for Norwegian. In calmer periods this diffusion-only terminal-default model can produce very small short-horizon spreads. A continuously diffusing firm a fixed positive distance from the boundary has vanishing short-term default probability. That is a limitation of this specification, not every structural model. Jumps, early-default mechanisms, stochastic rates, liquidity and pricing risk premia change the question. The chart does not validate the model against matched traded bonds.

Two refinements matter in practice. Moody's KMV maps distance to an expected default frequency using historical event experience; our normal-tail proxy is not that proprietary empirical mapping. Bharath and Shumway's two thousand eight study found competitive prediction from a naive distance proxy without the full nonlinear solve. That is evidence about their sample and specification, not universal equivalence. Leverage, equity risk, event definitions and timing all matter; solver precision and out-of-sample validation remain separate requirements.

Two firms have the same leverage, and one's shares are twice as volatile. Which is closer to default? And what changes if the volatile one is a bank?

Equal leverage and different equity volatility are insufficient to calculate distance to default. Under a fixed solvent asset cushion, physical drift and horizon, greater asset volatility generally reduces this model distance. Equity volatility must first be mapped consistently into asset risk. A bank adds deposit, funding, guarantee and regulatory mechanisms that a generic corporate boundary can miss.

4First passage and the choice to defaultMaster's3 min

Merton's firm can only default on one day, at maturity. Real bonds carry covenants: if the assets fall far enough, creditors can act at once. Fischer Black and John Cox, in 1976, made default the first time the assets touch a barrier. Fourteen paths of the same firm. The red ones touch the barrier and stop there; under Merton's rule, several of them would have recovered by maturity and never defaulted.

For geometric Brownian assets and a constant barrier, the reflection principle gives a continuous-monitoring first-passage probability. It includes paths that touch the barrier and later recover. With the stated parameters, the ten-year terminal probability is percent and the passage probability . The sampled path drawing checks only discrete dates and can miss crossings; it is not the exact probability calculation. A fixed positive diffusion distance still makes very short-horizon default unlikely. CreditGrades adds uncertainty about the default boundary and other conventions, which can generate larger short spreads. That is a modeling response, not proof that every observed spread is explained.

Who sets the barrier? In 1994 Hayne Leland let the shareholders choose. They keep paying the coupon as long as the firm is worth more to them alive; the moment it is not, they stop. Solving that choice gives the default barrier in closed form. The debt is then a riskless perpetuity, adjusted for the chance of reaching the barrier and what is recovered there, and the tax benefit of debt against the cost of default gives an optimal amount of borrowing.

Run the perpetual Leland illustration with initial assets of one hundred and the displayed fixed inputs. Increasing the coupon initially increases the tax benefit and debt value. It also raises the endogenous default barrier and expected bankruptcy costs. Total firm value peaks at coupon , with leverage percent and debt yield spread basis points in this numerical grid. The debt-value maximum is a different point, near coupon . Past the firm-value optimum, debt value can still rise while equity and total value decline. These are model and grid results, not an empirical optimal-leverage recommendation. Tax usability, debt maturity, agency costs and other financing constraints alter the comparison.

In Leland's model, what happens to the default barrier when the assets become more volatile, and why does that suit the shareholders?

With coupon, tax rate and interest rate fixed in the displayed perpetual Leland model, a higher asset volatility increases the denominator of the optimal barrier, so the barrier falls. The shareholders value the option to wait and continue at lower asset values. This does not say that the firm's chosen coupon or optimal leverage stays fixed when volatility changes.

5Default as a random clockMaster's4 min

Reduced-form models: default as a surprise, arriving at a random rate. Merton's diffusion-only terminal-default specification can make short-horizon spreads too small for firms away from default. Reduced-form models instead describe default through an intensity. With a deterministic intensity, survival is the exponential of minus its integral. For a Cox process with stochastic intensity, that exponential is conditional on the intensity path; marginal survival takes its expectation. Under a pricing measure, and the usual Cox construction, a zero-recovery claim has value equal to the expectation of discounting at r plus lambda. Dependence between rates and intensity remains inside that expectation. With fractional recovery of pre-default market value, the effective short discount rate is r plus one minus recovery times intensity. This gives the exact local credit triangle. A finite-maturity yield spread need not equal that product when intensity is stochastic. These pricing statements use risk-neutral intensity, not an observed physical default frequency.

Two hundred independent exponential default clocks, each with constant three percent intensity, illustrate the model. Conditional on survival, the exponential law is memoryless. It does not make the exact event date predictable. The empirical survival staircase fluctuates around the theoretical curve. Two hundred names still have binomial sampling uncertainty; close visual agreement is not exact equality. A common stochastic intensity would introduce dependence across names, so a large book would retain systematic uncertainty even after idiosyncratic risk diversifies.

These are illustrative zero-coupon bond prices with a constant three percent pricing intensity. With zero recovery and deterministic rates, the value is the safe discount factor times survival. Fractional recovery of market value gives a different price from the convention that pays a recovered fraction of face at maturity. Recovery paid immediately at default would require another cash-flow formula. Actual recovery depends on seniority, restructuring terms, collateral and deliverability; it is not universally identical across an issuer's bonds. Intensities inferred from prices are risk-neutral model inputs. Differences from historical frequencies can reflect risk premia, liquidity, conventions and model error, rather than a uniquely identified premium.

One step further: let the hazard rate itself move at random. David Lando, in 1998, made it a Cox process: default risk that rises and falls, so spreads move every day, long before any default. Give the hazard Part nineteen's CIR dynamics, and survival is a CIR bond price, with the same Riccati equations and the hazard in place of the short rate. Credit is a second term structure, and the House prices it with the code it already has.

These are exact recovery-of-market-value yield spreads for a CIR intensity and deterministic interest rates, from three starting levels. A separately named pricing example evaluates the exponential functional with intensity multiplied by one minus recovery. Multiplying the zero-recovery yield by that fraction would only be an approximation when intensity is random. The low-intensity case rises toward the long-run level. The high-intensity case slopes down under these parameters. Inversion is a model possibility, not proof that a particular distressed issuer follows CIR. Survival conditioning changes the distribution of future intensity, and an actual CDS curve also depends on premium dates, recovery and quote conventions.

A firm's hazard rate doubles overnight, and nothing defaults. Who gained, who lost, and roughly how much on a five-year bond?

For a zero-coupon bond with constant recovery of market value and deterministic flat rates, price is the exponential of minus r plus one minus recovery times intensity, multiplied by maturity. Doubling intensity multiplies price by the exponential of minus one minus recovery times the old intensity times maturity. A long bond loses value before any default; protection exposure can gain. Use the actual recovery convention and curve for an actual trade.

6The credit default swapUndergraduate5 min

The credit default swap: insurance against a default, and the market built on it.

A credit default swap transfers specified credit-event risk under a contract. It resembles protection insurance economically, though its legal form and eligible events are defined by documentation. The buyer pays a contractual coupon, generally quarterly, plus any upfront payment. A qualifying credit event triggers the contractual settlement procedure, subject to deliverability and recovery-price rules. Counterparty failure can still impair payment. A widely cited early modern deal was J P Morgan's nineteen ninety-four transfer of an Exxon credit-line exposure. Credit-risk transfer existed earlier too. The protection buyer need not own the reference bonds, so a CDS can hedge an exposure or create a credit position.

For this simplified single-name pricer, discount factors are deterministic and survival probabilities are under the pricing measure, with fixed recovery and no counterparty default. The premium leg includes scheduled payments while alive and an approximation to accrual on default. The protection leg discounts the assumed loss payment at default and weights it by the default distribution. Their ratio gives the par spread. With continuous premiums, constant intensity and constant recovery it is exactly one minus recovery times intensity. Quarterly payments and accrued premium make the credit triangle an approximation to the implemented contract. Settlement delay and actual day-count conventions would also matter in production.

The displayed par quotes are declared illustrations, not observed market quotes. Bootstrap a piecewise-constant pricing intensity while keeping discount and recovery conventions fixed. Solve the first interval from the first quote, then each later interval conditional on earlier ones, checking repricing and admissible nonnegative survival. A rising fitted intensity curve describes the risk-neutral model needed for these prices. It does not directly reveal the market's physical expectation of future defaults. Other instruments can be priced consistently within this convention, while recovery uncertainty, liquidity and model risk remain.

Consider ten million dollars of five-year protection initially struck at par, one hundred fifty basis points. Near that initial par point, one basis point is worth about dollars: notional times the risky annuity times one basis point. Away from par the annuity changes too; a full curve bump and repricing defines the actual sensitivity under a stated bump convention. With forty percent recovery, the gross default settlement is million dollars. That equals the clean jump from an initial zero mark only under this simplified setup. After a spread move, the jump is settlement less the pre-default mark, with accrual, recovery uncertainty and counterparty settlement rules included as appropriate. The seller has the opposite contract exposure, not a guaranteed stream of profits.

The April two thousand nine Big Bang standardized important CDS conventions, building on auctions already used before then, including Lehman's. Standard North American corporate contracts commonly use one hundred or five hundred basis point coupons, with an upfront amount reconciling the coupon to the current price under the convention. This is not a universal coupon rule for every CDS market. The illustration assumes the displayed curve and recovery. Auction settlement, determination procedures and standardized documentation improve processing, but eligibility depends on the contract. Clearing applies to eligible contracts and manages counterparty exposure; it does not eliminate credit, liquidity or default-management risk.

This is a schematic of an auction settlement mechanism, whose detailed rules depend on the relevant auction terms. Dealers submit initial markets, from which the initial market midpoint is determined under the rules. Physical-settlement requests contribute to net open interest. Limit orders then help establish the final price, subject to the auction's constraints. The Lehman auction final price was eight point six two five percent of par. Covered auction-settled protection therefore had a gross loss payment of ninety-one point three seven five percent of notional, before considering premiums, netting, hedges or counterparty failure. That is not the net cash exchanged on all outstanding Lehman contracts.

The cash-CDS basis compares a bond's credit spread with protection pricing under specified conventions. In an idealized matched trade, buying a bond and protection can offset a defined default payoff. In practice maturity, coupon, deliverability, recovery, funding, repo, liquidity and counterparty risks leave residual exposures. It is not automatically a riskless Treasury. In late two thousand eight funding and balance-sheet constraints contributed to large negative bases. The House's bootstrap solves one hazard interval at a time. A real basis trade also needs cash-flow matching, financing and stressed exit assumptions, rather than a spread comparison alone.

A five-year CDS trades at one hundred basis points, recovery forty percent. Roughly what annual default probability does that imply?

The credit triangle gives risk-neutral intensity of about one point six six seven percent per year. The corresponding one-year probability is about one point six five percent, and five-year probability about eight percent under a flat intensity. It is not a physical forecast, and scheduled premium, recovery and settlement conventions affect the exact bootstrap.

7Bankruptcy filings and forecast labelsMaster's3 min

Before fitting a default model, define what a label means. Item one point zero three of Form eight K reports bankruptcy or receivership. Its filing date can differ from the legal event date. A bankruptcy filing is also narrower than many credit definitions of default, which can include missed payments or distressed exchanges. Searching filings requires coverage checks and deduplication. One company can submit several reports about the same episode, while separate legal entities can share an economic parent. Some companies never file this form. A count has no at-risk denominator and cannot by itself estimate an annual default probability. The original search failed, and one retry after a successful endpoint diagnostic also failed. We retain both failures and show no reconstructed annual counts or spread correlations. Public access alone would not validate the search or turn the resulting labels into a complete population.

A usable prediction problem has a population, an event, a horizon and an information set. Specify which obligors are alive and at risk at the forecast date, and how mergers, delistings, repeat defaults and incomplete follow-up are handled. Then define the event and its window. A twelve-month bankruptcy filing label is a different target from a bond payment default within a year. Delayed reports near the boundary can change which window contains an event. Every feature needs a publication date and a historical version. Later restatements and accounts published after the forecast date cannot enter that forecast. Assessment also needs chronological separation and a method for uncertainty that respects repeated issuers and shared macroeconomic shocks. A large row count is not the same as a large number of independent defaults.

An accounting database needs an availability audit. Current XBRL frames make it convenient to collect one accounting concept across companies, but convenience does not establish what was known historically. Restatements, fiscal-year differences and tagging choices matter. Adding a fixed three-month lag does not prove the annual report was public on the assumed day. The actual release and filing timestamps must be checked, with the version that was available then. Public float measures shares held by non-affiliates at a specified date; it is not automatically the total market value of equity at the fiscal year end. This review does not access the legacy joined firm-year experiment or report its model scores. We will use independent samples from a declared synthetic population to demonstrate fitting, model selection, ranking and calibration. Those results teach a procedure and provide no evidence about real issuer forecasting.

Pause and predict. Why can a search of bankruptcy filings undercount defaults and overcount bankruptcies? It can miss non-reporting companies, poorly matched reports and credit events that never become bankruptcy cases. It can also count repeated reports, amendments or several entities from one economic group, and a keyword search can return false positives. The repair is an explicit event rule, a deduplication rule, a validated sample and a defined population at risk. Do not divide a filing count by a convenient but unrelated issuer count and call it a probability.

8Altman's ZUndergraduate3 min

Edward Altman's nineteen sixty-eight study used sixty-six manufacturing firms, half bankrupt, to construct a linear discriminant score. The five ratios describe working capital, retained earnings, operating profit, the market equity cushion and sales. This familiar coefficient convention uses ratios in ordinary units. The original sample was deliberately balanced and selected. Its bankruptcy share is not a population annual default rate. The score ranks financial profiles; it is not itself a number between zero and one. The familiar distress, grey and safe zones are historical conventions. They do not certify safety for today's issuers, for banks or for another country. Changing accounting conventions or the equity-value definition changes the inputs, and a useful application needs target-population validation. We now apply the fixed formula to invented financial ratios, so every subsequent event rate on this chapter's screen is synthetic.

These are actual counts from the fixed synthetic evaluation sample, grouped by the historical zones. Every rate has its event count and denominator. The synthetic population was defined before fitting, with event probabilities depending on leverage, profitability, the equity cushion and a nonlinear interaction. We have not estimated that law from real bankruptcies. A lower Z can rank risk under this invented law, but neither that ranking nor the displayed zone rates establish performance on real firms. Sparse events make rates noisy. Even in one stable population, a different independent sample would produce different counts. A practical assessment would report confidence intervals and test transport to the intended issuer population, rather than treating a historical zone name as a guarantee.

Keep the same five ratios and fit a logistic model on the synthetic fit sample only. Fit-sample clipping limits, means and scales are frozen before selection or evaluation. The new model estimates event log-odds with an intercept and a fixed small ridge penalty. Its positive coefficients mean more event risk, while a positive contribution to Z conventionally means greater safety. A sign reversal alone does not make coefficient magnitudes comparable: the objective, units, covariance and regularization differ. The selection-sample AUC for fixed Z is , and for the five-ratio logit . These observed numbers describe this invented population. They do not show that modern accounting weights beat the original formula in a market test. The next chapter adds inputs and a nonlinear learner while keeping the population and sample boundaries explicit.

Pause and predict. Why is a high score on the sample used to fit the weights insufficient? Fitting can exploit noise, and repeated tuning can overfit selection data too. In real accounting panels, later information can also leak through restatements, matching rules or a target window that crosses a split date. Freeze the population, event, horizon, feature availability, preprocessing and model selection before evaluation. Then report ranking and probability calibration separately, with event counts and uncertainty. Treat a learned coefficient as a conditional association in the fitted model, not an intervention on a firm's balance sheet. Our independent synthetic samples make these boundaries easy to see, but do not remove the harder availability and dependence problems of real issuer data.

9Logit and trees on synthetic dataMaster's6 min

The fixed law makes event risk depend on leverage, profit, the equity cushion and a nonlinear interaction. Twelve financial inputs are generated, with total equity value kept consistent with assets, leverage and the cushion. We use eight thousand independent observations for fitting, four thousand for selecting the stopping point, and six thousand for evaluation, from fixed independent seeds. Only the fit sample determines clipping limits, means and scales. The logit uses a fixed small ridge penalty. The House's boosting algorithm fits up to two hundred forty depth-three trees and uses selection loss for early stopping. The evaluation sample is generated after that selection. The data law, seeds and learner settings are fixed before running the example; we report the resulting numbers without choosing a favorable seed. This is a stationary synthetic classification lesson, not a calendar backtest or evidence of bankruptcy forecasting. It registers no market trial and opens no sealed firm-year experiment.

The two learners use the same twelve inputs. A plain logit adds contributions to log-odds. It does not automatically create an interaction, but an analyst can add interaction terms or nonlinear basis functions before fitting. Each small tree partitions the input space and adds a leaf value to the log-odds. Successive trees use gradients and curvature of the loss. Their branches can represent the invented interaction between leverage and weak profitability. More flexible representation also creates more opportunities to fit noise. We use selection loss to choose the stopping point. That makes the selection sample part of model development. Its score is not an independent final assessment. Even the evaluation score remains conditional on this fixed invented law, and one split cannot establish stability under changing base rates, accounting practices or macroeconomic dependence.

Each ROC curve varies a classification threshold. The horizontal coordinate is the fraction of non-events flagged, and the vertical coordinate is the fraction of events caught. Tied scores move together, so the area agrees with the rank-based AUC including half credit for ties. On the synthetic evaluation sample, fixed Z has AUC , logit , and trees . These are the actual outputs of the declared example. An AUC is the probability that an event observation outranks a non-event observation, with the tie convention stated. It does not tell us whether a predicted ten percent risk occurs ten percent of the time. It also does not determine the cost of false alarms, screening capacity or realized investment returns. Those questions require a decision rule, event prevalence, loss assumptions and separate probability checks.

Report all three samples with their event counts, rather than selecting the best-looking score. Fit scores reuse observations that determined the parameters. Selection scores reuse observations that determined the stopping point. Only the independent evaluation sample was generated after model selection. A difference between fit and evaluation performance can reflect adaptation to noise and ordinary sampling variation; it is not a direct measurement of how much each model memorized. We make no claim that a particular model must win. The Brier score is the mean squared probability error. Its benchmark predicts the fit-sample event rate for every evaluation observation, so it uses no evaluation labels. Compare the actual scores displayed here. A rare-event setting can make a constant low probability look numerically strong, but the available improvement depends on event prevalence and the signal. None of these synthetic scores is a claim about real bankruptcies.

Now compare probabilities with event frequencies. We sort the independent synthetic evaluation observations into ten groups of six hundred by the trees' score. Equal-count grouping can split a block of tied predictions, which we disclose rather than hiding empty bins. Each point compares a group's average predicted probability with its observed event rate. The axes include every point without clipping. Exact diagonal agreement is not expected from finite Bernoulli counts, even under a perfectly specified model. Group calibration can conceal subgroup errors and does not prove calibration at each individual feature profile. In real credit populations, changes in prevalence, accounting coverage or conditional risk can degrade both ranking and calibration. Recalibration needs new development data and a fresh independent assessment; adjusting a model to improve the evaluation plot would consume that evaluation sample.

This surface displays predictions from the fixed synthetic tree model. Leverage and the market-equity cushion vary over fit-sample percentiles. Other inputs stay at fit medians, except log market equity, which is recomputed to preserve its identity with assets, leverage and the cushion. The steps come from tree partitions and the displayed interpolation, rather than established economic default thresholds. This is a median slice, not a partial-dependence average over companies. A logistic model without interaction terms would have linear log-odds, though its probability surface is nonlinear. Either model can be displayed at unusual feature combinations. The surface is descriptive and synthetic: changing leverage in this function does not identify the causal effect of a financing decision.

The rotating surface is a median slice of the synthetic trees' predictions. We vary leverage and the equity cushion while holding other inputs at fit-sample medians, and recompute log market equity so the accounting identity remains consistent. This is not partial dependence, which averages a prediction function over a covariate distribution. A slice can pass through unusual financial profiles, and the grid and interpolation are just a display of a fitted function. Its steps reflect the tree representation, not established economic thresholds. It is also not a causal response to changing leverage. Pause and predict: which score should appear in a model brochure? The answer is an honestly described independent evaluation with event counts, uncertainty and population limits, alongside transparent development results. Our example illustrates that procedure under an invented stationary law. It establishes no issuer ranking, market forecast or trading return.

10The large pool and bank capitalMaster's3 min

From one borrower to thousands: the large pool, and the formula behind bank capital.

Assume homogeneous obligors with the same marginal default probability, a single Gaussian factor, independent idiosyncratic normals conditional on that factor, and equal vanishingly small exposures. Conditional on the common factor, the law of large numbers makes the default fraction converge to its conditional probability. That is a limit result, not exact equality for a finite book. The remaining uncertainty is the common factor. Transforming its normal distribution gives Vasicek's closed-form distribution of the default fraction. The displayed loss variable assumes full loss given default; fixed fractional loss would rescale it. Sector concentrations, heterogeneous exposures, changing recoveries and other factors require extensions.

This model holds each name's marginal default probability at two percent. With vanishing common-factor loading and an infinite homogeneous pool, the default fraction approaches that mean. Higher dependence changes the distribution, including its tail, while leaving the mean fixed. The density view stops at twenty percent; the displayed quantiles use the full model. At correlation point one five the model ninety-nine point nine percent default-fraction quantile is percent; at point three it is percent. A quantile under fixed parameters is not a forecast of one particular year in a thousand, or a complete capital requirement.

The large-pool expression ignores finite-name idiosyncratic risk. The displayed fixed-seed simulation compares pools of fifty, two hundred and one thousand loans. Their estimated ninety-nine point nine percent default fractions are , and percent, against the large-pool value . These are discrete loss quantiles from a finite simulation; tail sampling uncertainty matters. A larger number of names does not eliminate common-factor risk. Granularity approximations can estimate finite-name corrections under regularity and small-exposure conditions, but a concentrated book may require a more direct calculation.

This is the stylized Basel corporate internal-ratings formula, not a complete statement of current capital requirements. It uses a ninety-nine point nine percent one-year loss construction, subtracts expected loss and applies a maturity adjustment, with prescribed correlations and other assumptions. Actual requirements also involve exposure classes, floors, supervisory rules and the treatment of provisions. Its risk weights depend on the prescribed relation between PD and asset correlation. At one percent PD, forty-five percent loss given default and the displayed maturity, this implementation gives a risk weight of percent. The associated capital is cents per dollar of exposure. For a billion dollars that is about million dollars. Expected loss is another four point five million, but its regulatory coverage and shortfall treatment cannot be reduced to an automatic identical provision in every bank.

Basel's formula assumes a single common factor. A bank lends to every hotel in one city. What does the formula miss?

A portfolio of hotels in one city shares sector, location and local-demand risks. A generic prescribed corporate factor may miss those concentrations even when the book has many loans. Finite-name exposure sizes matter too. Model relevant factors and stresses, and assess concentration in addition to the stylized internal-ratings formula.

11Copulas: defaults togetherMaster's4 min

Single-name pricing curves specify marginal survival, not joint defaults. Sklar's theorem represents a joint distribution through marginals and a copula; uniqueness holds for continuous marginals, while atoms require care. David Li's two thousand paper applied copulas to default-time modeling. Correlated latent normals, transformed through each name's marginal curve, give a tractable Gaussian dependence model. Its latent correlation is not the correlation of binary default indicators. Broad adoption did not make one constant correlation a complete description of credit dependence, and a magazine headline is not a causal explanation of the financial crisis.

What does a copula correlation mean for defaults? Take two names, each with a two percent chance of default. The chance that both default is the bivariate normal at their two thresholds. An asset correlation of 0.3 gives a default correlation of only , because defaults are rare events. But the joint probability is basis points instead of the it would be if they were independent. Small correlations of rare events hide large changes in the chance of disaster.

These fifteen hundred simulated pairs compare a Gaussian copula with a Student t copula at the same latent correlation, one half. The t illustration has three degrees of freedom and a shared random scale. The Gaussian copula has no asymptotic tail dependence when correlation is below one. The t copula retains tail dependence. In this fixed sample, t pairs and Gaussian pairs fall in the displayed joint corner. Those counts fluctuate with simulation. The later pool example uses different parameters: correlation point two and four degrees of freedom, which must not be confused with this cloud. Neither cloud is fitted to market joint-default data.

Draw correlated latent normals, map them to uniforms and invert the names' survival curves to obtain default times. This fixed-seed example prices first-to-default protection on five homogeneous names, each with a one hundred basis point continuous-premium credit-triangle input. With independence, the displayed basket estimate is basis points. As dependence approaches perfect comovement, the basket approaches one name's event risk. The calculation uses Monte Carlo, quarterly premiums without a full production accrual model, and different sample sizes for its two legs. Treat the numbers as approximate illustrations with sampling error. Dependence is an additional assumption beyond the marginal spreads, not a quantity identified by single-name quotes alone.

Now compare one hundred twenty-five homogeneous names, fixed forty percent recovery, two percent marginal default probability and latent correlation point two. The Student t version has four degrees of freedom. The means agree by construction, while the distribution shapes need not. In forty thousand scenarios the loss-above-fifteen-percent frequency is percent for Gaussian dependence and percent for Student t dependence. These are finite Monte Carlo estimates; rare tail counts need uncertainty. A heavier dependence tail in this example does not prove that every tranche under every t parameter is more risky. The event, recovery, horizon and dependence assumptions must all be stated.

With a Gaussian copula, does raising the correlation make it more or less likely that no name defaults at all?

In this homogeneous Gaussian pool with fixed marginal probabilities, stronger common correlation raises the probability that all names survive. It also clusters defaults into worse states. The unchanged mean therefore conceals a different distribution. This conclusion concerns the stated dependence ordering; it is not a rule that raising any arbitrary correlation statistic orders every possible credit distribution.

12CDOs and tranchesMaster's3 min

Tranches: slicing a pool's losses by who bears them first. A collateralized debt obligation pools many credits and sells their losses in slices. The equity tranche absorbs the first three percent of losses; the mezzanine the next four; then the senior and super-senior slices. Let losses pile up. Up to three percent, only the equity pays. Beyond it, the equity is gone and the mezzanine starts to lose. The senior tranches are touched only when losses are large, which takes many defaults at once.

Here the pool is homogeneous, the marginal default probability and recovery are fixed, and the Gaussian common factor changes dependence. Equity first-loss expected loss falls as dependence concentrates more probability on joint survival and severe joint default. The displayed fifteen-to-thirty-percent tranche is more exposed to the tail over much of this example, but a bounded senior tranche need not be monotone for every parameter: its payoff is a difference of two stop-loss functions. Super-senior stop-loss behavior and a capped tranche are different questions. Total pool expected loss stays fixed. Correlation sensitivities also depend on whether one buys or sells protection, and loss comparisons at a horizon are not complete running-spread prices. The two thousand five correlation episode illustrates the danger of relying on unstable tranche hedges, rather than a universal rule that every pair must lose together.

The next illustration lets recovery vary with the common factor while fixing the average recovery weighted by defaults at forty percent. That weighting keeps total expected pool loss the same; an unweighted average recovery would not suffice. The displayed senior tranche's expected loss is times the fixed-recovery value under these parameters. This is a model scenario, not an empirical multiplier for all recessions. The delta column is a finite-difference sensitivity of tranche loss to marginal pool PD, normalized by the corresponding expected pool-loss change. It is not a complete traded-index hedge ratio. Market hedging also needs premium legs, spread-curve bumps, recovery assumptions, dependence dynamics and residual basis risk.

For this example we mix two Gaussian dependence regimes: correlation point zero five with weight eighty-five percent and point eight with weight fifteen percent. This is a synthetic expected-loss construction, not a Student t calibration or observed market quote. For each zero-to-detachment tranche, solve the constant Gaussian correlation matching that expected loss. It ranges from at three percent detachment to at thirty percent. Different detachments require different implied correlations. This is a base-correlation skew, analogous to using implied volatility as a quote coordinate. Interpolating those coordinates does not automatically define a consistent joint loss distribution or guarantee arbitrage-free bespoke prices. A full pricing exercise would also match maturities, premium legs and the risk-neutral measure.

An equity tranche and a senior tranche on the same pool. Correlation rises overnight. Which one gained?

Specify whether the investor holds the funded tranche or buys protection. Under the fixed-marginal homogeneous dependence comparison, cash equity benefits from a lower first-loss expectation, while equity protection has the opposite exposure. Super-senior protection responds differently. A bounded senior tranche can have a nonmonotone response, and a complete mark-to-market also includes premium legs and the fitted dependence surface.

132007-08: the senior tranchesIndustry3 min

2007 and 2008: how securities rated triple-A came to lose money. This is a stylized one-factor loss illustration, not a fitted mortgage deal. The equity tranche loses in relatively ordinary adverse states. The senior tranche starts losing only in the worst percent of factor states under the assumed normal distribution. Its model expected loss is basis points of tranche notional over the specified horizon. A small event frequency is not a guarantee against loss. Coval, Jurek and Stafford explain how losses concentrated in high-marginal-value states can command a large price of risk. That conclusion needs a physical loss distribution and a pricing kernel or an equivalent risk-neutral specification. Expected loss or a rating alone does not determine a spread, and different rating methods do not all target the same statistic. This chart supplies no calibrated spread comparison with government or corporate bonds.

This is a controlled model stress, not an empirical reconstruction of two thousand seven. We change marginal default probability and Gaussian dependence separately, holding the stated recovery and tranche structure fixed. The displayed bars report how each change affects the senior expected loss in this particular model. Applying both changes gives a multiplier of relative to the initial value. That large ratio partly reflects a very small initial expected loss. The exercise illustrates nonlinear sensitivity; it does not estimate historical mortgage correlation or identify how much of a traded-price decline each parameter caused.

The Financial Crisis Inquiry Report states that Moody's ultimately downgraded eighty-three percent of its two thousand six Aaa mortgage-backed-security tranches. The denominator is that rating-agency and vintage group, not all triple-A debt, all CDOs or all securities. A downgrade is not the same as a default or a realized full loss. The record documents rating and model failures amid a national housing downturn. Our Gaussian illustrations help explain sensitivity to common shocks, but do not establish one estimated correlation as the sole cause. Underwriting, incentives, leverage, funding, recovery and model governance also matter.

Resecuritization can pool mezzanine mortgage exposures and tranche their combined cash flows again. Shared collateral, common housing shocks and overlapping exposures can make their tail losses strongly dependent. Senior risk still depends on marginal credit quality, recovery, attachment, cash-flow structure and funding assumptions, as well as dependence. Sparse downturn observations do not identify that joint tail without substantial assumptions. The Gaussian examples illustrate concentration mechanisms; they are not an empirical reconstruction of CDO-squared losses or proof that one correlation number explains the crisis.

Two bonds both lose half a percent a year on average: one a little in every bad year, the other only in a depression. Which should pay the higher spread?

If the pricing kernel is especially high in a depression, a loss concentrated in that state has a larger risk-adjusted cost than an equal expected loss spread across less severe states. That is a conditional pricing argument, not a claim that physical expected loss alone fixes a spread. Align maturity, recovery, liquidity and contract terms before comparing two traded bonds.

142012: the London WhaleIndustry2 min

The London Whale: how a purported credit hedge became a material source of losses and a test of risk governance.

In 2012 the largest bank in the United States lost six point two billion dollars on credit derivatives. The trades sat in its Chief Investment Office, in London, in a portfolio meant to hedge the bank's credit risk. It had grown into huge positions in credit indices and their tranches, one so large that the market nicknamed its trader the London Whale. The bank's own task force and a Senate subcommittee both published their findings. By the Senate's account, the portfolio's net notional size tripled in the first quarter of 2012, from about fifty-one billion dollars to one hundred and fifty-seven billion, as the office kept adding to positions that were losing money. Regulators in the United States and Britain later imposed nine hundred and twenty million dollars in penalties.

A risk-model change is not a reduction in the position's economic exposure. The London Whale investigations documented a model change and serious implementation and control failures. The formulas here are general teaching approximations, not a reconstruction of the bank's proprietary model. Normal value at risk needs a specified horizon and loss distribution. Local sensitivity maps curve changes into profit and loss; covariance and nonlinear stress matter. Before adopting a lower reported number, compare the old and new models on the same positions, independently validate the implementation, investigate exceptions and run stressed liquidity and dependence scenarios. A spreadsheet error and a bad modeling assumption require distinct fixes.

Three lessons the House keeps. A hedge must say what it hedges, and by how much; otherwise it is a position. Size is a risk factor of its own: a large visible exit can be costly, and marks are not guaranteed executable at size. And a risk model is software: it needs tests, version control and a second pair of eyes, like every function in the House's library.

A risk number halves overnight because the model changed, not the position. What should the risk desk do before accepting it?

Before accepting a risk number that halves on unchanged positions, compare the old and new models on exactly the same portfolio. Reconcile inputs, units and conventions, independently reproduce implementation, investigate exceptions and test nonlinear, liquidity and concentration stresses. A lower estimate alone is no evidence of a lower economic exposure.

15Corporate bonds and March 2020Industry3 min

Corporate bond markets, and three weeks in March 2020. These are unadjusted exchange closing prices, rebased for the selected March twenty twenty window, not total returns including distributions. The saved investment-grade ETF price drawdown is percent and the high-yield ETF's percent under that window's convention. Trading prices can differ from published fund NAV when underlying bond quotes are stale or costly to execute. The Federal Reserve announced corporate-credit facilities on March twenty-third. The April ninth expansion covered certain recently downgraded issuers and high-yield ETFs, not unrestricted purchases of all high-yield bonds. Event studies examine announcement effects and eligibility, but this price chart alone cannot separate those effects from pandemic news and other policy responses.

The Baa-minus-ten-year-Treasury series rises from percent at the selected February twentieth observation to percent at its March peak, then ends this June window at . This is a broad yield gap, with credit premia, liquidity and maturity differences as well as expected loss. Its decline coincides with support measures and changing economic expectations. The chart does not show that defaults alone were priced in, or identify what fraction the backstop removed. A causal policy estimate needs an identification strategy and comparison assets, rather than a before-and-after line.

The primary facility supported eligible new corporate issuance and the secondary facility supported eligible outstanding bonds and ETFs. Eligibility, maturity and rating rules limited the scope. The secondary facility's eventual holdings were modest relative to the overall corporate market. The literature studies the announcements, eligibility boundaries and subsequent purchases to distinguish channels. A backstop can affect liquidity and tail expectations before large purchases occur. Calling it an option is an economic analogy, not a literal freely exercisable guarantee for every bond. Its causal effect is not estimated by the descriptive figures in this lecture.

Two research debates return later. Corporate-bond factor findings depend on pricing, return construction, liquidity filters and the comparison model; the cited papers study different specifications and data issues. The distress-return puzzle asks why high predicted failure risk has sometimes accompanied low subsequent equity returns in particular historical samples. A high physical default probability alone does not imply a high expected return: priced covariance, investor constraints, selection and measurement matter. These are literature results, not new forecast trials in this review. Part twenty-five examines the evidence and competing interpretations.

A bond fund trades five percent below the value its sponsor reports for its bonds. Which price is wrong?

A five percent discount to published NAV does not by itself identify the wrong price. Check the valuation timestamps, stale underlying quotes, bid-ask costs, creation and redemption constraints, and what the bond portfolio could actually be sold for. The ETF can contribute price discovery while its own price also reflects liquidity and financing conditions.

16Private credit and its marksIndustry3 min

Private credit: loans that never trade, and how they are valued. Private credit grew through several forces, including investor demand, bank constraints and changes in lending. It is not explained by one capital formula alone. The IMF's April twenty twenty-four report puts global private-credit assets plus undeployed committed capital at about two point one trillion dollars in twenty twenty-three. That is not simply outstanding loans. Many loans are illiquid and valued using models, appraisals or limited observable transactions. Floating-rate and senior-secured structures are common, but not universal. Reported marks can move less often than traded prices, and valuation frequency must not be confused with economic safety. The following listed BDC comparison is a window into reported values, with important balance-sheet differences.

Ares Capital is a listed business development company. Its reported NAV per share is net assets attributable to equity, including liabilities and other balance-sheet items; it is not simply loan value per share. The quarterly values are plotted at period ends, even though publication follows later. The saved low share price is dollars, percent below the December twenty nineteen NAV used here as a comparison. That is not a contemporaneous executable loan discount. The March reported NAV changed by percent from December. Share prices reflect leverage, future income, fees, liquidity and discount rates as well as underlying assets. Neither series alone establishes the true liquidation value of the loans or proves that one price was wrong.

Getmansky, Lo and Makarov study a model in which reported returns average current and lagged latent returns. With independent identically distributed latent innovations and weights one half, point three and point two, reported volatility is the square root of point three eight times latent volatility, about thirty-eight percent lower. Autocorrelated latent returns add covariance terms, so that reduction is conditional. Mean-preserving smoothing can inflate a naive Sharpe ratio when it reduces the measured volatility. For this saved BDC sample, quarterly percentage changes in NAV and unadjusted share price have annualized standard deviations and percent. These exclude distributions and are not total-return estimates. Leverage, fees, discount-rate changes, valuation timing and sampling also differ. Their volatility gap cannot identify the latent volatility of the same underlying loans or uniquely estimate appraisal smoothing.

A private credit fund reports three percent volatility and a Sharpe ratio of two. What would you ask for before believing either?

Ask how returns include cash flows, distributions, fees and leverage. Inspect valuation methods, update dates, serial correlation, default handling and independent marks. Examine stressed exits and comparable executable prices. A small reported standard deviation and a high naive Sharpe ratio do not establish economic safety or identify how much smoothing occurred.

17Rule 20: the credit deskIndustry2 min

The House's twentieth rule, for its credit desk. The credit desk must first ask whether two probabilities describe the same thing. A bankruptcy filing over twelve months, a contractual missed payment, and assets below a model boundary at a terminal date are different events. Align the horizon and forecast date. Audit when accounts became public and whether market calibration uses future prices. Our legacy distance curves are retrospective month-end fits, while the accounting lesson here is synthetic; their outputs cannot be displayed as two validated forecasts for the same real company. Align the probability measure too. A risk-neutral input used to price protection differs from a physical forecast of event frequency. A normal-tail transformation of a distance is not automatically an empirically calibrated probability. Accounts and market prices are different channels, but they share information and are not statistically independent by construction. Investigate disagreements, model uncertainty and shared exposures before combining numbers. A factor-of-four escalation rule could be a desk policy, but it is not a mathematical test of which source is right.

The credit desk opens with these tools. Merton's equity inversion and distance to default; first passage; intensity and recovery models; the swap's premium and protection legs; hazard bootstrapping; synthetic classification; the large-pool capital approximation; and default dependence and tranches. Rule twenty: align the event, horizon, information date and probability measure before comparing numbers. Assess calibration with independent data and disclose model uncertainty. Compare Gaussian dependence with plausible tail and concentration scenarios; a chosen fat-tailed copula is a stress assumption, not an automatic conservative bound. Name the exposure, sensitivity and residual basis risk of each hedge. This presentation review registers no new market trial and opens no sealed experiment.

For the researcher: the granularity adjustmentPhD7 min

For the researcher: the finite portfolio and the granularity approximation. We derive an exact binomial-mixture distribution under the homogeneous conditional-independence model, evaluate it numerically and compare a formal small-noise quantile expansion. The distinction between a discrete quantile and an interpolated CDF is essential; an adjustment is not a universal repair for concentrated books.

Take N equal loans with full loss given default, a homogeneous Gaussian one-factor law and increasing bad-state factor y. Conditional default probability is p of y. Conditional independence makes the default count binomial. Integrating its cumulative probability over the factor gives the exact model CDF, a discrete distribution on multiples of one over N. Evaluating the integral still needs numerical error control; the saved example uses a finite factor grid and quadrature. Conditional concentration gives the large-pool distribution. Quantile convergence additionally needs continuity and a uniquely identified limit quantile. The limit concerns default loss under these assumptions, not a complete regulatory capital calculation.

Now consider a formal small-noise expansion around a smooth conditional mean. Idiosyncratic loss noise has conditional mean zero and, for equal loans, variance p times one minus p divided by N. A second-order quantile expansion requires a locally smooth mean map with nonzero derivative, positive factor density at the quantile, suitable moment control and a differentiable CDF approximation. It gives a leading correction proportional to one over N for the homogeneous granular case. The raw finite loss is discrete. Its quantile has lattice rounding of order one over N, the same order as the proposed correction; the smooth expansion does not automatically give a smaller remainder for that raw quantile. For unequal exposures, replacing N by an inverse Herfindahl index is a useful homogeneous small-exposure approximation, not a theorem for every portfolio.

For the smooth Vasicek approximation the leading coefficient can be written explicitly. Differentiate the conditional normal probability to obtain its first and second derivatives, with the sign convention that larger y is worse. Expanding the derivative in the correction gives the displayed three-term expression. At one percent PD, point twelve latent correlation and the ninety-nine point nine percent quantile, the saved finite-grid derivative gives coefficient . Dividing by one hundred suggests about two percentage points for a hundred equal loans. Numerical agreement checks algebra in this example; it does not validate an error bound, remove lattice effects or justify using the expansion for a large single exposure.

Here the white curve is the quantile of a linearly interpolated numerical CDF, not the exact lattice-valued loss quantile. The large-pool default-loss fraction is percent. At one hundred loans the displayed interpolated benchmark is percent. The actual discrete quantile rounds to a support point. Monte Carlo squares use four hundred thousand scenarios, leaving only about four hundred observations beyond a ninety-nine point nine percent threshold. They have tail sampling uncertainty and a lattice of their own. The green first-order correction is reasonably close to this interpolated benchmark for the larger sample sizes shown, but this plot establishes no uniform accuracy guarantee or exact remainder order. Small pools and concentrated exposures need direct validation.

These are three specified model portfolios. In these cases the formal adjustment is largest relative to the full-loss quantile when common-factor correlation is low. This is an approximation under small-exposure and regularity conditions, not a universal ordering of capital requirements. The stylized internal-ratings formula omits name concentration. Concentration needs separate assessment within the applicable supervisory and capital framework; this comparison is not a complete description of current bank rules.

Take five hundred loans with exposures proportional to one over rank. The largest is percent of the book. The inverse exposure Herfindahl index is , a concentration statistic, not an exact distributional equivalent to that many equal loans. The large-pool value is percent; this fixed Monte Carlo estimates a quantile of percent, with sampling uncertainty. Substituting the effective size in the homogeneous correction gives percent. Its noticeable shortfall is a warning: a nearly fifteen-percent exposure violates the spirit of a small-exposure expansion. Direct conditional simulation, quadrature or another validated method is needed for a reliable concentrated-book tail.

Why use a granular single-factor limit? Under the asymptotic single-risk-factor framework and its regularity conditions, each loan's marginal capital contribution can depend on its own risk characteristics and a common factor quantile, rather than the rest of a particular portfolio. Gordy's portfolio-invariance result explains the appeal of that structure. It is not a theorem that every conceivable additive risk model must have exactly these assumptions. Finite-name concentration introduces portfolio-dependent terms, and multiple factors can introduce sector composition effects. The stylized first-pillar formula does not fully cover these risks; supervisors and internal capital assessments require broader concentration analysis. Numerical quantiles, expected-loss subtraction and regulatory adjustments must also be kept distinct.

Three extensions and limitations. Multifactor portfolios require methods that preserve sector and country dependence; several approximations and numerical methods exist, with accuracy depending on the portfolio and tail region. A few large exposures can invalidate the granular expansion. Exact discrete methods, conditional integration, simulation and importance sampling offer alternatives, each with its own computational and error-control requirements. PD, dependence and recovery are themselves uncertain. Their contribution can exceed or fall below granularity depending on the case; we have not estimated their uncertainty from the unavailable filing count. Compare explicit parameter stresses and confidence assessments instead of asserting that one source of uncertainty is always largest.

Pause and predict. A book has four hundred loans, but one of them is half the book and the other three hundred and ninety-nine share the rest equally. What is its effective number of loans, the inverse Herfindahl index, and what does that say about its capital?

The exposure Herfindahl is one quarter plus one quarter divided by three hundred ninety-nine. Its inverse is about three point nine nine. That does not turn the book into four equal loans. One name is half the book, so a small-exposure granularity assumption fails. The number of legal names disguises the concentration. Under the chapter's one percent marginal PD and full loss given default, the large name alone produces a loss of at least half the book with one percent probability. Therefore the ninety-nine point nine percent loss quantile is at least fifty percent, without knowing the other names' dependence. If the PD, loss given default or horizon changes, that numerical conclusion must be rechecked. The effective count alone never determines capital.

Recap, desk questions, problemsAll tracks3 min

Part twenty in thirteen lines. A promise is worth what its maker can pay; the Lehman CDS auction set an eight point six two five cent settlement price. Corporate spreads combine expected losses, risk premia and other frictions. Merton models equity as a call, under restrictive assumptions. Distances fitted retrospectively to prices illustrate leverage and volatility, rather than certified live forecasts. Barriers bring default forward, and Leland lets shareholders choose. Intensity models treat default as a random clock and require a stated recovery convention. CDS prices equate premium and protection legs. Bankruptcy labels require event, coverage, denominator and availability audits. Altman's score, logit and trees are demonstrated on a declared synthetic population, with no sealed issuer results. Vasicek's homogeneous large pool motivates a stylized bank capital formula. Copulas change joint tail risk, and tranches have nonlinear dependence sensitivities. Senior losses concentrated in bad aggregate states can command a risk premium. The London Whale illustrates hedge, model and control failures. March twenty twenty and reported BDC marks show why market prices, accounting values and total returns must be distinguished.

Four desk questions. At one hundred basis points and forty percent recovery, the flat continuous-premium approximation gives risk-neutral intensity one point six six seven percent and a one-year event probability about one point six five percent. In Merton's fixed-asset-value comparison, equity gains from asset volatility and debt loses value. A senior loss concentrated in high-value bad states can command a substantial premium, conditional on a pricing kernel and comparable contract terms. Report independent model assessment with event counts, uncertainty and population limits, and check calibration separately. The worked notes give the assumptions and full solutions.

And ten problems: Merton's debt and spread, the equity's volatility, the par spread with a flat hazard, a bootstrap by hand, Vasicek's distribution, the Basel capital for a two percent PD, tranches and correlation, and the odds in a logit. Two are qualifying-exam problems: the exact finite-pool distribution, and the granularity expansion. Solutions, in English and Chinese, are in the notes.

Where this returns. Part twenty-one introduces counterparty risk, valuation adjustments and clearing. Unilateral CVA resembles protection on a random positive exposure, with important dependence and close-out assumptions. Part twenty-five revisits distress-related return patterns. Parts twenty-six and twenty-seven develop backtesting and machine learning, where historical data versions, publication timestamps and independent assessment require explicit audits. This part does not certify the legacy accounting dataset as point in time. The finale returns to dependence and stress scenarios for the House's credit book.

The notes distinguish textbooks, original research, official records and descriptive public data. Numerical results include fixed model illustrations and the separately named synthetic classification lesson; they are not all empirical estimates. Original source files and House algorithms remain preserved. The public filing-count reconstruction failed upstream, so we report no count-based result from it. No sealed issuer experiment is opened during this review.

That opens the House's credit desk: default probabilities from two sources, a swap pricer, and the models that set capital. Next, Part twenty-one: counterparty risk, valuation adjustments and clearing. Every derivative is also a loan to whoever is on the other side.

Where it goes next. Default probabilities price counterparty risk in Part 21; correlated losses and fire sales return in Part 41.

Key results

The part's results in one place, for revision.

Credit triangle\[s\approx\lambda\,(1-R)\]
Merton's distance to default\[\mathrm{DD}=\frac{\ln(V/D)+(\mu-\tfrac12\sigma_V^2)T}{\sigma_V\sqrt T},\qquad \mathrm{PD}=N(-\mathrm{DD})\]
Large-pool loss\[\mathbb P(L\le x)=N\!\Bigl(\frac{\sqrt{1-\rho}\,N^{-1}(x)-N^{-1}(p)}{\sqrt\rho}\Bigr)\]
Survival\[\mathbb Q(\tau>t)=\exp\Bigl(-\int_0^t\lambda_s\,ds\Bigr)\]

Try it

Lab 20 · Correlation decides who loses: the pool and its tranches

Simulate defaults in a pool of 500 loans with one common factor, compare the loss distribution with Vasicek's large-pool formula, and see how correlation moves expected loss between the equity, mezzanine and senior tranches of the same pool.

Figure produced by Lab 20: Correlation decides who loses: the pool and its tranches
Produced by the lab below, seed 0, in 0.7 s. Simulated data.
python -m videos.quant.labs 20 needs numpy, scipy, matplotlib, numba · download lab20.py · source on GitHub
rho = 0.05: default rate       mean 2.00%   99.9% quantile simulated 8.8%, formula 8.1%
rho = 0.30: default rate       mean 2.00%   99.9% quantile simulated 34.6%, formula 33.3%
Expected loss, equity 0-3%     rho 0.05: 39.545%   rho 0.30: 29.187%
Expected loss, mezzanine 3-7%  rho 0.05:  0.340%   rho 0.30:  5.606%
Expected loss, senior 7-100%   rho 0.05:  0.000%   rho 0.30:  0.108%

Correlation does not change the pool's expected loss; it moves it from the equity tranche to the senior one. That is why equity is long correlation and senior is short it.
The code (58 lines; it asserts its own result)
"""Lab 20: defaults that arrive together: the one-factor copula, the loss distribution, the tranches."""

import numpy as np

from videos.quant import labs
from explainer.quant.house import credit

TITLE = "Correlation decides who loses: the pool and its tranches"
GOAL = ("Simulate defaults in a pool of 500 loans with one common factor, compare the loss distribution with "
        "Vasicek's large-pool formula, and see how correlation moves expected loss between the equity, mezzanine "
        "and senior tranches of the same pool.")
TASKS = [
    "Use a t copula (nu=4) at the same correlation. Which tranche notices?",
    "Compute Basel's capital with credit.basel_irb_k at PD 1%, 2% and 5%. Why is it concave in PD?",
    "At what correlation does the mezzanine tranche's expected loss peak?",
]

TRANCHES = {"equity 0-3%": (0.0, 0.03), "mezzanine 3-7%": (0.03, 0.07), "senior 7-100%": (0.07, 1.0)}


def run(seed=0):
    pd_, n, R = 0.02, 500, 0.4
    lab = labs.Lab()
    sims = {}
    for rho in (0.05, 0.30):
        counts, _ = credit.copula_defaults(n, pd_, rho, 40000, seed=seed)
        frac = counts / n
        sims[rho] = frac
        q999 = float(credit.vasicek_quantile(0.999, pd_, rho))
        lab.row(f"rho = {rho:.2f}: default rate", f"mean {100 * frac.mean():.2f}%   99.9% quantile simulated "
                                                  f"{100 * np.quantile(frac, 0.999):.1f}%, formula {100 * q999:.1f}%")
        assert abs(frac.mean() - pd_) < 0.002 and abs(np.quantile(frac, 0.999) - q999) < 0.035
    rhos = np.linspace(0.01, 0.6, 40)
    el = {name: np.array([credit.lhp_tranche_el(pd_, r, R, a, d) for r in rhos]) for name, (a, d) in TRANCHES.items()}
    for name in TRANCHES:
        lab.row(f"Expected loss, {name}", f"rho 0.05: {100 * np.interp(0.05, rhos, el[name]):6.3f}%   "
                                          f"rho 0.30: {100 * np.interp(0.30, rhos, el[name]):6.3f}%")
    lab.note = ("Correlation does not change the pool's expected loss; it moves it from the equity tranche to the "
                "senior one. That is why equity is long correlation and senior is short it.")
    assert np.all(np.diff(el["equity 0-3%"]) < 0) and np.all(np.diff(el["senior 7-100%"]) > 0)
    pool = sum(el[name] * (d - a) for name, (a, d) in TRANCHES.items())
    assert np.allclose(pool, pd_ * (1 - R), atol=2e-4), "the tranches add up to the pool"

    fig, ax = labs.figure(2, size=(11, 4.2))
    bins = np.linspace(0, 0.2, 81)
    x = np.linspace(0.0005, 0.2, 400)
    for rho, c in ((0.05, labs.GAIN), (0.30, labs.LOSS)):
        ax[0].hist(sims[rho], bins=bins, density=True, color=c, alpha=0.45)
        ax[0].plot(x, credit.vasicek_loss_pdf(x, pd_, rho), color=c, label=f"rho = {rho:.2f}")
    ax[0].set(title="Default rate of the pool: simulation and Vasicek", xlabel="fraction defaulted", ylim=(0, 60))
    ax[0].legend()
    for name, c in zip(TRANCHES, (labs.LOSS, labs.P, labs.SPOT)):
        ax[1].plot(rhos, 100 * el[name], color=c, label=name)
    ax[1].set_yscale("log")
    ax[1].set(title="Expected tranche loss against correlation", xlabel="asset correlation rho", ylabel="% of tranche")
    ax[1].legend(fontsize=8)
    lab.fig = fig
    return lab

Now change it

  1. Use a t copula (nu=4) at the same correlation. Which tranche notices?
  2. Compute Basel's capital with credit.basel_irb_k at PD 1%, 2% and 5%. Why is it concave in PD?
  3. At what correlation does the mezzanine tranche's expected loss peak?

Problems, with solutions

Try each problem before opening its solution; the last two of each set are at qualifying-exam level.

Desk questions, with solutions

Four desk answers

  1. 100 bp CDS, recovery 40%. The continuous flat-intensity approximation gives λᴽ = .01/.6 = .016667. The one-year probability is 1−exp(−λ)=1.65%, and the five-year probability is 1−exp(−5λ)=8.00%. Intensity and probability differ; these are pricing-measure results under fixed conventions.
  2. Volatility transfer. With asset value and other Merton inputs fixed, equity call value rises with asset volatility and debt value falls by the same amount. This is a model asset-substitution mechanism, not every firm's causal response.
  3. Tiny senior expected loss. If losses coincide with high marginal value of wealth, a pricing kernel can assign a substantial premium. Expected loss or a rating alone does not specify that kernel or a traded spread.
  4. Fit AUC .98 versus independent .90. Report an honestly described independent assessment with counts, uncertainty and population limits, while disclosing development results. The gap includes sampling variation and fitting effects; check calibration separately. Both ranking and calibration can shift.

Problems, with worked solutions

Ten worked problems

  1. Merton debt and spread. In Merton's model show that the debt is worth \(De^{-rT}N(d_2) + V_0N(-d_1)\), and derive the credit spread.

    Solution

    Put–call parity gives B=V−E=D exp(−rT)Φ(d₂)+VΦ(−d₁). Its yield is −ln(B/D)/T, so s=−ln[Φ(d₂)+(V exp(rT)/D)Φ(−d₁)]/T. This assumes a single terminal obligation, replicable lognormal assets, constant parameters and no intervening default.

  2. Equity volatility. Show that equity volatility is \(\sigma_E = N(d_1)\,\sigma_V V/E\). Why does it rise as the firm approaches default?

    Solution

    Itô's diffusion term is E_V σ_V V dW. Because E_V=Φ(d₁), σ_E=Φ(d₁)σ_V V/E. Leverage magnifies equity volatility as the residual claim becomes small; a statement about a varying firm requires holding the other model inputs and financing conventions explicit.

  3. Continuous CDS triangle. With a constant hazard \(\lambda\), show that a CDS's par spread is \((1 - R)\lambda\) when premiums are paid continuously.

    Solution

    With constant λ, recovery R, deterministic r and continuous premiums, premium PV is s∫₀ᵀexp[−(r+λ)t]dt. Protection PV is (1−R)λ times the same integral, hence s=(1−R)λ. Scheduled premiums and accrual conventions change the exact relation.

  4. Three-year annual CDS, 120 bp. A 3-year CDS trades at 120 bp, recovery 40%, rates 4%, annual premiums. Bootstrap a flat hazard rate by hand (one iteration of the credit triangle is enough).

    Solution

    Declare the convention: annual premiums at 1,2,3, no accrued premium, continuous protection payment, r=.04 and R=.4. Solve .012∑ᵢ₌₁³exp[−(.04+λ)i] =.6λ[1−exp(−3(.04+λ))]/(.04+λ). The triangle starts at λ=.02. Solving this equation gives λ=.0194118 and a one-year probability 1−exp(−λ)=1.92246%. Adding accrued premium requires a changed equation. One three-year quote cannot identify three unrestricted annual hazards without further assumptions.

  5. Vasicek limit. Derive Vasicek's large-pool distribution \(\mathbb{P}(L \le x)\) from the one-factor model, and its 99.9% quantile.

    Solution

    Given M, defaults have probability p(M)=Φ[(Φ⁻¹(p)−√ρ M)/√(1−ρ)]. Conditional independence and vanishing equal weights give default fraction L∞=p(M). For 0<x<1 and 0<ρ<1, F(x)=Φ[(√(1−ρ)Φ⁻¹(x)−Φ⁻¹(p))/√ρ]. Consequently qα=Φ[(Φ⁻¹(p)+√ρ Φ⁻¹(α))/√(1−ρ)]. A fixed LGD multiplies the fraction.

  6. Corporate IRB illustration. Compute the Basel capital \(K\) for PD 2%, LGD 45%, \(M\) = 2.5. Compare it with the expected loss.

    Solution

    For p=.02, LGD=.45 and maturity M=2.5, use R(p)=.12(1−exp(−50p))/(1−exp(−50)) +.24[1−(1−exp(−50p))/(1−exp(−50))], b(p)=[.11852−.05478 ln p]² and K=LGD{Φ[(Φ⁻¹(p)+√R Φ⁻¹(.999))/√(1−R)]−p} ×[1+(M−2.5)b]/(1−1.5b). The unchanged House function gives K=.0918834, versus expected loss .009; risk weight 12.5K=1.14854. This omits other current regulatory requirements and is not a bank-specific capital recommendation.

  7. Tranche dependence. In the homogeneous Gaussian large pool with fixed marginal PD and recovery, explain equity and super-senior loss sensitivity to correlation. Why need a bounded senior tranche not be monotone?

    Solution

    Normalized tranche loss is [(L−A)⁺−(L−D)⁺]/(D−A). First-loss equity and uncapped senior stop-loss payoffs have different convexity. Under the homogeneous fixed-marginal Gaussian pool, increasing dependence shifts mass toward joint survival and severe joint loss. Equity expected loss falls and super-senior stop loss rises under this ordering. A capped senior tranche is a difference of stop losses, so its sensitivity need not have one sign for all PDs, attachments and correlations. A protection buyer and seller have opposite positions; spread repricing also needs premium legs.

  8. Logit odds. A logit's coefficient on leverage is 0.5 per standard deviation. By what factor does a two-standard-deviation rise in leverage multiply the odds of default?

    Solution

    Odds are exp(β₀+βᵀx). A two-standard-deviation increase with coefficient .5 per standard deviation multiplies odds by exp(1)=2.71828, not probability. From probability p, new probability is ep/(1−p+ep).

  9. Qualifying problem: finite pool. (qual) For \(N\) equal loans in Vasicek's model, show \(\Pr(L \le k/N) = \int \operatorname{Bin}(k; N, p(y))\varphi(y)dy\) and that the \(\alpha\)-quantile of \(L\) tends to \(p(\Phi^{-1}(\alpha))\) as \(N \to \infty\).

    Solution

    Given the bad-state factor y, K|y is Binomial(N,p(y)); therefore Pr(L≤k/N)=∫[∑ⱼ₌₀ᵏ C(N,j)p(y)ʲ(1−p(y))ᴺ⁻ʲ]φ(y)dy. This identity is exact under the model; numerical evaluation is not exact arithmetic. Conditional variance p(1−p)/N tends to zero, yielding the limiting distribution. For a continuous strictly increasing limit CDF at qα, quantiles converge too. The saved grid is y∈[−8,8] with 8,001 points. Its exact output is the discrete numerical quantile; smooth linearly interpolates the CDF between k/N support points. They must not be given the same name or error claim.

  10. Qualifying problem: smooth granularity expansion. (qual) For \(L = \mu(Y) + \varepsilon U\) with \(\mathbb E[U \mid Y] = 0\), derive the second-order expansion \(q_\alpha(L) = q_\alpha(\mu) - \frac{\varepsilon^2}{2h(y)}\frac{d}{dy}\big[h(y)\operatorname{Var}(U \mid y)/\mu'(y)\big] + o(\varepsilon^2)\) at \(y = q_\alpha(Y)\).

    Solution

    Let Lε=μ(Y)+εU, E[U|Y]=0, h the density of Y, v(y)=Var(U|y), with μ locally increasing, μ′≠0, h>0 and adequate smoothness, integrability and remainder control. Write fμ(x)=h(y)/μ′(y), y=μ⁻¹(x). Expanding a smooth CDF gives Fε(x)=Fμ(x)+(ε²/2)d[fμ(x)v(μ⁻¹(x))]/dx+o(ε²). Substituting qε=q₀+δ and solving Fε(qε)=α yields δ=−ε²/(2h(yα)) d[h(y)v(y)/μ′(y)]/dy+o(ε²). In the homogeneous finite-pool approximation ε²=1/N and v=p(1−p), producing the displayed GA. Its finite-grid coefficient is approximately 2.03958 for p=.01, ρ=.12 and α=.999. Raw discrete loss quantiles have O(1/N) lattice effects, so the smooth remainder cannot be asserted for them automatically. Unequal-name substitution by 1/HHI requires homogeneous risk and small maximum exposures. A 500-name Zipf book has maximum weight .1472 and effective count 28.09; simulated q.999≈.1959 versus .1629 from that heuristic, demonstrating its limitation rather than validating it. With one 50% exposure and 399 sharing the rest, HHI=.25+.25/399 and effective count≈3.99. At PD 1% and full LGD, q.999 is at least .5 regardless of the smaller names' dependence.

Problems, with worked solutions

Additional pause-question answers / 其他暂停题答案

  • Share risk rises at fixed asset value. In the Merton comparison, ΔB=−ΔE. A 10% equity gain is a debt loss of .1E dollars, not necessarily 10% of debt. 资产固定时债务价值变化等于权益变化的负数,不是债务也必然变化百分之十。
  • Equal leverage, different equity volatility. Distance also needs consistent asset volatility, drift, horizon and boundary. Bank funding and regulatory mechanisms require a different audit. 相同杠杆不能独立确定距离,银行还有存款、 融资与监管机制。
  • Leland barrier and volatility. At fixed coupon, tax and rate, V_B=(1−tax)C/(r+σ²/2) falls with σ; shareholders value waiting. The optimal coupon can change separately. 固定票息等条件下,波动增加使边界下降,整体最优 票息与杠杆是另一个比较。
  • Hazard doubles before default. In flat deterministic RMV pricing the bond value multiplies by exp[−(1−R)λ_old T]. Other recovery conventions need their own repricing. 违约前风险重估也会使债价下跌,须使用实际回收与曲线惯例。
  • Every hotel in one city. Sector, location and local-demand concentrations remain beyond a generic corporate factor; finite-name sizes matter too. 同城酒店共享行业、地域与需求冲击,贷款多不代表充分分散。
  • Correlation and no defaults. In the stated homogeneous Gaussian pool with fixed marginals, greater common correlation increases joint survival and clusters bad outcomes. 均值不变可以同时出现更多零违约和更重联合损失。
  • Which tranche gained? State funded versus protection position; a capped senior tranche needs its own dependence sensitivity and premium legs. 必须说明买卖保护方向,不能把封顶优先层与超优先止损混同。
  • Reported VaR halves on unchanged positions. Reconcile old/new inputs, units and conventions, independently validate implementation and test liquidity, concentration and nonlinear stresses. 更低报告值不证明经济暴露下降。
  • ETF 5% below NAV. Check timestamps, stale quotes, executable bond prices, bid-ask costs and creation/redemption constraints before naming a wrong price. 净值与交易价格使用的信息和可执行条件不同,折价本身不能判错。
  • Private-fund volatility and Sharpe. Audit cash flows, distributions, fees, leverage, marks, serial dependence, defaults and stressed exits. 波动差距不能 唯一识别底层风险或估值平滑。

For the spread pause question's supplied physical rate .3% and LGD 60%, the first-order annual expected loss is .003×.6=.0018, or 18 bp. The arithmetic remainder of a 200 bp yield gap is 182 bp; it cannot be uniquely assigned to a risk premium because liquidity, duration, instrument differences and the approximation remain. 利差暂停题给定实际事件率0.3%、违约损失率60%,一阶 预期年损失18基点,200基点差额中算术剩余182基点,不能唯一归为风险溢价。

The final explanatory pass distinguishes physical expected loss from the CDS pricing intensity, and corrects the spread-literature interpretation. Merton maturity curves compare alternative terminal debts rather than sequential survival observations. In the fixed Leland grid, total firm value peaks near coupon 6.5 while debt value peaks near 8.5; those are different objectives. 最终讲解明确实际预期损失与CDS定价强度的区别。Merton期限曲线比较不同 终点债务,不是依次存续的观测。固定Leland网格中,企业总值在票息约6.5 处最高,债务价值在约8.5处最高,两者是不同目标。

Reading and notes

The part's papers

from READING.md

  • Altman, E. (1968). "Financial ratios, discriminant analysis and the prediction of corporate bankruptcy." Journal of Finance.
  • Merton, R. C. (1974). "On the pricing of corporate debt: the risk structure of interest rates." Journal of Finance.
  • Black, F., Cox, J. (1976). "Valuing corporate securities: some effects of bond indenture provisions." Journal of Finance.
  • Ohlson, J. (1980). "Financial ratios and the probabilistic prediction of bankruptcy." JAR.
  • Leland, H. (1994). "Corporate debt value, bond covenants, and optimal capital structure." Journal of Finance.
  • Jarrow, R., Turnbull, S. (1995). "Pricing derivatives on financial securities subject to credit risk." Journal of Finance.
  • Lando, D. (1998). "On Cox processes and credit risky securities." Review of Derivatives Research.
  • Duffie, D., Singleton, K. (1999). "Modeling term structures of defaultable bonds." RFS.
  • Li, D. (2000). "On default correlation: a copula function approach." J. Fixed Income.
  • Collin-Dufresne, P., Goldstein, R., Martin, J. S. (2001). "The determinants of credit spread changes." Journal of Finance.
  • Shumway, T. (2001). "Forecasting bankruptcy more accurately: a simple hazard model." Journal of Business.
  • Vasicek, O. (2002). "The distribution of loan portfolio value." Risk.
  • Gordy, M. (2003). "A risk-factor model foundation for ratings-based bank capital rules." J. Financial Intermediation.
  • Crosbie, P., Bohn, J. (2003). "Modeling default risk." Moody's KMV.
  • Andersen, L., Sidenius, J. (2004). "Extensions to the Gaussian copula: random recovery and random factor loadings." J. Credit Risk.
  • Longstaff, F., Mithal, S., Neis, E. (2005). "Corporate yield spreads: default risk or liquidity?" Journal of Finance.
  • Bharath, S., Shumway, T. (2008). "Forecasting default with the Merton distance to default model." RFS.
  • Campbell, J. Y., Hilscher, J., Szilagyi, J. (2008). "In search of distress risk." Journal of Finance.
  • Coval, J., Jurek, J., Stafford, E. (2009). "The economics of structured finance." JEP; "Economic catastrophe bonds." AER.
  • Huang, J.-Z., Huang, M. (2012). "How much of the corporate-treasury yield spread is due to credit risk?" Review of Asset Pricing Studies.
  • JPMorgan Chase (2013). Report of the Management Task Force Regarding 2012 CIO Losses; U.S. Senate PSI (2013). JPMorgan Chase Whale Trades.
  • Bai, J., Bali, T., Wen, Q. (2019). "Common risk factors in the cross-section of corporate bond returns." JFE.
  • Haddad, V., Moreira, A., Muir, T. (2021). "When selling becomes viral: disruptions in debt markets in the COVID-19 crisis and the Fed's response." RFS.
  • Dickerson, A., Mueller, P., Robotti, C. (2023). "Priced risk in corporate bonds." JFE.
  • Block, J., Jang, Y. S., Kaplan, S., Schulze, A. (2024). "A survey of private debt funds." Review of Corporate Finance Studies (verify).

Papers and sources

Sources and audit trail

Primary public records, accessed for this review on 8 November 2026:

Texts: O'Kane, Modelling Single-name and Multi-name Credit Derivatives; Schönbucher, Credit Derivatives Pricing Models; Duffie–Singleton, Credit Risk; Lando, Credit Risk Modeling; Hull, Options, Futures, and Other Derivatives. Edition-dependent chapter numbering is not treated as a universal locator.

Research: Altman (1968), Merton (1974), Black–Cox (1976), Leland (1994), Jarrow–Turnbull (1995), Lando (1998), Duffie–Singleton (1999), Li (2000), Shumway (2001), Friedman (2001), Vasicek (2002), Gordy (2003), Crosbie–Bohn (2003), Andersen–Sidenius (2004), Getmansky–Lo–Makarov (2004), Bharath–Shumway (2008), Campbell–Hilscher–Szilagyi (2008), Coval–Jurek–Stafford (2009), Gourieroux–Laurent–Scaillet (2000), Martin–Wilde (2002), Gordy–Lütkebohmert (2013), and the market-history papers named in the scenes. Findings are conditional on each paper's population, identification and model assumptions.

Data, scope and reproducibilityData boundaries and reproduction

The five original items dataset, models, sorts, altfit and envelope access or depend on the sealed firm-year experiment. The presentation loader rejects them before invoking the original loader. Do not run the original all-items compute command during this review.

Twenty permitted original descriptive items restored normally. defaults failed with an unexpected SEC response; one justified normal retry also failed. Both logs remain in renders/qa/quant20/. No annual filing count or count/spread correlation is reported, and no substitute count is fabricated. Public filing records are distinct from the joined sealed predictive experiment, which remains closed.

Original compute drivers, House algorithms and the three global quant registries are preserved. The Part 20 cumulative historical trial count remains 317 and the global count 23,562. This review adds no market trial and opens no sealed market experiment. These are counter observations, not new registrations or evidence that all historical experiments were valid.

Two separately named examples are implemented in synthetic_credit_example.py:

python -m videos.quant.quant20.synthetic_credit_example synthetic_credit_example rmv_credit_example
python -m pytest -q tests/test_quant20_teaching_examples.py
python tools/zh_lines.py quant20 --todo
python tools/lecture_length.py quant20 --floor 50
python tools/qa_series.py quant20 --cached-only --resume --timeout 1800
python tools/qa_series.py quant20 --lang zh --cached-only --resume --timeout 1800
python tools/qa_series.py quant20 --motion --cached-only --resume --timeout 1800

Run commands in the configured Manim/TeX environment. A successful render alone is not visual approval; inspect the current images and movie contact sheets, then record review receipts tied to the source fingerprint and input signatures.

The synthetic law, sizes and seeds were fixed before execution: fit 8,000/202001, selection 4,000/202002, evaluation 6,000/202003. Clipping and scaling use fit observations only. A fixed ridge logit is compared with at most 240 depth-3 trees, learning rate .05, minimum leaf 30, subsampling .8, seed 0 and selection-based 30-round early stopping. Evaluation observations are generated after selection. There is no tuning to make one model win.

Actual synthetic evaluation outputs: 563 events among 6,000 observations; AUC 0.7123 for fixed Z, 0.9276 for logit and 0.9246 for trees. Brier scores are 0.04910, 0.04960 and 0.08510 for logit, trees and the fit-sample base-rate benchmark. There are 107 selected trees. These numbers provide no market generalization. Calibration uses ten groups of 600 and discloses tie splitting; ROC moves tied scores together. The median slice updates log equity for the leverage/cushion identity.

For the CIR example, let a = 1−R. The required expectation is E[exp(−a∫λ dt)], not E[exp(−∫λ dt)] raised to a. Scaling initial intensity and long-run mean by a and volatility by √a gives the exact CIR Laplace functional. An independent Riccati ODE test verifies the result. Jensen's inequality implies that its yield spread is at least the legacy scaled-zero-recovery approximation for 0<a<1. Original compute_cox remains unchanged.

Chapter notesChapters and scope
  1. Opening. The Lehman CDS auction's final price was 8.625% of par. The corresponding gross protection payment on covered auction-settled contracts was 91.375%, before premiums, netting, hedges and counterparty performance.
  2. Spreads. FRED Moody's Aaa and Baa yields relative to a ten-year Treasury illustrate broad yield differences. They are not duration-matched OAS. Baa minus Aaa still contains duration, composition, liquidity and premium effects; neither series isolates physical expected default loss.
  3. Merton. A single zero-coupon obligation, continuously diffusing replicable assets, constant parameters and no earlier default give equity as a call and debt as assets minus equity. Pricing drift is risk-neutral; physical default probability uses a physical drift and a specified distribution. The 3D spread display explicitly caps its vertical view at 1,500 bp. Term curves instead use an invertible log1p scale with raw bp tick labels and no top-coding; numerical cancellation residuals below 1e-7 bp are treated as zero.
  4. Distance to default. Three original price/filing reconstructions illustrate fitted asset cushions. Their monthly parameters are fitted at month-end and assigned to earlier days in that month. These are retrospective fits, not certified live forecasts. The original drift floor and filing-order/version assumptions remain disclosed. A distance is not a probability, and its normal tail is not Moody's calibrated EDF. Plots retain the saved finite ranges.
  5. First passage and Leland. Continuous-monitoring first-passage probabilities differ from terminal-event probabilities. Discrete path drawings can miss barrier crossings. Leland's perpetual debt, tax benefit and bankruptcy costs illustrate an endogenous boundary under a specific model.
  6. Intensity and recovery. Deterministic intensity gives exponential survival; a stochastic Cox intensity gives marginal survival as an expectation. Zero recovery, fractional recovery of market value and face recovery at maturity are different contracts. The separately named CIR example evaluates recovery-of-market-value pricing exactly within the deterministic-rate model.
  7. CDS. Premium and protection legs, accrued-premium approximation, illustrative quote bootstrapping, annuity sensitivity, gross settlement versus net jump, auction eligibility, upfront conventions and residual basis risk. The quotes are invented teaching inputs, not a market calibration.
  8. Bankruptcy labels. An 8-K Item 1.03 reporting event is not every definition of credit default. Coverage, entity resolution, repeated reports, legal event dates, outcome windows, censoring and the at-risk denominator require audits. Current-vintage XBRL frames and an assumed three-month lag do not establish historical availability; public float is not total equity capitalization.
  9. Altman. Historical discriminant weights and zones are illustrated on declared synthetic observations. They are not calibrated probabilities. Five-ratio logit weights differ in sign convention, scaling and objective.
  10. Logit and trees. Independent fit, selection and evaluation samples from a fixed invented law demonstrate preprocessing, early stopping, ROC, Brier scores and calibration. The 3D display is a median slice, not partial dependence or a causal leverage experiment.
  11. Vasicek and capital. Homogeneous conditional independence and vanishing equal exposures yield a limiting default-fraction distribution. Finite simulations have lattice and sampling effects. The corporate IRB formula is a stylized regulatory illustration, not all current capital requirements.
  12. Copulas. Marginal curves leave joint dependence unidentified. Latent Gaussian correlation differs from binary-default correlation. The two-name cloud uses correlation 0.5 and t degrees of freedom 3; the 125-name pool uses correlation 0.2 and t degrees of freedom 4. Both 1,500-point clouds are shown in full. The loss histogram spans the entire 0–60% support in 0.5%-loss bins without folding tail observations into an overflow bin. Monte Carlo tails need uncertainty.
  13. Tranches. Waterfalls, fixed-marginal dependence stresses, default-weighted recovery and illustrative loss sensitivities. Expected-loss curves and ticks are consistently in percent of tranche notional. A bounded senior tranche need not be monotone in correlation for all parameters. Base correlations match expected losses from an 85%/15% mixture of two Gaussian regimes, not a t-copula market calibration. Interpolation alone does not guarantee a consistent loss distribution or arbitrage-free pricing.
  14. Crisis. A stylized aggregate-state loss model explains a possible risk premium mechanism; it does not reconstruct a mortgage deal. The FCIC's 83% downgrade statistic concerns Moody's 2006 Aaa MBS tranches, not every AAA asset. Downgrade, default and realized full loss are different outcomes. The re-tranching page displays the expected tranche-loss payoff, without a universal ordering of correlation sensitivities.
  15. London Whale. $6.2 billion trading losses and the approximately $920 million September 2013 multi-agency penalties are different amounts. The VaR formulas are general teaching approximations, not a reconstruction of a proprietary model. Model changes require independent validation and fixed-position comparisons.
  16. March 2020. Unadjusted ETF closing-price changes exclude distributions. The March 23 and April 9 facilities had eligibility restrictions. Descriptive co-movement does not identify causal policy effects or isolate expected defaults. The displayed spread change is not identified as a causal policy effect.
  17. Private credit. The IMF's 2023 estimate of about $2.1 trillion includes assets and undeployed commitments. Listed BDC NAV is a levered net-asset measure, not simply loan value. Quarter-end NAV is published later; changes in NAV and raw price exclude distributions and are not total returns.
  18. House rule. Align the event, horizon, information date and probability measure before comparing probabilities. Accounts and prices share information. Evaluate calibration, concentration and dependence scenarios; state each hedge's exposure, sensitivity and residual basis risk.
  19. Research. Exact model CDF, numerical quadrature, discrete versus interpolated quantiles, formal granularity expansion and concentrated-book failure. A separate answer explains why 400 legal names can have effective count 3.99.
  20. Recap and problems. Four desk questions, ten worked problems, references and the connection to counterparty risk.

中文讲义

本讲的中文说明、交易台问题与习题解答(与英文版对应)。

Notes中文讲义

本轮视觉复核完成:已实际检查40张英中文旁白节点画面表、20张英文动画画面表 及20张原尺寸重点画面。配音开场与分章静音预览已核验; 完整成片连续听审及发音验证仍待完成,信号检查不能替代听审。 现有137项双语旁白,按课程语速估计约69.2分钟,实际播放还包括动画与停顿。

内容与关键限定。 雷曼拍卖8.625%终价对应适用合约91.375%总保护支付, 不是所有合约净现金量。穆迪收益率减十年国债并非久期匹配OAS,Baa减Aaa 也非纯违约风险。Merton只在单笔终点债务、可复制连续扩散资产等假设下给出 期权表示;定价测度与实际事件测度须区分。三个公司的违约距离是事后月末 拟合,原漂移下限和申报版本、排序限制保留,不是已认证实时预测;距离本身 不是概率,正态尾也非穆迪经验校准EDF。首次通过的连续公式与离散路径图 不同,Leland的内生边界依赖永续债、税与破产成本假设。

Merton期限曲线采用可逆的对数加一坐标,基点刻度标注原值,不截顶;低于 \(10^{-7}\)基点的浮点残差视为零。两幅copula点云各完整显示1500点; 池损失直方图覆盖完整0–60%区间,不将尾部观测折叠入末格。分层预期损失 曲线与刻度均按分层本金百分比计量。

确定性强度给指数生存率,随机Cox强度的边际生存率须取期望。市场价值比例 回收、到期面值回收和违约立即回收是不同现金流。独立命名CIR例子精确计算 市场价值比例回收泛函,不能简单将零回收收益率乘一减回收率。CDS示例报价 是虚构教学输入;区分保费腿、保护腿、应计近似、风险年金敏感度、违约总支付 和相对当前市值的净跳跃。标准票息、拍卖与清算都有适用条件,现券加保护 仍有融资、可交割性与对手方等剩余风险。

8-K第1.03项只报告破产或接管,不覆盖所有信用违约。标签须核查覆盖、实体、 重复报告、法律事件日、窗口、删失与风险总体分母。当前XBRL框架及固定三个月 滞后不证明时点可得;公众持股市值不等于总权益市值。原公开检索及一次有理由 正常重试都失败,计数与相关系数保持不可用,不能从旧讲义补造。五项原实验 路径dataset/models/sorts/altfit/envelope在展示入口被阻止。二十项允许原描述计算 正常恢复;98份受保护源码与登记文件保持不变,Part 20累计317、全局23562, 没有新增市场试验,没有开启封存公司年度实验。

Altman历史判别分数和区间不是校准概率。固定合成总体使用十二个财务输入, 维持权益、资产、杠杆与缓冲恒等关系;拟合8000、选择4000、评估6000,种子 分别202001、202002、202003。截尾与尺度只用拟合集,提升树按选择集早停, 评估样本在选择结束后生成,事前固定参数与种子,不挑有利结果。实际评估 563个事件,Z、Logit与树AUC依次0.7123、0.9276、0.9246;Brier依次比较Logit 0.04910、树0.04960、拟合集基础率基准0.08510,选中107棵树。这些数值不证明 市场预测能力。ROC相同分数一同移动;校准十组各600,披露拆分平局。 三维曲面是合成中位数切片,不是部分依赖,更不是杠杆因果效应。

Vasicek需要同质条件独立及小暴露极限;有限池保留格点与模拟误差,简化IRB 不等于完整当前资本规则。潜在相关性不同于二元违约相关性。散点云用相关性 0.5与t自由度3,125名字池用0.2与自由度4;尾部计数须考虑不确定度。封顶 优先层损失对相关性不一定普遍单调,买卖保护方向相反。随机回收例子固定的是 按违约加权平均回收。基础相关性来自85%/15%双高斯状态混合,并非t连接函数 市场校准;插值不保证一致联合损失分布或无套利。

FCIC的83%针对穆迪2006年Aaa抵押贷款支持证券分层,降级不等于违约或全损。 伦敦鲸62亿美元交易损失不同于2013年9月约9.2亿美元多机构罚款,VaR教学公式 不重建专有模型。2020年ETF图是未调整价格,不含分配;美联储工具有评级和 其他资格条件,前后图不能识别因果政策效果。IMF的2.1万亿美元包含资产与未 投放承诺资本。BDC净值是含负债的净资产,不是单纯贷款值;期末值发布更晚, 净值和价格变化非总回报,波动差不能唯一识别贷款风险或评估平滑。

四道交易台题。 100基点、回收40%的连续平保费近似给风险中性强度1.6667%, 一年概率1.65%、五年8.00%,强度不是概率。Merton其他输入固定时,资产波动 增加把债务价值转给权益。优先层坏状态集中损失可能获得定价核溢价,预期损失 或评级本身不决定利差。样本内0.98和独立0.90须透明同时披露,强调独立评估、 事件数、不确定度和总体限制;差距不全是记忆,排序与校准都可能随周期变化。

十题解答。

  1. 平价关系给B=V−E=D exp(−rT)Φ(d₂)+VΦ(−d₁),故 s=−ln[Φ(d₂)+(V exp(rT)/D)Φ(−d₁)]/T,依赖单笔终点债等假设。
  2. Itô扩散项为E_Vσ_VV,且E_V=Φ(d₁),故σ_E=Φ(d₁)σ_VV/E。 剩余权益变小会放大杠杆波动,须明确保持其余输入的比较方式。
  3. 连续保费现值s∫exp[−(r+λ)t]dt,保护腿为(1−R)λ乘同一积分, 得s=(1−R)λ;离散日期、应计和结算改变精确关系。
  4. 明确年付、不计应计、违约连续支付、r=.04、R=.4: .012∑ᵢ₌₁³exp[−(.04+λ)i]=.6λ[1−exp(−3(.04+λ))]/(.04+λ)。 三角初值λ=.02,解为.0194118,一年概率1.92246%。加入应计须改方程, 一条三年报价不足以识别三条自由年度风险率。
  5. 给定M,p(M)=Φ[(Φ⁻¹(p)−√ρM)/√(1−ρ)]。条件独立及小等额暴露使 L趋于p(M),得到F(x)=Φ[(√(1−ρ)Φ⁻¹(x)−Φ⁻¹(p))/√ρ]及 qα=Φ[(Φ⁻¹(p)+√ρΦ⁻¹(α))/√(1−ρ)],固定LGD按比例缩放。
  6. p=.02、LGD=.45、M=2.5,将上文规定R(p)、b(p)代入IRB式, K=.0918834,预期损失.009,风险权重12.5K=1.14854,其他资本规则未含。
  7. 分层损失为[(L−A)⁺−(L−D)⁺]/(D−A)。同质固定边际高斯池的依赖变化 使首损权益与超优先止损有不同凸性响应;封顶层是两止损之差,不保证 全参数单调。买卖保护方向相反,完整利差还需保费腿。
  8. Logit系数每标准差.5,增加两个标准差使几率乘exp(1)=2.71828, 不是概率直接乘该数。原概率p的新概率为ep/(1−p+ep)。
  9. 资格题:给定y,K服从Binomial(N,p(y)),对二项累积概率乘φ(y)积分, 即得Pr(L≤k/N)精确模型恒等式。条件方差p(1−p)/N趋零,配合连续且唯一 极限分位点得到分位数收敛。数值求积不是精确算术;保存例子用[-8,8] 8001点。exact是离散数值分位数,smooth在线性插值CDF上反解,不能 混称或声称同一误差阶。
  10. 资格题:设Lε=μ(Y)+εU、E[U|Y]=0、v(y)=Var(U|y),均值局部递增、 导数非零、密度h为正,并满足光滑、可积及余项条件。 fμ(x)=h(y)/μ′(y),平滑展开Fε=Fμ+(ε²/2)d(fμv)/dx+o(ε²),在 qε=q₀+δ代入Fε(qε)=α,得δ=−ε²/(2h)d(hv/μ′)/dy+o(ε²)。 同质池取ε²=1/N、v=p(1−p),本例系数约2.03958。原离散分位数有 O(1/N)格点误差,不能自动继承平滑余项。逆HHI替换要求同质风险和最 大暴露较小。500笔Zipf最大14.72%、有效28.09,模拟分位数约19.59%, 启发式约16.29%,说明限制。一个50%暴露加399笔分摊余额,HHI=.25+ .25/399,有效约3.99;PD 1%、全损时99.9%分位数至少50%,与其余依赖无关。

上方英文来源表的原始文献、官方记录和数据链接同样适用于中文内容。完整连续 成片听审仍待完成,数值、信号与时间检查不等于听审认证。

Build the film

python -m videos.quant.quant20.compute      # the part's numbers, into .cache/quant20
python tools/make.py quant20                # the narrated film, English and Chinese
EXPLAINER_TTS=silent python tools/qa_scene.py quant20 Hook   # one chapter, silent, with a contact sheet

Scenes: videos/quant/quant20. Setup: see the course page. Source of these notes: the part's README and the scenes' narration.