Risk Management puzzles, solved step by step
- Puzzles
- 100
- Traced to a firm
- 17
- Topics
- 13
- Hard
- 30
062Your prior estimate of a hidden fair price is 10 with variance 4. A noisy measurement comes in at 12 with measurement variance 1. After one Kalman filter update, what is your new estimate and its variance?UBSLondon · 2022
Try it first
Where does the new estimate land?
Show the worked solution
The new estimate is 11.6 with variance 0.8. The Kalman gain is the prior variance over the total, 4 over 5, or 0.8. The estimate moves 80% of the way from 10 towards 12, landing at 11.6. The variance becomes (1 - 0.8) x 4 = 0.8, smaller than either the prior's 4 or the measurement's 1.
How does the filter decide how far to move?
Two friends guess your commute time. One has ridden with you a hundred times, the other once. You would average their guesses, but lean heavily on the first. A Kalman filterA method that updates an estimate of something you cannot see directly each time a noisy measurement arrives, weighting old estimate and new data by how precise each is. does exactly that: it weights the prior and the measurement by their precision, one over variance. Precision 0.25 against 1 gives the measurement 80% of the weight.
The prior centred at 10 is wide, with variance 4, and the measurement at 12 is narrow, with variance 1. The update lands at 11.6, four fifths of the way to the measurement, and its variance of 0.8 makes it narrower than either source. Why is the new variance smaller than both inputs?
Because two independent pieces of evidence together know more than either alone. Precisions add: 1 over 4 plus 1 over 1 is 1.25, and one over 1.25 is a variance of 0.8. That is the part candidates skip. The filter does not just move the estimate; it becomes more confident with every measurement, until new data carry little weight and the estimate settles.
The relationshipP the prior variance, 4 R the measurement variance, 1 K the Kalman gain, the weight on the new measurement \hat{x} the updated estimate What it says in wordsMove from the prior towards the measurement by the gain, and shrink the variance by the same share.Say the limitation: this single step assumes both errors are normal and the hidden price did not move between the prior and the measurement. A full filter adds a prediction step that lets the price drift and widens the variance before each update. Risk teams use the idea to track hidden quantities such as a hedge ratio that changes over time.
Where candidates lose it
The trap is averaging the two numbers and answering 11. That treats the measurement and the prior as equally trustworthy, which the variances say they are not.
The second trap is getting 11.6 and then saying the variance is somewhere between 1 and 4. Combining evidence always reduces uncertainty, so the new variance must be below both: 0.8.
What the interviewer asks next
- A second measurement of 11 arrives with variance 1. What is the estimate now?
- What happens to the gain as the number of measurements grows?
- How would you use a Kalman filter to estimate a time-varying hedge ratio?
Asked at UBS, Risk, London, 2022 (Wall Street Oasis):
Explain what kalman filter is.
063From 250 days of daily P&L, the five worst losses are Rs 18, 14, 11, 9.5 and 8 crore. What is the 99% one-day historical VaR, and what is the expected shortfall beyond it?UBSRemote · 2020
Try it first
How many of the worst days sit beyond the 99% line in a 250-day sample?
Show the worked solution
99% VaR is about Rs 12.5 crore and expected shortfall about Rs 15 crore. One per cent of 250 days is 2.5 observations, so VaR sits between the second worst loss, 14, and the third, 11: Rs 12.5 crore by interpolation, or Rs 11 crore if the desk takes the third worst. Expected shortfall averages the worst 2.5 days: (18 + 14 + half of 11) / 2.5 = 15.
Why is historical VaR a position in a list rather than a formula?
If you rank a class of 250 students by exam score, the student at the 99th percentile is not computed, they are counted: roughly the second or third from the top. Historical VaR works the same way with losses. Rank the daily P&L from worst to best and count 1% of the sample in from the bad end; the loss you land on is the 99% VaR. With 250 days you land 2.5 places in, between two real days.
In a 250-day sample the 99% line sits 2.5 observations from the worst end, between losses of Rs 14 crore and Rs 11 crore, so historical VaR is Rs 12.5 crore by interpolation or Rs 11 crore by the third-worst convention. Expected shortfall, the average of the worst 2.5 observations, is Rs 15 crore. Which convention is right, and does it matter?
Neither is wrong; both are used, and the gap here is Rs 1.5 crore on a Rs 12.5 crore number. What is wrong is not saying which one you used, because two desks can report different VaR from identical data. Expected shortfall moves with the convention too: averaging only the two losses beyond Rs 11 crore gives Rs 16 crore rather than Rs 15 crore. Name the rule, then give the number.
The relationship2.5 the number of observations in the worst 1% of 250 days 0.5 x 11 half of the third worst loss, the fraction of it inside the tail What it says in wordsExpected shortfall is the average loss across the worst 1% of days, counting the third worst at half weight.The limitation is size. A 99% number from 250 days rests on two or three losses, so one bad day entering or leaving the window can move it by several crore. That is why regulators ask for backtesting and why expected shortfall, which uses the whole tail, is preferred where the tail is thin.
Where candidates lose it
The first trap is picking the worst loss, Rs 18 crore, as the 99% VaR. That is closer to a 99.6% number. Count 1% of the sample, 2.5 days, then read off the list.
The second is giving a single number without the convention. Say 2.5 observations, say which rule you use, and show that expected shortfall is larger than VaR because it averages what lies beyond.
What the interviewer asks next
- What would the 97.5% expected shortfall be from the same list?
- The worst day drops out of the window tomorrow. What happens to VaR and ES?
- Why might a regulator prefer expected shortfall to VaR for setting capital?
Asked at UBS, Risk Management, Remote, 2020 (Wall Street Oasis):
Calculate VaR
076A bank has book equity of Rs 20,000 crore, a sustainable return on equity of 15%, a cost of equity of 12% and long-run growth of 6%. Estimate its market capitalisation.ScotiabankToronto · 2025
Try it first
Before any formula: is this bank worth more or less than its Rs 20,000 crore book?
Show the worked solution
About Rs 30,000 crore, 1.5 times book. For a bank growing steadily, price to book equals ROE less growth, over cost of equity less growth: (15 - 6) / (12 - 6) = 1.5. Book of Rs 20,000 crore times 1.5 gives Rs 30,000 crore. A cross-check: earnings of Rs 3,000 crore at a P/E of 10 gives the same figure.
Why does ROE against cost of equity decide the answer?
Imagine a fixed deposit that pays exactly the return you demand. Nobody would pay more than its face value, and nobody would sell it for less. A deposit paying more than you demand is worth a premium; one paying less sells at a discount. A bank's book equity is that deposit. A bank that earns exactly its cost of equity is worth its book, and every point of ROE above that cost is priced as a premium to book. Here the bank earns 15% on capital that shareholders price at 12%, so you already know the answer is above Rs 20,000 crore before touching the arithmetic.
With a 12% cost of equity and 6% growth, price to book crosses 1.0 at an ROE of 12% and reaches 1.5 at 15%, so the bank's Rs 20,000 crore of book equity is worth about Rs 30,000 crore. Where does the formula come from, so you can rebuild it under pressure?
Start from a dividend growth model. To grow book at 6% while earning 15%, the bank must keep 6 over 15, or 40%, of its profit, and it can pay out the other 60%. That means the dividend is book times ROE less growth, and dividing by cost of equity less growth gives the price. Earnings are Rs 3,000 crore, the payout is Rs 1,800 crore, and Rs 1,800 crore divided by 12% less 6% is Rs 30,000 crore.
The relationshipP/B market capitalisation over book equity ROE sustainable return on book equity, 15% k_e cost of equity, 12% g long-run growth in book and dividends, 6% What it says in wordsPrice to book is the excess of ROE over growth, divided by the excess of the cost of equity over growth.What would a risk interviewer want you to add?
Say how fragile the number is. The denominator is only 6 points wide, so a one point rise in the cost of equity to 13% cuts price to book from 1.5 to 1.29, a fall of 14% in market value. The word sustainable is also doing work: a 15% ROE earned in a benign credit year, before loan losses normalise, is not the same as 15% through a cycle. A stress-testing team cares because a bank trading below book is telling you the market doubts its ROE or its asset values.
Where candidates lose it
The common miss is answering Rs 20,000 crore, treating book value as the value of a bank. Book is only the starting point; the premium or discount comes entirely from ROE against the cost of equity.
The second is plugging 15% and 12% into a P/E formula without growth and getting lost. Say the price to book shortcut out loud, then back it up with earnings of Rs 3,000 crore at a P/E of 10.
What the interviewer asks next
- Loan losses rise and sustainable ROE falls to 10%. What happens to the market capitalisation?
- What does a bank trading at 0.6 times book tell you about how the market views its loan book?
- Why might a bank with a high CET1 ratio still earn a low ROE?
Asked at Scotiabank, Risk, Toronto, 2025 (Wall Street Oasis):
The market cap of the bank
088A treasury holds Rs 500 crore of government bonds with a modified duration of 6. Daily changes in yield have a standard deviation of 6 basis points. What is the one-day 99% VaR?UBSAnonymous employee in · 2020
Try it first
What is the position's DV01, the loss for a one basis point rise in yield?
Show the worked solution
About Rs 4.19 crore. The position loses Rs 500 crore times 6 times 0.0001, Rs 30 lakh, for each basis point rise in yield. A 99% one-day rise is 2.33 times 6 basis points, about 14 basis points. Rs 30 lakh times 13.96 is Rs 4.19 crore. It assumes normal yield changes and a linear price response.
Why start from DV01 instead of a price volatility?
A taxi fare is a rate per kilometre times the distance. You would not guess the fare directly; you would multiply. For a bond, DV01 is the rupee rate per basis point and the yield move is the distance, so VaR is DV01 times the yield move at the chosen confidence. Yield volatility is what the market data gives you, and duration converts it to rupees. Guessing a price volatility for the bond skips the step the interviewer wants to see.
A Rs 500 crore position with duration 6 loses Rs 30 lakh per basis point; a 99% daily yield rise is 2.33 times 6 basis points, 14.0 basis points, so the one-day 99% VaR is Rs 4.19 crore, the loss on the worst 1% of days. The relationshipP position value, Rs 500 crore D modified duration, 6 z 2.33, the one-sided 99% point sigma_bp daily standard deviation of yield, 6 bp What it says in wordsMultiply rupees lost per basis point by the yield rise that is exceeded only one day in a hundred.What does this number leave out?
Three things, and a treasury risk manager names them unprompted. The estimate assumes yield changes are normal, that the price responds in a straight line, and that every bond in the book moves with the same yield. Fat tails make a 14 basis point day more common than the normal says. Convexity makes the true loss slightly smaller than the linear figure. And a book spread along the curve has curve risk: if short yields rise and long yields do not, one DV01 figure misses it. Over ten days, the square-root rule would scale this to about Rs 13.2 crore, if daily moves are independent.
Also say which way hurts. A holder of bonds loses when yields rise, so the one-sided 99% point on the upside of yields is the one that matters, which is why the figure uses 2.33 and not the two-sided 2.58.
Where candidates lose it
The usual slip is a units error: forgetting that a basis point is 0.0001 and producing a VaR a hundred times too large or too small. Say DV01 out loud first, Rs 30 lakh a basis point, and the rest follows.
The other is using 2.58 because 99% sounds like a two-sided number. VaR is a one-sided loss measure, so the multiplier is 2.33.
What the interviewer asks next
- What is the 99% expected shortfall under the same normal assumption?
- The book holds 2-year and 10-year bonds with the same total DV01. What risk does one number hide?
- How would convexity change the VaR for a 300 basis point stress?
Asked at UBS, Risk Management, Anonymous employee in, 2020 (Wall Street Oasis):
Calculate VAR
093A company's depreciation rises by Rs 10 crore and the tax rate is 25%. Walk the change through the income statement, the cash flow statement and the balance sheet.Moody'sNew York · 2022
Try it first
What happens to the company's cash?
Show the worked solution
Net income falls Rs 7.5 crore, cash rises Rs 2.5 crore, and both sides of the balance sheet fall Rs 7.5 crore. Pre-tax profit drops 10, tax drops 2.5, so net income drops 7.5. The cash flow statement adds back the non-cash 10, leaving cash up 2.5. On the balance sheet, cash is up 2.5 and fixed assets down 10, total assets down 7.5, matched by retained earnings down 7.5.
How does a non-cash charge put cash in the bank?
Think of a shopkeeper who can deduct the wear on his delivery van from his taxable income. Writing the van down costs him nothing today, since he paid for it years ago, but it lowers the tax bill he pays this year. Depreciation moves no cash itself; the only cash effect is the tax it saves, 25% of Rs 10 crore, Rs 2.5 crore. That tax shield is the whole answer on cash, and the three statements are the bookkeeping that proves it.
Extra depreciation of Rs 10 crore cuts net income by Rs 7.5 crore after a Rs 2.5 crore tax saving, the add-back leaves cash from operations up Rs 2.5 crore, and the balance sheet shows cash up 2.5 and fixed assets down 10, total assets down 7.5, matched by retained earnings down 7.5. What order do you walk it in?
Income statement first, because everything starts from net income. Then the cash flow statement: net income down 7.5, add back the 10 of depreciation because no cash left, and cash from operations is up 2.5. Finish on the balance sheet and prove it balances: assets fall by 10 of fixed assets less 2.5 of extra cash, 7.5, and equity falls by the 7.5 of lower retained earnings. Stating that both sides moved by the same 7.5 is the check the interviewer is waiting for.
The relationshipDelta NI change in net income 0.25 tax rate +10 the depreciation added back because no cash was spent What it says in wordsNet income falls by the after-tax charge, and cash rises by the tax the charge saved.Why does a credit analyst care?
Because a lender is repaid in cash, not in profit. A company whose earnings fall because of higher depreciation may be generating slightly more cash, so interest cover measured on net income and on cash flow can move in opposite directions. The limit: the tax saving is real only if the company is paying tax; a loss-making company gets no cash benefit this year, and a higher depreciation charge often reflects heavy past capital spending that the analyst should look at directly.
Where candidates lose it
The usual slip is saying cash is unchanged because depreciation is non-cash, which forgets the tax line. The second most common is cash down 7.5, following net income and forgetting the add-back.
The other loss is not closing the balance sheet. Say the two sides out loud, assets down 7.5 and equity down 7.5, so the interviewer hears that it balances.
What the interviewer asks next
- Walk through the same change if the company is loss-making and pays no tax.
- Now the company buys Rs 50 crore of equipment with cash. Walk the three statements.
- Why might a rating agency look at EBITDA rather than net income for this company?
Asked at Moody's, Generalist, New York, 2022 (Wall Street Oasis):
how the 3 statements are related / connected.
098A delinquency model was trained on a sample oversampled to 50% bad accounts, while the true bad rate is 2%. It scores an applicant at 30%. What is that applicant's probability of going bad in the real population?Neuberger BermanChicago · 2024
Try it first
Roughly what is the applicant's real-world probability of going bad?
Show the worked solution
About 0.87%. Oversampling inflates every score by the same factor on the odds. The sample's odds of bad are 50 to 50; the population's are 2 to 98, one forty-ninth as high. The applicant's sample odds are 30 to 70, 0.429; divide by 49 to get 0.00875, which is a probability of 0.87%. The model ranks correctly but must be recalibrated.
Why does oversampling change the score?
Suppose a doctor learns to spot a rare illness from a teaching ward where half the patients have it. In a village clinic, where only one patient in fifty has it, the same symptoms mean far less. A model trained on a 50% bad sample has learned a base rate 25 times too high, so every score it produces is inflated, even though the ordering from safest to riskiest is still right. Oversampling is done on purpose, to give the model enough bad accounts to learn from, so the correction is a routine step, not a sign of a broken model.
On a log-odds scale, oversampling shifts every score by the same amount, the log of 49, so a sample score of 30% maps to 0.87% in the real population and a sample score of 50% maps back to exactly the 2% base rate. The relationshippi true bad rate in the population, 2% s bad rate in the training sample, 50% odds probability of bad divided by probability of good What it says in wordsMultiply the model's odds by the ratio of the population's odds of bad to the sample's; then convert odds back to a probability.How do you sanity-check the answer?
Take an applicant the model scores at exactly 50%, the sample average. After correction that applicant should sit at the population average, and the formula gives exactly 2%, which confirms the factor. Then note that 30% is below the sample average, so the corrected figure should be below 2%, and 0.87% is. The shortcut of scaling the probability by 2% over 50% gives 1.2%, which is close for low scores but breaks down badly for high ones: a sample score of 90% would scale to 3.6%, while the correct answer is about 15.5%.
Say what a validator would do next. The correction assumes the good and bad accounts were each sampled at random within their class. If the bad accounts were drawn from a different period or channel, the model's ranking may also be off, and the fix is to check calibration on a recent, unsampled holdout, comparing predicted and actual bad rates by score band.
Where candidates lose it
The first trap is reporting 30% as the applicant's risk, which overstates it about thirty-fivefold and would, in a pricing or provisioning model, charge far too much for the loan.
The second is correcting the probability instead of the odds. It is close at low scores and wrong at high ones; say you adjust the odds, and check with the 50% applicant.
What the interviewer asks next
- What does the corrected probability become for an applicant the model scores at 90%?
- Does oversampling change the model's Gini or only its calibration?
- How would you recalibrate if the true bad rate itself shifts in a downturn?
Asked at Neuberger Berman, Risk, Chicago, 2024 (Wall Street Oasis):
How would you approach building a delinquency model?
099A desk's one-day 99% VaR is Rs 12 crore. What is the ten-day VaR under the usual scaling rule, and what has to be true about daily P&L for that rule to hold?BlackRockNew York · 2026
Try it first
What is the ten-day VaR under the usual rule?
Show the worked solution
About Rs 37.9 crore, Rs 12 crore times the square root of 10. The rule works because the variance of a sum of independent daily P&Ls is the sum of their variances, so volatility grows with the square root of time. It needs daily P&L to be independent, identically distributed with zero mean, and the position to stay unchanged for ten days.
Why the square root, not ten times?
Walk ten steps where each step is a coin toss, left or right. You rarely end ten steps away; the lefts and rights partly cancel, and the typical distance is about three steps, the square root of ten. Independent daily gains and losses partly offset each other, so the spread of the ten-day total grows with the square root of ten, not with ten. Multiplying by ten assumes all ten days are bad days in the same direction, which is the one path the independence assumption rules out.
The relationshipVaR_1 one-day 99% VaR, Rs 12 crore sqrt(10) the growth in volatility over ten independent days What it says in wordsMultiply the one-day VaR by the square root of the number of days, because variances of independent days add.From Rs 12 crore at one day, square-root scaling gives Rs 37.9 crore at ten days while simply adding days gives Rs 120 crore; with a daily autocorrelation of 0.2 the ten-day figure rises to Rs 45.5 crore. What breaks the rule, and in which direction?
Four things, and a market risk interviewer wants at least two. If losses cluster, with one bad day tending to follow another, the square root understates ten-day risk: an autocorrelation of 0.2 lifts the figure from Rs 37.9 crore to about Rs 45.5 crore. Volatility that rises after a shock, fat tails that do not shrink toward normal over a few days, and a position that cannot be cut or that the desk keeps adding to all push the same way. Mean reversion in P&L pushes the other way. The rule also assumes the portfolio is fixed for ten days, which a desk that trades daily does not satisfy.
Say where the rule is used: regulatory market risk capital has long been built on a ten-day horizon, and many banks produce it by scaling one-day VaR. The standards now also require horizons that differ by the liquidity of the risk, which is a direct admission that ten days of independence is not true for every position; confirm the current rules before quoting any detail.
Where candidates lose it
The fast wrong answer is Rs 120 crore, adding ten daily VaRs. It assumes perfect positive dependence across days, the opposite of the rule's premise.
The larger miss is giving Rs 37.9 crore without the conditions. The question asks what must be true: independence, stable distribution, and a static position, and which way the answer moves when they fail.
What the interviewer asks next
- What is the 250-day VaR under the same rule, and why would nobody trust it?
- How would you scale expected shortfall to ten days?
- Your desk's P&L shows positive autocorrelation. How do you adjust the ten-day figure?
Asked at BlackRock, Restructuring, New York, 2026 (Wall Street Oasis):
Techincal and behavioral (VAR, market views, stock valuation) why blackrock, python experience?
