Financial Analysis puzzles, solved step by step
- Puzzles
- 100
- Traced to a firm
- 47
- Topics
- 13
- Hard
- 30
028The correlation between X and Y is 0.2 and the correlation between Y and Z is 0.5. What range of values can the correlation between X and Z take?Tower Research CapitalNew York · 2019
Try it first
Pick the range before any algebra.
Show the worked solution
Anywhere from about -0.75 to 0.95. Read each correlation as the cosine of an angle between two arrows. X is 78.5 degrees from Y, and Z is 60 degrees from Y. Z can swing to the same side as X, leaving them 18.5 degrees apart, or to the other side, 138.5 degrees apart. The cosines of those angles are 0.9485 and -0.7485.
Why can a correlation be drawn as an angle?
Think of three people walking away from the same lamp post. Knowing how far apart the first two point, and how far apart the second and third point, limits how far apart the first and third can point, but only loosely. If you standardise each variable, its correlation with another is the cosine of the angle between them, so correlations must behave like angles in space. A correlation of 0.2 is an angle of 78.5 degrees; 0.5 is 60 degrees.
X sits 78.5 degrees from Y and Z sits 60 degrees from Y, so the angle between X and Z runs from 18.5 to 138.5 degrees, which puts their correlation anywhere from -0.75 to 0.95; two correlations of 0.9 would pin it much tighter, from 0.62 to 1. The relationshiprho XY, rho YZ the two known correlations, 0.2 and 0.5 square root how much room the weak links leave, the product of the two sines What it says in wordsThe range is centred on the product of the known correlations and is as wide as the product of how far each is from perfect.Where does the formula come from, and when does it bite?
The three-by-three correlation matrix must not imply a negative variance for any mix of X, Y and Z, which means its determinant cannot go below zero. Solving that condition gives the formula above, the cosine rule for the difference and sum of two angles. The constraint is loose when the known correlations are weak and tight when they are strong. With 0.2 and 0.5, almost the whole scale stays open. With 0.9 and 0.9, X and Z must correlate at least 0.62: two things each closely tied to Y cannot drift far from each other. Say the practical use: a risk model that fills in missing correlations by hand can break this rule and produce a matrix that is not valid.
Where candidates lose it
The fast wrong answer is 0.10, the product, as if correlation passed along a chain. The product is the centre of the range, not the answer. The other wrong answer is that nothing can be said, which ignores that angles must fit together.
Candidates who know the formula often cannot say why it holds. Draw the arrows, say cosine of an angle, and the formula follows in one line.
What the interviewer asks next
- If X and Y have correlation 0.9 and Y and Z 0.9, what is the minimum correlation of X and Z?
- Can three variables all have pairwise correlation of -0.6?
- Why might a hand-edited correlation matrix in a risk model fail to invert?
Asked at Tower Research Capital, Prop Trading, New York, 2019 (Wall Street Oasis):
What if the correlation between X and Y is 0.2 and the correlation between Y and Z is 0.5.
061Two stocks have a correlation of minus 0.3 between their daily returns within each month, yet their monthly returns across a year have a correlation of plus 0.6. How can both be true?Squarepoint CapitalMontreal · 2024
Try it first
Which explanation fits?
Show the worked solution
Both hold when the two stocks share a slow driver that changes month to month, while their day-to-day moves push in opposite directions. On any one day the shared drift is a small part of each move and the opposing noise wins, so the daily correlation is negative. Over a month the drift adds up 21 times while the noise partly cancels, so the shared part dominates and the correlation turns positive.
How can two stocks move apart by the day but together by the month?
Take two neighbours' electricity meters. On a given day one runs high because guests are staying while the other family is away, so daily readings look opposed. But both bills climb every summer when the air conditioners come on. Correlation is not a fixed property of two assets; it belongs to a horizon, because different forces drive short moves and long moves. Daily returns are dominated by trading noise and stock-specific news; monthly returns by sector and macro trends.
Both stocks follow the same monthly drift while their daily wiggles run opposite, and because the shared drift's variance grows with the square of the horizon, it explains 9.7% of daily variance but 69.2% of monthly variance. Why does the shared driver win over a month?
Write each daily return as a shared drift plus the stock's own noise. Over 21 days the drift adds up in a straight line, so a month's drift is 21 times a day's and its variance is 21 x 21 = 441 times larger. Noise does not line up day after day, so its variance grows only 21 times. Whatever the two stocks share pulls harder the longer you hold them, because shared moves stack while unshared moves wash out. With daily noise variance of 1, a noise correlation of minus 0.3 and a drift variance of 0.107, the monthly correlation comes out at exactly plus 0.6.
The relationshipsigma_d^2 variance of the shared daily drift, 0.107 sigma_e^2 variance of each stock's own daily noise, set to 1 rho_e correlation of the daily noise between the two stocks, minus 0.3 21 trading days in a month What it says in wordsOver a month the shared drift is weighted by 441 and the noise by only 21, so a drift that is a tenth of daily variance ends up driving the monthly correlation.The model also shows how sensitive the result is. Halve the drift variance and the monthly correlation drops from 0.6 to 0.39. Read across the whole year, daily returns would show a correlation of about -0.17: still negative, because on any single day the drift is too small to matter.
What else could cause it, and what would you check?
Two other mechanisms produce the same pattern. A lead-lag, where one stock reacts to shared news a day later, hides co-movement in daily data that monthly data captures. And short-term trading that pushes money from one stock into the other, such as a pairs or index rebalancing flow, creates opposing daily moves inside a shared trend. Then question the evidence. Twelve monthly points give a correlation of 0.6 a standard error of about 0.19, so the true figure could plausibly be anywhere from about 0.2 to near 1. Check other years before building a hedge on it, because a hedge ratio estimated on daily data can have the wrong sign for a position held for months.
Where candidates lose it
The common answer is that it is impossible, because a monthly return is just the sum of the daily ones. That treats correlation as if it were additive, when sums mix components that grow at different speeds with the horizon.
The other weak answer is waving at noise: monthly data has only twelve points, so it is unreliable. That is a fair caveat, but it does not explain a positive sign; the interviewer wants the shared-driver mechanism first and the sample-size warning second.
What the interviewer asks next
- You hedge a three-month position using a hedge ratio from daily data. What goes wrong?
- How would a one-day lead-lag between the stocks show up in daily and weekly correlations?
- How many years of monthly data would you want before trusting a 0.6 correlation?
Asked at Squarepoint Capital, Hedge Fund, Montreal, 2024 (Wall Street Oasis):
correlation can be negative intra-month but positive across a year, how?
