Scenario analysis and sensitivity analysis: stress testing equity, interest rate, credit and currency risk
Scenario analysis asks: what happens to your portfolio if stocks fall 20%, interest rates rise by one percentage point and foreign currencies weaken against the dollar? It works with sensitivities (beta, duration, spread duration and currency exposure) or fully revalues the portfolio in the scenario. Here you will learn about the four main risks and their metrics, work through a stress scenario step by step and see why scenarios complement value at risk but do not replace it.
Sensitivity, scenario, stress test: the terms
A sensitivity analysis changes a single variable and holds everything else constant: how much does the portfolio lose if only interest rates rise by 100 basis points? A scenario analysis changes several variables at once to form a coherent picture, such as a recession with falling stocks, widening credit spreads and falling interest rates. A stress test is a scenario analysis with deliberately severe but still plausible assumptions. Value at risk answers a different question: it gives a loss that will not be exceeded with a certain probability, but it does not say which event would cause it.
Behind this lies an idea from bank risk management: every portfolio is a bundle of risk factors. If you know how strongly the value responds to each factor, you can calculate any scenario as the sum of factor move times sensitivity, at least approximately. For individual investors, four factors are enough: the stock market, interest rates, credit spreads and exchange rates.
The four main risks and their sensitivities
| Risk | Sensitivity | Approximation of the change in value | Metric in dollars |
|---|---|---|---|
| Equities | beta or delta | ΔV ≈ β × market move × V | dollars per 1% market move |
| Interest rates | modified duration, key rate durations | ΔV ≈ −D × Δy × V | DV01: dollars per basis point |
| Credit | spread duration; plus default and migration | ΔV ≈ −SD × Δs × V | CS01: dollars per basis point of spread |
| Currency | FX delta (unhedged foreign currency share) | ΔV ≈ (1 − h) × V_FC × exchange rate change | dollars per 1% exchange rate move |
- Equity risk: beta measures how strongly a position moves with the stock market on average; for options, the derivative with respect to the price is called delta. A fund with a beta of 1.1 mathematically loses 11% when the market falls 10%.
- Interest rate risk: duration tells you by roughly what percentage a bond's price falls when its yield rises by one percentage point. The basis point value (DV01) converts this into dollars per basis point. Because short and long rates move differently, key rate durations as in Ho (1992) spread interest rate risk across maturity points; Litterman and Scheinkman (1991) found three patterns, level, slope and curvature, that explain almost all movements in the yield curve.
- Credit risk: spread duration measures the price loss when the credit spread over government bonds widens; CS01 is the amount in dollars per basis point. On top of this come two jump risks that no small sensitivity captures: default, in which roughly the face value times the loss rate is lost, and migration, i.e. a rating downgrade that makes the spread jump, especially at the boundary between investment grade and high yield.
- Currency risk: FX delta is the part of your assets held unhedged in a foreign currency. With a hedge ratio h, only the share 1 − h is exposed; hedging with forward contracts costs or earns roughly the interest rate differential between the two currencies (see currency risk and currency hedging).
ΔV ≈ Σₖ sensitivityₖ × change in factor k
bond with convexity: ΔP / P ≈ −D × Δy + ½ × C × Δy²
DV01 = D × V × 0.0001; CS01 = SD × V × 0.0001- D, SD
- modified duration and spread duration in years
- C
- convexity of the bond
- Δy, Δs
- change in yield and credit spread as a decimal (100 basis points = 0.01)
- V
- market value of the position in dollars
Sensitivity analysis: changing one variable
The simplest question is: what happens if only one factor moves? For small moves, the linear approximation with the sensitivity is enough. For large moves it becomes inaccurate, because most securities do not respond linearly. For bonds, the curvature is called convexity, for options gamma. If you want an exact answer, you fully revalue the security with the new market data instead of adding up sensitivities.
Ten-year bond with a 3% coupon at a 3% yield, as in the example above (duration 8.53, convexity 87.07). The duration line lies below the revalued price everywhere: it overstates losses and understates gains, by a wide margin for large moves.
Sensitivity analyses are quick and transparent, but they have one weakness: in crises, factors rarely move on their own. A rate shock of +100 bp with unchanged stock prices is a numerical experiment, not a scenario.
A scenario step by step
Take a balanced portfolio of $1,000,000 with stocks, government and corporate bonds and a share in foreign currencies. The figures are an example, not a recommendation:
| Component | Market value | Sensitivity |
|---|---|---|
| US stocks | $200,000 | Beta 1.0 |
| International stocks (in foreign currencies, unhedged) | $300,000 | Beta 1.0; 100% currency exposure |
| US Treasuries | $250,000 | Duration 7, convexity 60 |
| US dollar corporate bonds | $150,000 | Duration 5, spread duration 5, convexity 30 |
| Cash | $100,000 | – |
The scenario is: stocks −20%, interest rates +100 bp, credit spreads +150 bp, foreign currencies −10%. A picture like this fits, for example, an inflation shock with recession fears in which stocks and bonds fall together.
Interest rates affect both types of bonds, the spread only the corporate bonds, whose yield therefore rises by 2.5 percentage points. Cash keeps its value. The portfolio's sensitivities in dollars are: $5,000 per percentage point of stock market move, $250 DV01, $75 CS01 and $3,000 per percent move in exchange rates. With these four numbers, you can estimate any further scenario in seconds.
Historical, hypothetical and reverse scenarios
- Historical scenarios apply the market moves of a real crisis to today's portfolio. Typical examples are the 2008 financial crisis, with collapsing stocks and exploding credit spreads but rising prices for safe government bonds, the 2020 COVID crash with a very fast collapse and a quick recovery, and the 2022 interest rate turnaround, in which stocks and bonds fell together. The advantage: the scenario actually happened and is internally consistent. The drawback: the next crisis will look different.
- Hypothetical scenarios describe an event that has not happened in this form before, such as a tariff war, a debt crisis in a large country or an oil price shock. They force you to think through the connections, but they are open to challenge: who decides how strongly credit spreads respond?
- Reverse stress tests turn the question around: which market moves would cause a specified loss, such as 20% of the portfolio or missing a financial goal? Banking supervisors expect them in order to find scenarios that could bring a bank down Basel Committee on Banking Supervision (2018). Glasserman et al. (2015) develop a method for finding the most likely combinations of factor moves behind a large loss.
Consistency: correlations and plausibility
A scenario is only as good as its internal logic. If stocks fall 20%, credit spreads usually widen; whether interest rates rise or fall depends on whether an inflation shock or a growth shock lies behind it. A scenario that moves only stocks and holds everything else constant usually understates the losses on corporate bonds. And it says nothing about whether government bonds protect you or fall too.
A common approach: you set the most important factors and put the others at their conditional expectation, derived from volatilities and correlations. Kupiec (1998) proposed calculating stress scenarios with the same conditional distributions that underlie VaR. Breuer et al. (2009) show that this approach maximizes the plausibility of the scenario and measure plausibility with the Mahalanobis distance: the further a scenario lies from normal conditions, measured in terms of volatilities and correlations, the less plausible it is.
With several factors, the same rule applies in matrix form. You specify the shocks s for a group S of factors and set all other factors U to their conditional expectation. With a single specified factor, the formula shrinks to correlation times the ratio of volatilities times the shock, which is exactly the calculation above. How unusual the scenario as a whole is can be measured by the Mahalanobis distance of the factor vector; the conditional expectation makes it as small as possible for the given shocks.
E[f_U | f_S = s] = Σ_US Σ_SS⁻¹ s
d = √(fᵀ Σ⁻¹ f)- s
- specified shocks to the factors in S
- Σ_US, Σ_SS
- covariances of the other factors with the specified ones, and of the specified factors with each other
- f
- full factor vector of the scenario
- d
- Mahalanobis distance in standard deviations
Be careful with the correlations themselves: in crises they differ from those in calm periods. Longin and Solnik (2001) find that the correlation of international stock markets rises in bear markets but not in bull markets; Ang and Chen (2002) find something similar for stock portfolios. Forbes and Rigobon (2002) show that part of the measured increase is a statistical effect of higher volatility. For stress tests, this means that correlations from a calm estimation period make scenarios too mild.
Supervisory stress tests as an example
Banks have long been required to run stress tests. After the financial crisis, the Basel Committee on Banking Supervision (2009) published principles intended to remedy the weaknesses of previous practice. The nine principles from 2018 that apply today call for, among other things, clear objectives, good data, suitable models and scenarios that are severe but plausible Basel Committee on Banking Supervision (2018). Two recent examples:
- EU: in the 2025 EU-wide stress test, the EBA (2025) ran 64 banks covering 75% of EU banking assets through three years. The adverse scenario was designed by the European Systemic Risk Board and the ECB; in it, the CET1 ratio fell by 370 basis points to 12%, with losses from credit, market and operational risks of €547 billion.
- US: in the 2026 stress test of the Federal Reserve (2026), 32 large banks had to withstand a severe global recession with unemployment of up to 10%, house prices falling 30% and commercial real estate prices falling 39%. Losses exceeded $708 billion, and the aggregate capital ratio fell by 1.6 percentage points; all banks stayed above their minimum requirements.
For investors, these tests are useful above all as a template. They show how thoroughly a severe scenario is described: with paths for growth, unemployment, real estate, interest rates and stocks over several years, not just with a single shock.
Scenarios and value at risk
Value at risk and expected shortfall condense the entire loss distribution into one number with a probability, while scenarios describe individual events without a probability. Berkowitz (2000) criticized that stress tests therefore usually sit alongside the risk model: nobody knows how important a scenario is, and the two results cannot be combined into a single risk measure. His proposal: include scenarios with probabilities in the risk model.
In practice, both are used side by side. VaR tells you how big an ordinary bad month is; the stress test tells you what a specific, very bad event costs. If the scenario loss is far above the expected shortfall, the estimation period probably contains no comparable crisis. How VaR and volatility are distributed across positions is explained in the article risk contribution.
Advanced: nonlinearity and cross effects
- Taylor expansion: the linear calculation is the first term of a Taylor series. The second contains convexity and gamma as well as cross derivatives between factors, in the example the stock × currency effect of $6,000. For options, volatility (vega) and time value come on top.
- Key rate scenarios: parallel shifts are rare. For a steeper curve, you multiply the key rate duration by the change in rates at each maturity point and add them up; the basics are in the articles yield curve and bond math.
- Default and migration: for credit portfolios, scenarios are calculated with default probabilities and rating transitions rather than spreads alone. Losses then come in jumps and hinge on a few issuers. This is another reason why diversification across issuers matters so much for bonds.
- Measuring plausibility: the Mahalanobis distance d = √(xᵀ Σ⁻¹ x) of the factor moves x defines an ellipsoid of equal plausibility. Breuer et al. (2009) search within it for the scenario with the largest loss. This is at the same time a systematic reverse stress test.
- Multi-period scenarios: supervisory scenarios unfold over several years. Then coupons, reinvestment, rebalancing and liquidity matter too: if you have to sell in a crisis, paper losses become permanent.
What research shows
Research on stress tests revolves around two questions: how do you connect scenarios with probabilities, and how do you find scenarios that are both severe and plausible? According to Kupiec (1998), historical VaR covariances with a conditional normal distribution deliver usable loss estimates in many stress periods, contrary to the widespread assumption that VaR models are useless for stress. Berkowitz (2000) called for assigning a probability to every scenario. Breuer et al. (2009) criticize hand-picked scenarios: if you rely only on history, you overlook plausible but damaging scenarios that have never occurred, and a standard scenario can be dangerous for one portfolio and harmless for another. Glasserman et al. (2015) provide the statistics to derive the most likely loss scenarios from data.
It is also well documented that diversification weakens in crises because correlations rise in falling markets Longin and Solnik (2001). It follows that scenarios should not be derived solely from the correlations of calm years. A detailed treatment of VaR methods, their validation and stress tests is given by Jorion (2007).
Limitations and common mistakes
- Not a maximum loss: a scenario is one possibility among many. The next crisis can hit other factors or turn out more severe.
- Scenarios that are too mild: if you only replay the last crisis, you overlook new risks. Anyone who ran only the 2008 scenario, in which safe government bonds gained, underestimated a year like 2022, in which stocks and bonds fell together.
- Linear instead of revalued: for options, leveraged products and large rate shocks, the linear calculation is misleading.
- Inconsistent combinations: stocks −30% with unchanged credit spreads is hardly plausible; correlations from calm years make scenarios too mild.
- Outdated sensitivities: beta and duration change with prices, interest rates and rebalancing. A stress test applies to today's portfolio.
- Missing liquidity: scenarios usually calculate at market prices. If you have to sell in a crisis, you pay wider spreads or find no buyer.
How Portfolio Lab calculates
The Risk page has the Scenarios tab for this. For each position, it estimates betas to seven factors (global equities, euro rates, US rates, US dollar, crude oil, gold and credit) from monthly returns and uses them to calculate hypothetical shocks, either in isolation or with the conditional expectation for the other factors. The templates are equity crash, rate shock, stagflation, dollar weakness and credit crisis. In addition, it applies twelve historical crises, from Black Monday to the 2025 tariff shock, to today's portfolio and, in the reverse stress test, searches for the move in one factor that triggers a specified loss. The details are in the scenario methodology.
For your own scenarios, Portfolio Lab provides the building blocks. In the Backtest, the Crisis periods tab shows how the portfolios came through nine built-in crises: from the 1973/74 oil crisis through Black Monday, the Asian and Russian crises, the dotcom crash and the financial crisis (11/2007–03/2009) to the euro debt crisis, the COVID crash (01–03/2020) and the 2022 interest rate turnaround (01–10/2022), each with the return and maximum drawdown over the period. A crisis only appears if the data cover it completely. This is a historical scenario with the backtest's weights, not a revaluation of today's portfolio.
For the sensitivities, the Risk factors tab in the Look-through shows the interest rate duration per currency, key rate durations at the maturity points from 1 to 30 years, the spread duration by issuer type and the equity beta from a regression over the last 60 months against global equities. These are exactly the numbers you plug into the linear calculation above. The Risk page calculates value at risk and conditional VaR for one month at 95% or 99%, parametric and historical, breaks them down by position and shows the risk by factor as well as by region, country, sector, currency and asset class. On the Macro page, you can analyze how portfolios performed in recessions, inflation bands, interest rate phases or with an inverted yield curve. More in the risk factors methodology.
Long monthly series for the most important factors are available as asset classes: global equities, German Bunds and US Treasuries with ten-year maturities, US dollar corporate bonds, gold and crude oil. If you place them next to your positions in the Grid, the correlation matrix on the Risk page shows how closely they move together over your period, giving you the ingredients for the conditional expectation. How to apply past crises to a portfolio today, even with funds that have no prices from that time, is explained in the article historical stress test.
Frequently asked questions
What is the difference between sensitivity analysis and scenario analysis?
Sensitivity analysis changes a single variable and holds everything else constant, for example only interest rates. Scenario analysis changes several variables at once to form a coherent picture, such as falling stocks, widening credit spreads and weaker foreign currencies.
How do I run a stress test on my portfolio?
Determine the sensitivity of each position (beta for stocks, duration and spread duration for bonds, the unhedged foreign currency share) and multiply it by the shocks in the scenario. The sum is a linear approximation; for large shocks and options, a full revaluation is more accurate.
What is a reverse stress test?
It asks the reverse question: which market moves would cause a specified loss, such as 20% of your assets? This helps you find scenarios you would not otherwise have considered.
What do DV01 and CS01 mean?
DV01 is the change in value in dollars when interest rates rise by one basis point; CS01 is the same for one basis point more credit spread. Both are roughly market value times (spread) duration times 0.0001.
Does a stress test replace value at risk?
No. VaR gives a loss with a probability but no event; a stress test gives an event but no probability. The two complement each other.
Which historical scenarios are commonly used?
Frequently used are the 2008 financial crisis, the 2020 COVID crash and the 2022 interest rate turnaround, in which stocks and bonds fell together. Older crises such as Black Monday in 1987 or the dotcom crash are also used.
Literature
- Ang, Andrew; Chen, Joseph (2002): Asymmetric correlations of equity portfolios. Journal of Financial Economics 63 (3), pp. 443–494. doi:10.1016/s0304-405x(02)00068-5
- Basel Committee on Banking Supervision (2009): Principles for sound stress testing practices and supervision. Bank für Internationalen Zahlungsausgleich, Mai 2009 (2018 ersetzt); abgerufen am 25.10.2026. Source
- Basel Committee on Banking Supervision (2018): Stress testing principles. Bank für Internationalen Zahlungsausgleich, 17.10.2018; abgerufen am 25.10.2026. Source
- Berkowitz, Jeremy (2000): A coherent framework for stress testing. The Journal of Risk 2 (2), pp. 5–15. doi:10.21314/jor.2000.021
- Board of Governors of the Federal Reserve System (2026): Federal Reserve Board's annual bank stress test confirms that large banks are well positioned to weather a severe recession (Pressemitteilung). Federal Reserve Board, 24.6.2026; abgerufen am 25.10.2026. Source
- Breuer, Thomas; Jandačka, Martin; Rheinberger, Klaus; Summer, Martin (2009): How to Find Plausible, Severe, and Useful Stress Scenarios. International Journal of Central Banking 5 (3), pp. 205–224. Source
- European Banking Authority (2025): The EBA publishes the results of its 2025 EU-wide stress test. EBA, Pressemitteilung vom 1.8.2025; abgerufen am 25.10.2026. Source
- Forbes, Kristin J.; Rigobon, Roberto (2002): No Contagion, Only Interdependence: Measuring Stock Market Comovements. The Journal of Finance 57 (5), pp. 2223–2261. doi:10.1111/0022-1082.00494
- Glasserman, Paul; Kang, Chulmin; Kang, Wanmo (2015): Stress scenario selection by empirical likelihood. Quantitative Finance 15 (1), pp. 25–41. doi:10.1080/14697688.2014.926019
- Ho, Thomas S.Y. (1992): Key Rate Durations. The Journal of Fixed Income 2 (2), pp. 29–44. doi:10.3905/jfi.1992.408049
- Jorion, Philippe (2007): Value at Risk: The New Benchmark for Managing Financial Risk. McGraw-Hill, 3rd edition.
- Kupiec, Paul H. (1998): Stress Testing in a Value at Risk Framework. The Journal of Derivatives 6 (1), pp. 7–24. doi:10.3905/jod.1998.408008
- Litterman, Robert B; Scheinkman, Josè (1991): Common Factors Affecting Bond Returns. The Journal of Fixed Income 1 (1), pp. 54–61. doi:10.3905/jfi.1991.692347
- Longin, François; Solnik, Bruno (2001): Extreme Correlation of International Equity Markets. The Journal of Finance 56 (2), pp. 649–676. doi:10.1111/0022-1082.00340
This article explains a method; it is not investment or tax advice. Worked examples are simplified and rounded. All terms in the glossary.