{"categories":["Risk Management"],"contentHtml":"<h6>Comparing Multiple Assets</h6><p>Let’s say we want to invest in long-term U.S. government bonds. The monthly average return of this is 0.47%, half of the equity market, and 2.3% standard deviation, less than half of the equity market. An investor must decide how much of each of these they want to invest in. Their ratio of volatility to return is similar, so it’s a tough decision. Similarly, a bank must decide how much leverage they can assume based on their assets divided by their equity, and how volatile they want their assets to be.</p><h6>Risk-Adjusted Performance Measurement</h6><p>The simplest metric for this is the <strong>Sharpe ratio</strong> (SR), the ratio of the average rate of return <math><mi>𝜇</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo stretchy=\"false\">)</mo></math> in excess of the risk-free rate <math><msub><mi>𝑅</mi><mi>𝐹</mi></msub></math> to the absolute risk:</p><p><math><mi>𝑆</mi><mi>𝑅</mi><mo>=</mo><mfrac><mrow><mo stretchy=\"false\">[</mo><mi>𝜇</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo lspace=\"0em\" rspace=\"0em\">−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mo stretchy=\"false\">]</mo></mrow><mrow><mi>𝜎</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo stretchy=\"false\">)</mo></mrow></mfrac></math></p><p>The Sharpe ratio uses absolute terms, and it can use the VAR instead of return volatility in the denominator. Graphically, when comparing volatility and expected return, the Sharpe ratio is the slope of the line starting from cash (0 volatility, risk-free return) to the point of the instrument.</p><p>For relative risk, the <strong>information ratio</strong> (IR) is the ratio in excess of the benchmark:</p><p><math><mi>𝐼</mi><mi>𝑅</mi><mo>=</mo><mfrac><mrow><mo stretchy=\"false\">[</mo><mi>𝜇</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo lspace=\"0em\" rspace=\"0em\">−</mo><mi>𝜇</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝐵</mi></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo stretchy=\"false\">]</mo></mrow><mrow><mi>𝜎</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo lspace=\"0em\" rspace=\"0em\">−</mo><msub><mi>𝑅</mi><mi>𝐵</mi></msub><mo stretchy=\"false\">)</mo></mrow></mfrac></math></p><p>An illustrative example is that you could have a portfolio with <math><msub><mi>𝑅</mi><mi>𝑓</mi></msub><mo>=</mo><mn>3</mn><mi>%</mi></math>, <math><mi>𝜇</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mo form=\"prefix\">−</mo><mn>6</mn><mi>%</mi></math>, and <math><mi>𝜎</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑃</mi></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>25</mn><mi>%</mi></math>, which is negative and terrible. But if the benchmark has a return of −10% and TEV of 8%, then the IR is <math><mo stretchy=\"false\">[</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mn>6</mn><mi>%</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>−</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mn>10</mn><mi>%</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo form=\"postfix\" stretchy=\"false\">]</mo><mi>/</mi><mn>8</mn><mi>%</mi><mo>=</mo><mn>0.50</mn></math> which is positive and therefore good. So even though the absolute performance is bad, the relative performance is good.</p><p>You can calculate TEV from <math><msub><mi>𝜎</mi><mi>𝑃</mi></msub></math> and <math><msub><mi>𝜎</mi><mi>𝐵</mi></msub></math>, in addition to correlation <math><mi>𝜌</mi></math>:</p><p><math><msup><mi>𝜔</mi><mn>2</mn></msup><mo>=</mo><msubsup><mi>𝜎</mi><mi>𝑃</mi><mn>2</mn></msubsup><mo>−</mo><mn>2</mn><mi>𝜌</mi><msub><mi>𝜎</mi><mi>𝑃</mi></msub><msub><mi>𝜎</mi><mi>𝐵</mi></msub><mo>+</mo><msubsup><mi>𝜎</mi><mi>𝐵</mi><mn>2</mn></msubsup></math></p><p>The IR is used to judge active management skills, with an IR of 0.50 being “good”.</p><p>One disadvantage is that TEV does not adjust for average returns (<strong>Open question:</strong> give a more illustrative example of this)</p><h6>Mixing Assets</h6><p>A portfolio can be divided between assets, giving weight to each asset, where the portfolio weights sum to 1:</p><p><math><msubsup><mo lspace=\"0em\">∑</mo><mrow><mi>𝑖</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑁</mi></msubsup><msub><mi>𝑤</mi><mi>𝑖</mi></msub><mo>=</mo><mn>1</mn></math></p><p>Let’s try and shift a portfolio of all bonds to all weights. On the graph of volatility to return, this moves the point on a line. This is called an <strong>asset allocation</strong> problem. The shape of the line depends on the correlation coefficient <math><mi>𝜌</mi></math>, which measures how related the assets are and how much they move together. The line is curved, which means that diversifying your portfolio with riskier assets (equities) can give you the same volatility as the pure bond portfolio. Given <math><mi>𝜌</mi><mo>=</mo><mn>0.13</mn></math>, a portfolio with 77% bonds and 23% stocks:</p><p><math><msubsup><mi>𝜎</mi><mi>𝑃</mi><mn>2</mn></msubsup><mo>=</mo><msup><mn>0.77</mn><mn>2</mn></msup><msup><mn>8.1</mn><mn>2</mn></msup><mo>+</mo><mn>2</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mn>0.77</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mn>0.23</mn><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>0.13</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mn>8.1</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mn>19.2</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><msup><mn>0.23</mn><mn>2</mn></msup><msup><mn>19.2</mn><mn>2</mn></msup><mo>=</mo><mn>65.56</mn></math></p><p>The volatility is the square root, which is 8.1%, which is the same volatility that bonds have, but a return of 6.9% compared to 5.6%</p><h6>Efficient Portfolios</h6><h5>Risk-adjusted Performance</h5><p>We refer to the <strong>Sharpe ratio</strong></p><p><math><mi>𝑆</mi><msub><mi>𝑅</mi><mi>𝑖</mi></msub><mo>=</mo><mfrac><mrow><msub><mi>𝜇</mi><mi>𝑖</mi></msub><mo lspace=\"0em\" rspace=\"0em\">−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub></mrow><msub><mi>𝜎</mi><mi>𝑖</mi></msub></mfrac></math></p><p>The interest rate is free money for 5%, so why should I bother taking any risk beyond the 5%?</p><p>intuitive weighting of portfolios:</p><p><math><msub><mi>𝑤</mi><mi>𝑖</mi></msub><mo>=</mo><mfrac><mrow><mi>𝑆</mi><msub><mi>𝑅</mi><mi>𝑖</mi></msub></mrow><mrow><msubsup><mo lspace=\"0em\">∑</mo><mrow><mi>𝑗</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑁</mi></msubsup><mi>𝑆</mi><msub><mi>𝑅</mi><mi>𝑗</mi></msub></mrow></mfrac></math></p><p>you can see data from the yahoo api for public traded apis from <a href=\"http://quantstats.shinyapps.com/yahoo\" rel=\"noopener noreferrer\">quantstats.shinyapps.com/yahoo</a></p><p>Annualize daily returns by multiplying by <math><msqrt><mn>252</mn></msqrt></math>, average number of trading days in a year. Why?</p><p>basic return formula:</p><p><math><msub><mi>𝑟</mi><mi>𝑖</mi></msub><mo>=</mo><mfrac><mrow><msub><mi>𝑃</mi><mn>1</mn></msub><mo lspace=\"0em\" rspace=\"0em\">−</mo><msub><mi>𝑃</mi><mn>0</mn></msub></mrow><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo>=</mo><mfrac><mrow><mi mathvariant=\"normal\">Δ</mi><msub><mi>𝑃</mi><mn>0</mn></msub></mrow><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo rspace=\"0em\">,</mo><mspace width=\"2em\"></mspace><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">log</mo><mtext>-return</mtext><mo>=</mo><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">log</mo><mrow><mo>(</mo><mfrac><msub><mi>𝑃</mi><mn>1</mn></msub><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo>)</mo></mrow></math></p><p>If you annualize, it becomes</p><p><math><msub><mi>𝑟</mi><mi>𝑖</mi></msub><mo>=</mo><mfrac><mrow><msub><mi>𝑃</mi><mn>252</mn></msub><mo lspace=\"0em\" rspace=\"0em\">−</mo><msub><mi>𝑃</mi><mn>0</mn></msub></mrow><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo rspace=\"0em\">,</mo><mspace width=\"2em\"></mspace><mtext>annual log-return</mtext><mo>=</mo><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">log</mo><mrow><mo>(</mo><mfrac><msub><mi>𝑃</mi><mn>252</mn></msub><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo>)</mo></mrow></math></p><p>You can show the return as</p><p><math><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">log</mo><mfrac><msub><mi>𝑃</mi><mn>1</mn></msub><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo>+</mo><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">log</mo><mfrac><msub><mi>𝑃</mi><mn>2</mn></msub><msub><mi>𝑃</mi><mn>1</mn></msub></mfrac><mo>+</mo><mi>…</mi><mo>+</mo><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">log</mo><mfrac><msub><mi>𝑃</mi><mn>252</mn></msub><msub><mi>𝑃</mi><mn>251</mn></msub></mfrac></math></p><p>or</p><p><math><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo>=</mo><msubsup><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑑</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>252</mn></msubsup><msub><mi>𝑅</mi><mi>𝑑</mi></msub></math></p><p>summation of expectations is the expectation of the summation</p><p>mean is <math><msub><mi>𝜇</mi><mi>𝐴</mi></msub><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>252</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><msub><mi>𝜇</mi><mi>𝑑</mi></msub></math></p><p>deviation is <math><msubsup><mi>𝜎</mi><mi>𝐴</mi><mn>2</mn></msubsup><mo>=</mo><mi>𝑉</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>252</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><msubsup><mi>𝜎</mi><mi>𝑑</mi><mn>2</mn></msubsup></math></p><p>summation of variances is not variances of summations unless variables are iid</p><p><math><mi>𝑆</mi><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo>=</mo><mfrac><msub><mi>𝜇</mi><mi>𝐴</mi></msub><msub><mi>𝜎</mi><mi>𝐴</mi></msub></mfrac><mo>=</mo><mfrac><mrow><msub><mi>𝜇</mi><mi>𝑑</mi></msub><mo lspace=\"0em\" rspace=\"0em\">×</mo><mn>252</mn></mrow><mrow><msub><mi>𝜎</mi><mi>𝑑</mi></msub><msqrt><mn>252</mn></msqrt></mrow></mfrac><mo>=</mo><mi>𝑆</mi><msub><mi>𝑅</mi><mi>𝑑</mi></msub><msqrt><mn>252</mn></msqrt></math></p><p>Portfolio construction next week</p><h5>Risk-Adjusted Performance (cont.)</h5><p>The annual return is <math><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo>=</mo><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">log</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mfrac><msub><mi>𝑃</mi><mn>252</mn></msub><msub><mi>𝑃</mi><mn>0</mn></msub></mfrac><mo stretchy=\"false\">)</mo></math></p><p>We argue that the expectation of <math><msub><mi>𝑅</mi><mi>𝐴</mi></msub></math> is simply the proof that it’s going to be <math><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>252</mn><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝑑</mi></msub><mo stretchy=\"false\">]</mo></math></p><p>And that the variance does as well</p><p><math><mi>𝕍</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝐴</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>252</mn><mi>𝕍</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝑑</mi></msub><mo stretchy=\"false\">]</mo></math></p><p>This one guy went to industry from academia. How come you moved? Can you give me a Sharpe ratio of 3. The market is about 0.5-0.6, 1 is good, 2 is great, 3 is exceptional.</p><h5>How Bad Things Can Get?</h5><p>That’s risk, in a nutshell.</p><p>You can imagine a stock going up in a straight line. You could also imagine the stock ending up higher, but bouncing around a lot. How do you express the volatility here? Let’s look at downside risk.</p><p>In a distribution, <math><mi>𝜎</mi></math> tells you how wide the distribution is.</p><h5>Portfolio Construction</h5><p>The professor constructed his portfolio for his pension looking for the highest return, and ended up on the upside because he had large market caps. He tells us to only invest in mutual funds, the risk premium is very worth it.</p><p>We can give better weights to stocks that have a higher Sharpe ratio.</p><p>We want a theoretically justified approach to setting our objective.</p><p>We want to maximize our return for a given level of risk, or minimize risk for a given return.</p><p>The <strong>mean variance model</strong> gives us the optimal portfolio. We have a vector of weights which is <math><mi>𝑤</mi></math>, with some rules that <math><msup><mi>𝑤</mi><mo>′</mo></msup><mn>1</mn><mo>=</mo><mn>1</mn></math> and <math><msup><mi>𝑤</mi><mo>′</mo></msup><mi>𝜇</mi><mo>=</mo><mi>𝑚</mi></math>. The weights all sum to 1, and weights of the vector of mean returns should hit the mean target <math><mi>𝑚</mi></math>, minimizing risk relative to <math><mi mathvariant=\"normal\">Σ</mi></math> the covariance matrix of asset returns</p><p><math><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">min</mo><msubsup><mi>𝜎</mi><mi>𝑝</mi><mn>2</mn></msubsup><mo>=</mo><msup><mi>𝑤</mi><mo>′</mo></msup><mi mathvariant=\"normal\">Σ</mi><mi>𝑤</mi></math></p><p>Let’s say I’m targeting 15% annual. When you have only two assets, this is easy because you only have two unknowns. It’s always solvable. But how do we solve this with more assets?</p><p>You end up with a curve that is perfectly solvable.</p><p>Let’s look at <math><mi mathvariant=\"normal\">Σ</mi></math> more closely. This has the variance of all of the stocks on the diagonal, which measures the volatility of each asset. We are also concerned with diversifying our portfolio, so we also want to minimize covariance between assets. Each covariance <math><msub><mi>𝜎</mi><mrow><mi>𝑎</mi><mi>𝑏</mi></mrow></msub><mo>=</mo><mi>𝜌</mi><msub><mi>𝜎</mi><mi>𝑎</mi></msub><msub><mi>𝜎</mi><mi>𝑏</mi></msub></math>.</p><p>If we’re available to capture <math><mi>𝜇</mi></math> and <math><mi>𝜎</mi></math>, we can get the reward and risk.</p><p>There is a slight inverse correlation between bond volume and stock volume because people will put their money in bonds when the market sucks.</p><p>The optimal solution is given by the closed form solution:</p><p><math><mi>𝑤</mi><mo>=</mo><msub><mi>𝑤</mi><mn>0</mn></msub><mo>+</mo><mfrac><mn>1</mn><mi>𝐴</mi></mfrac><mi>𝐵</mi><mi>𝜇</mi></math></p><p>This says that I have two funds, a low-risk fund <math><msub><mi>𝑤</mi><mn>0</mn></msub></math> also known as the global minimum variance portfolio (GMV) and a sophisticated fund that goes long and short in those stocks <math><mi>𝐵</mi><mi>𝜇</mi></math>, also considered <math><msub><mi>𝑤</mi><mn>1</mn></msub></math>. We can use the IEF (treasury bonds) and SPY (S&amp;P) as these, respectively. It actually doesn’t minimize risk to put all of our money in IEF because there’s no diversification. To minimize co-risk, we should invest a little in SPY.</p><p>Let’s consider the parameter <math><mi>𝐴</mi></math>. What happens if <math><mi>𝐴</mi></math> goes to <math><mi>∞</mi></math>? High <math><mi>𝐴</mi></math> values means we are very risk-averse and we invest a lot in the low-risk fund. The value of <math><msub><mi>𝑤</mi><mn>1</mn></msub></math> can be considered how leveraged or risky we are, if it’s very high then that will be the case.</p><p>We can repeat this experiment with different values of <math><mi>𝐴</mi></math>, which will give us a different set of weights for the optimal portfolio construction. We can calculate the mean and variance of all these portfolios, and if we graph this we can see the <strong>mean-variance efficient frontier</strong> (MVEF). This set of optimal portfolios has the minimum variance and maximum return for a given level of acceptable risk.</p><p>Part of the lab is going through the Excel spreadsheet, you can also code, Majeed says do both.</p><p>You can also modify this for Value at Risk but you lose the tractable closed-form solution. There is also SIVAR which does not violate convexity (<strong>Open question:</strong> look this up).</p><p>You can also construct special portfolios like the GMV portfolio. Let’s assume that the covariances of the matrix are all 0. Then the inverse of the matrix is just the reciprocal of every variance.</p><p>The Sharpe ratio portfolio has weight proportional to SR, and it can be an efficient portfolio.</p><h5>Capital Asset Pricing Model</h5><p>There are three aspects to it. There’s <math><mi>𝛼</mi></math>, which is the unique value of an asset. There’s <math><mi>𝛽</mi></math>, which is market risk. And there is <math><mi>𝜖</mi></math>, which represents residual errors.</p><p><math><msub><mi>𝑅</mi><mi>𝑖</mi></msub><mo>=</mo><mi>𝛼</mi><mo>+</mo><mi>𝛽</mi><msub><mi>𝑅</mi><mi>𝑚</mi></msub><mo>+</mo><msub><mi>𝜖</mi><mi>𝑖</mi></msub></math></p><p>The market is full of participants that are all making choices.</p><p>The CAPM is an equilibrium model between some assets and a limited supply. William Sharpe came up with it. There is a linear relationship of returns on stocks and exposure to market risk. Taking market risk should be compensated.</p><p>If I want to minimize risk, I’m going to choose the risk-free portfolio. Let’s say I have a risk-free asset. There’s technically no such thing, but short-term treasury bonds are the closest thing we can get. Long-term treasury bonds do not stay fixed, they change a lot actually. It is a theoretical fact that if you introduce the risk-free rate, the efficient frontier becomes a straight line instead of a curve.</p><p><math><mi>𝑤</mi><mo>=</mo><mfrac><mn>1</mn><mi>𝐴</mi></mfrac><msup><mi mathvariant=\"normal\">Σ</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝜇</mi><mo>−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mn>1</mn><mo stretchy=\"false\">]</mo></math></p><p>You can show analytically with a portfolio, the new frontier is</p><p><math><msub><mi>𝜇</mi><mi>𝑝</mi></msub><mo>=</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mo>+</mo><msub><mi>𝜎</mi><mi>𝑃</mi></msub><mi>𝜃</mi></math></p><p><strong>Open question:</strong> look into <math><mi>𝜃</mi></math> for extra credit</p><p>This is called the Sharpe portfolio or the tangent portfolio because it’s tangent to the line of the Sharpe ratio. If we have the most efficient portfolio, the demand for the most risky assets will be determined by the efficient portfolio. All agents in the market have the same risk aversion and they will pick the same asset.</p><p>I had a friend tell me that he trades crypto and they do technical analysis, and it works because everyone else is using technical analysis.</p><p>This becomes the market portfolio because everyone’s using the same portfolio.</p><p>And in fact, this is how you derive the CAPM. <math><mi>𝐴</mi></math> constitutes the market portfolio.</p><p>What is the covariance between this vector of returns and the market portfolio? <math><mi>𝐶</mi><mi>𝑜</mi><mi>𝑣</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑅</mi><mo>,</mo><msub><mi>𝑅</mi><mi>𝑀</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi mathvariant=\"normal\">Σ</mi><msup><mi>𝑤</mi><mo>∗</mo></msup></math></p><p>The end result of CAPM states that the mean return on each risky asset is</p><p><math><msub><mi>𝜇</mi><mi>𝑖</mi></msub><mo>−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mo>=</mo><msub><mi>𝛽</mi><mi>𝑖</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝜇</mi><mi>𝑝</mi></msub><mo>−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mo stretchy=\"false\">)</mo></math></p><p>The risk premium <math><msub><mi>𝛽</mi><mi>𝑖</mi></msub></math> is how much you are exposed to the market, which increases compensation.</p><p><math><msub><mi>𝛽</mi><mi>𝑖</mi></msub><mo>=</mo><mfrac><msub><mi>𝜎</mi><mrow><mi>𝑖</mi><mi>𝑝</mi></mrow></msub><msubsup><mi>𝜎</mi><mi>𝑝</mi><mn>2</mn></msubsup></mfrac></math></p><p>Example: TSLA has a <math><mi>𝛽</mi></math> of 2. This means that if the market swings, TSLA swings twice as much.</p><p>Leveraged ETFs (SPXL) gives you 3 times leverage on the market. Experimentally, it’s about 3.11</p><p>How realistic is this model? In equilibrium, this model should represent the relationship. Let’s collect data. If the data follows the line, then the theory is correct. The model exists to explain reality. It says that the relationship is linear, so in order for the theory to be correct, reality must also be linear. We can also think of this more strictly using regression modeling when we are benchmarking.</p><p>We can price the return on an asset by</p><p><math><msub><mi>𝑅</mi><mrow><mi>𝑖</mi><mo rspace=\"0em\">,</mo><mi>𝑡</mi></mrow></msub><mo>−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mo>=</mo><msub><mi>𝛼</mi><mi>𝑖</mi></msub><mo>+</mo><msub><mi>𝛽</mi><mi>𝑖</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑅</mi><mi>𝑀</mi></msub><mo>,</mo><mi>𝑡</mi><mo>−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><msub><mi>𝜖</mi><mrow><mi>𝑖</mi><mo rspace=\"0em\">,</mo><mi>𝑡</mi></mrow></msub></math></p><p>which when you take the expectation on both sides gives the same formula as before, as <math><mi>𝛼</mi></math> and <math><mi>𝜖</mi></math> disappear.</p><p>Let’s think about variance in price.</p><p><math><mi>𝕍</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝑖</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><msup><mi>𝛽</mi><mn>2</mn></msup><mi>𝕍</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝑅</mi><mi>𝑀</mi></msub><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>+</mo><mi>𝕍</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msub><mi>𝜖</mi><mi>𝑖</mi></msub><mo stretchy=\"false\">]</mo></math></p><p><math><msubsup><mo lspace=\"0em\">∑</mo><mrow><mi>𝑖</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑁</mi></msubsup><msubsup><mi>𝜎</mi><mi>𝑖</mi><mn>2</mn></msubsup><mo>=</mo><msubsup><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑖</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑁</mi></msubsup><msubsup><mi>𝛽</mi><mi>𝑖</mi><mn>2</mn></msubsup><msubsup><mi>𝜎</mi><mi>𝑀</mi><mn>2</mn></msubsup><mo>+</mo><msubsup><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑖</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑁</mi></msubsup><msubsup><mi>𝜎</mi><mrow><mi>𝜖</mi><mo rspace=\"0em\">,</mo><mi>𝑖</mi></mrow><mn>2</mn></msubsup></math></p><p>Monthly volatility of SPY is 4%. TSLA has a lot of idiosyncratic risk at 20% (represented by <math><msub><mi>𝜎</mi><mi>𝜖</mi></msub></math>).</p><p>Portfolio volatility (<math><msubsup><mi>𝜎</mi><mi>𝑝</mi><mn>2</mn></msubsup></math>) is what we are concerned with.</p><p><math><msubsup><mi>𝜎</mi><mi>𝑝</mi><mn>2</mn></msubsup><mo>=</mo><mfrac><msubsup><mi>𝜎</mi><mi>𝑚</mi><mn>2</mn></msubsup><mi>𝑁</mi></mfrac><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mtext>avg</mtext><mrow><mo>(</mo><msub><mi>𝛽</mi><mi>𝑝</mi></msub><mo>)</mo></mrow><mo>+</mo><mfrac><mn>1</mn><mi>𝑁</mi></mfrac><msubsup><mo form=\"prefix\">∑</mo><mrow><mi>𝑖</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑁</mi></msubsup><msubsup><mi>𝜎</mi><mi>𝜖</mi><mn>2</mn></msubsup></math></p><p>If our number of stocks goes to infinity, the <math><mi>𝜖</mi></math> shrinks to 0, and we get rid of idiosyncratic risk, which is part of the wisdom of diversification.</p><h5>Relative Performance Measures</h5><p>Sharpe ratio doesn’t necessarily take into account systematic risk factor, but you can replace volatility in the formula with <math><msub><mi>𝜎</mi><mi>𝑝</mi></msub></math>.</p><p>The Treynor ratio only considers systematic risk i.e.&nbsp;exposure to the market, because when you’re comparing two funds you don’t care about the actual market risk since it’s the same between them: <math><mi>𝑇</mi><msub><mi>𝑅</mi><mi>𝑖</mi></msub><mo>=</mo><mfrac><mrow><msub><mi>𝜇</mi><mi>𝑖</mi></msub><mo lspace=\"0em\" rspace=\"0em\">−</mo><msub><mi>𝑅</mi><mi>𝐹</mi></msub></mrow><msub><mi>𝛽</mi><mi>𝑖</mi></msub></mfrac></math></p><p>SPXL is not actually efficient if you use systematic risk because of how exposed it is.</p><p>Jensen’s <math><mi>𝛼</mi></math> is what matters for hedge funds. <strong>Open question:</strong> acquired podcast on rentech, nvidia</p><p>RenTech makes 60% annual returns.</p><p>You have to take leverage in order to benefit from the market, but then you become exposed. If the market tanks, you’re not going to be happy.</p><p>Decomposing the return of the portfolio.</p><p><math><msub><mi>𝛼</mi><mi>𝑝</mi></msub><mo>=</mo><msub><mi>𝜇</mi><mi>𝑝</mi></msub><mo>−</mo><msub><mi>𝛽</mi><mi>𝑝</mi></msub><msub><mi>𝜇</mi><mi>𝑀</mi></msub></math></p><p>The Jensen’s <math><mi>𝛼</mi></math></p><p>Let’s consider excess returns <math><mover accent=\"true\"><mi>𝑅</mi><mo>̃</mo></mover><mo>=</mo><mi>𝑅</mi><mo>−</mo><msub><mi>𝑅</mi><mi>𝑓</mi></msub></math>. The ratio is</p><p><math><mi>𝑆</mi><mi>𝑅</mi><mo>=</mo><mfrac><mrow><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mover accent=\"true\"><mi>𝑅</mi><mo>̃</mo></mover><mo stretchy=\"false\">]</mo></mrow><msqrt><mi>𝕍</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mover accent=\"true\"><mi>𝑅</mi><mo>̃</mo></mover><mo stretchy=\"false\">)</mo></msqrt></mfrac></math></p><p>Information Ratio replaces the risk-free rate with market rate (or some other benchmark). The error in this case is called the <strong>tracking error</strong>. We care about this because we don’t want to be behind the market where everything is priced.</p><p>When you’re working with volatility, if you pull a constant from inside to outside, you have to square it because volatility is expectation squared minus square of expectation</p><p>Benchmarking is important from a risk manager perspective.</p><p>we have confirmation bias for the results we like</p><p>Sharpe ratio of 2, but we don’t know where it comes from</p><h5>Risk Measurement Evaluation</h5><p>We have known knowns, which are known positions. Losses can still occur from bad luck and portfolio decisions. Value at Risk will tell us if our bad luck is too bad which indicates a flawed model.</p><p>Known unknowns could be ignoring important risk factors, or nonstationarity. When the market is bad, correlations increase because everyone starts selling.</p><p>We can simulate reality via <strong>back-testing</strong>. We have in-sample (IN) and out-of-sample (OUT) from our sample. We use the IN to get the weights of each portfolio using our mean-variance formulas, and then we test the model on the OUT sample.</p><p>What about <strong>stress testing</strong>? How much will your assets be able to sustain losses. Portfolio 2 has a big short position in the energy sector. If energy companies recover in the OUT period, the stressed asset return has an increase in variable <math><msub><mi>𝑈</mi><mi>𝑡</mi></msub></math> which increases volatility.</p><p><strong>Open question:</strong> do we need higher-order co-moments? See the paper.</p>","contentSourceFormat":"typst","contentTypst":"===== Comparing Multiple Assets\n<comparing-multiple-assets>\nLet's say we want to invest in long-term U.S. government bonds. The monthly average return of this is 0.47%, half of the equity market, and 2.3% standard deviation, less than half of the equity market. An investor must decide how much of each of these they want to invest in. Their ratio of volatility to return is similar, so it's a tough decision. Similarly, a bank must decide how much leverage they can assume based on their assets divided by their equity, and how volatile they want their assets to be.\n\n===== Risk-Adjusted Performance Measurement\n<risk-adjusted-performance-measurement>\nThe simplest metric for this is the #strong[Sharpe ratio] (SR), the ratio of the average rate of return $mu\\(R_P\\)$ in excess of the risk-free rate $R_F$ to the absolute risk:\n\n$S R = frac(\\[mu\\(R_P\\)- R_F\\], sigma\\(R_P\\))$\n\nThe Sharpe ratio uses absolute terms, and it can use the VAR instead of return volatility in the denominator. Graphically, when comparing volatility and expected return, the Sharpe ratio is the slope of the line starting from cash (0 volatility, risk-free return) to the point of the instrument.\n\nFor relative risk, the #strong[information ratio] (IR) is the ratio in excess of the benchmark:\n\n$I R = frac(\\[mu\\(R_P\\)- mu\\(R_B\\)\\], sigma\\(R_P - R_B\\))$\n\nAn illustrative example is that you could have a portfolio with $R_f = 3 %$, $mu\\(R_P\\)= - 6 %$, and $sigma\\(R_P\\)= 25 %$, which is negative and terrible. But if the benchmark has a return of -10% and TEV of 8%, then the IR is $\\[\\(- 6 %\\)-\\(- 10 %\\)\\]\\/8 % = 0.50$ which is positive and therefore good. So even though the absolute performance is bad, the relative performance is good.\n\nYou can calculate TEV from $sigma_P$ and $sigma_B$, in addition to correlation $rho$:\n\n$omega^2 = sigma_P^2 - 2 rho sigma_P sigma_B + sigma_B^2$\n\nThe IR is used to judge active management skills, with an IR of 0.50 being \"good\".\n\nOne disadvantage is that TEV does not adjust for average returns (#strong[Open question:] give a more illustrative example of this)\n\n===== Mixing Assets\n<mixing-assets>\nA portfolio can be divided between assets, giving weight to each asset, where the portfolio weights sum to 1:\n\n$sum_(i = 1)^N w_i = 1$\n\nLet's try and shift a portfolio of all bonds to all weights. On the graph of volatility to return, this moves the point on a line. This is called an #strong[asset allocation] problem. The shape of the line depends on the correlation coefficient $rho$, which measures how related the assets are and how much they move together. The line is curved, which means that diversifying your portfolio with riskier assets (equities) can give you the same volatility as the pure bond portfolio. Given $rho = 0.13$, a portfolio with 77% bonds and 23% stocks:\n\n$sigma_P^2 = 0.77^2 8.1^2 + 2 times 0.77 times 0.23\\(0.13 times 8.1 times 19.2\\)+ 0.23^2 19.2^2 = 65.56$\n\nThe volatility is the square root, which is 8.1%, which is the same volatility that bonds have, but a return of 6.9% compared to 5.6%\n\n===== Efficient Portfolios\n<efficient-portfolios>\n==== Risk-adjusted Performance\n<risk-adjusted-performance>\nWe refer to the #strong[Sharpe ratio]\n\n$S R_i = frac(mu_i - R_F, sigma_i)$\n\nThe interest rate is free money for 5%, so why should I bother taking any risk beyond the 5%?\n\nintuitive weighting of portfolios:\n\n$w_i = frac(S R_i, sum_(j = 1)^N S R_j)$\n\nyou can see data from the yahoo api for public traded apis from #link(\"http://quantstats.shinyapps.com/yahoo\")[quantstats.shinyapps.com/yahoo]\n\nAnnualize daily returns by multiplying by $sqrt(252)$, average number of trading days in a year. Why?\n\nbasic return formula:\n\n$r_i = frac(P_1 - P_0, P_0) = frac(Delta P_0, P_0)\\,#h(2em) log upright(\"-return\") = log (P_1 / P_0)$\n\nIf you annualize, it becomes\n\n$r_i = frac(P_252 - P_0, P_0)\\,#h(2em) upright(\"annual log-return\") = log (P_252 / P_0)$\n\nYou can show the return as\n\n$log P_1 / P_0 + log P_2 / P_1 + dots.h + log P_252 / P_251$\n\nor\n\n$R_A = sum_(d = 1)^252 R_d$\n\nsummation of expectations is the expectation of the summation\n\nmean is $mu_A = bb(E)\\[R_A\\]= 252 times mu_d$\n\ndeviation is $sigma_A^2 = V\\[R_A\\]= 252 times sigma_d^2$\n\nsummation of variances is not variances of summations unless variables are iid\n\n$S R_A = mu_A / sigma_A = frac(mu_d times 252, sigma_d sqrt(252)) = S R_d sqrt(252)$\n\nPortfolio construction next week\n\n==== Risk-Adjusted Performance (cont.)\n<risk-adjusted-performance-cont.>\nThe annual return is $R_A = log\\(P_252 / P_0\\)$\n\nWe argue that the expectation of $R_A$ is simply the proof that it's going to be $bb(E)\\[R_A\\]= 252 bb(E)\\[R_d\\]$\n\nAnd that the variance does as well\n\n$bb(V)\\[R_A\\]= 252 bb(V)\\[R_d\\]$\n\nThis one guy went to industry from academia. How come you moved? Can you give me a Sharpe ratio of 3. The market is about 0.5-0.6, 1 is good, 2 is great, 3 is exceptional.\n\n==== How Bad Things Can Get?\n<how-bad-things-can-get>\nThat's risk, in a nutshell.\n\nYou can imagine a stock going up in a straight line. You could also imagine the stock ending up higher, but bouncing around a lot. How do you express the volatility here? Let's look at downside risk.\n\nIn a distribution, $sigma$ tells you how wide the distribution is.\n\n==== Portfolio Construction\n<portfolio-construction>\nThe professor constructed his portfolio for his pension looking for the highest return, and ended up on the upside because he had large market caps. He tells us to only invest in mutual funds, the risk premium is very worth it.\n\nWe can give better weights to stocks that have a higher Sharpe ratio.\n\nWe want a theoretically justified approach to setting our objective.\n\nWe want to maximize our return for a given level of risk, or minimize risk for a given return.\n\nThe #strong[mean variance model] gives us the optimal portfolio. We have a vector of weights which is $w$, with some rules that $w' 1 = 1$ and $w' mu = m$. The weights all sum to 1, and weights of the vector of mean returns should hit the mean target $m$, minimizing risk relative to $Sigma$ the covariance matrix of asset returns\n\n$min sigma_p^2 = w' Sigma w$\n\nLet's say I'm targeting 15% annual. When you have only two assets, this is easy because you only have two unknowns. It's always solvable. But how do we solve this with more assets?\n\nYou end up with a curve that is perfectly solvable.\n\nLet's look at $Sigma$ more closely. This has the variance of all of the stocks on the diagonal, which measures the volatility of each asset. We are also concerned with diversifying our portfolio, so we also want to minimize covariance between assets. Each covariance $sigma_(a b) = rho sigma_a sigma_b$.\n\nIf we're available to capture $mu$ and $sigma$, we can get the reward and risk.\n\nThere is a slight inverse correlation between bond volume and stock volume because people will put their money in bonds when the market sucks.\n\nThe optimal solution is given by the closed form solution:\n\n$w = w_0 + 1 / A B mu$\n\nThis says that I have two funds, a low-risk fund $w_0$ also known as the global minimum variance portfolio (GMV) and a sophisticated fund that goes long and short in those stocks $B mu$, also considered $w_1$. We can use the IEF (treasury bonds) and SPY (S&P) as these, respectively. It actually doesn't minimize risk to put all of our money in IEF because there's no diversification. To minimize co-risk, we should invest a little in SPY.\n\nLet's consider the parameter $A$. What happens if $A$ goes to $oo$? High $A$ values means we are very risk-averse and we invest a lot in the low-risk fund. The value of $w_1$ can be considered how leveraged or risky we are, if it's very high then that will be the case.\n\nWe can repeat this experiment with different values of $A$, which will give us a different set of weights for the optimal portfolio construction. We can calculate the mean and variance of all these portfolios, and if we graph this we can see the #strong[mean-variance efficient frontier] (MVEF). This set of optimal portfolios has the minimum variance and maximum return for a given level of acceptable risk.\n\nPart of the lab is going through the Excel spreadsheet, you can also code, Majeed says do both.\n\nYou can also modify this for Value at Risk but you lose the tractable closed-form solution. There is also SIVAR which does not violate convexity (#strong[Open question:] look this up).\n\nYou can also construct special portfolios like the GMV portfolio. Let's assume that the covariances of the matrix are all 0. Then the inverse of the matrix is just the reciprocal of every variance.\n\nThe Sharpe ratio portfolio has weight proportional to SR, and it can be an efficient portfolio.\n\n==== Capital Asset Pricing Model\n<capital-asset-pricing-model>\nThere are three aspects to it. There's $alpha$, which is the unique value of an asset. There's $beta$, which is market risk. And there is $epsilon.alt$, which represents residual errors.\n\n$R_i = alpha + beta R_m + epsilon.alt_i$\n\nThe market is full of participants that are all making choices.\n\nThe CAPM is an equilibrium model between some assets and a limited supply. William Sharpe came up with it. There is a linear relationship of returns on stocks and exposure to market risk. Taking market risk should be compensated.\n\nIf I want to minimize risk, I'm going to choose the risk-free portfolio. Let's say I have a risk-free asset. There's technically no such thing, but short-term treasury bonds are the closest thing we can get. Long-term treasury bonds do not stay fixed, they change a lot actually. It is a theoretical fact that if you introduce the risk-free rate, the efficient frontier becomes a straight line instead of a curve.\n\n$w = 1 / A Sigma^(- 1)\\[mu - R_F 1\\]$\n\nYou can show analytically with a portfolio, the new frontier is\n\n$mu_p = R_F + sigma_P theta$\n\n#strong[Open question:] look into $theta$ for extra credit\n\nThis is called the Sharpe portfolio or the tangent portfolio because it's tangent to the line of the Sharpe ratio. If we have the most efficient portfolio, the demand for the most risky assets will be determined by the efficient portfolio. All agents in the market have the same risk aversion and they will pick the same asset.\n\nI had a friend tell me that he trades crypto and they do technical analysis, and it works because everyone else is using technical analysis.\n\nThis becomes the market portfolio because everyone's using the same portfolio.\n\nAnd in fact, this is how you derive the CAPM. $A$ constitutes the market portfolio.\n\nWhat is the covariance between this vector of returns and the market portfolio? $C o v\\[R\\,R_M\\]= Sigma w^(*)$\n\nThe end result of CAPM states that the mean return on each risky asset is\n\n$mu_i - R_F = beta_i\\(mu_p - R_F\\)$\n\nThe risk premium $beta_i$ is how much you are exposed to the market, which increases compensation.\n\n$beta_i = sigma_(i p) / sigma_p^2$\n\nExample: TSLA has a $beta$ of 2. This means that if the market swings, TSLA swings twice as much.\n\nLeveraged ETFs (SPXL) gives you 3 times leverage on the market. Experimentally, it's about 3.11\n\nHow realistic is this model? In equilibrium, this model should represent the relationship. Let's collect data. If the data follows the line, then the theory is correct. The model exists to explain reality. It says that the relationship is linear, so in order for the theory to be correct, reality must also be linear. We can also think of this more strictly using regression modeling when we are benchmarking.\n\nWe can price the return on an asset by\n\n$R_(i\\,t) - R_F = alpha_i + beta_i\\(R_M\\,t - R_F\\)+ epsilon.alt_(i\\,t)$\n\nwhich when you take the expectation on both sides gives the same formula as before, as $alpha$ and $epsilon.alt$ disappear.\n\nLet's think about variance in price.\n\n$bb(V)\\[R_i\\]= beta^2 bb(V)\\[R_M\\]+ bb(V)\\[epsilon.alt_i\\]$\n\n$sum_(i = 1)^N sigma_i^2 = sum_(i = 1)^N beta_i^2 sigma_M^2 + sum_(i = 1)^N sigma_(epsilon.alt\\,i)^2$\n\nMonthly volatility of SPY is 4%. TSLA has a lot of idiosyncratic risk at 20% (represented by $sigma_epsilon.alt$).\n\nPortfolio volatility ($sigma_p^2$) is what we are concerned with.\n\n$sigma_p^2 = sigma_m^2 / N times upright(\"avg\")(beta_p) + 1 / N sum_(i = 1)^N sigma_epsilon.alt^2$\n\nIf our number of stocks goes to infinity, the $epsilon.alt$ shrinks to 0, and we get rid of idiosyncratic risk, which is part of the wisdom of diversification.\n\n==== Relative Performance Measures\n<relative-performance-measures>\nSharpe ratio doesn't necessarily take into account systematic risk factor, but you can replace volatility in the formula with $sigma_p$.\n\nThe Treynor ratio only considers systematic risk i.e.~exposure to the market, because when you're comparing two funds you don't care about the actual market risk since it's the same between them: $T R_i = frac(mu_i - R_F, beta_i)$\n\nSPXL is not actually efficient if you use systematic risk because of how exposed it is.\n\nJensen's $alpha$ is what matters for hedge funds. #strong[Open question:] acquired podcast on rentech, nvidia\n\nRenTech makes 60% annual returns.\n\nYou have to take leverage in order to benefit from the market, but then you become exposed. If the market tanks, you're not going to be happy.\n\nDecomposing the return of the portfolio.\n\n$alpha_p = mu_p - beta_p mu_M$\n\nThe Jensen's $alpha$\n\nLet's consider excess returns $tilde(R) = R - R_f$. The ratio is\n\n$S R = frac(bb(E)\\[tilde(R)\\], sqrt(bb(V)\\(tilde(R)\\)))$\n\nInformation Ratio replaces the risk-free rate with market rate (or some other benchmark). The error in this case is called the #strong[tracking error]. We care about this because we don't want to be behind the market where everything is priced.\n\nWhen you're working with volatility, if you pull a constant from inside to outside, you have to square it because volatility is expectation squared minus square of expectation\n\nBenchmarking is important from a risk manager perspective.\n\nwe have confirmation bias for the results we like\n\nSharpe ratio of 2, but we don't know where it comes from\n\n==== Risk Measurement Evaluation\n<risk-measurement-evaluation>\nWe have known knowns, which are known positions. Losses can still occur from bad luck and portfolio decisions. Value at Risk will tell us if our bad luck is too bad which indicates a flawed model.\n\nKnown unknowns could be ignoring important risk factors, or nonstationarity. When the market is bad, correlations increase because everyone starts selling.\n\nWe can simulate reality via #strong[back-testing]. We have in-sample (IN) and out-of-sample (OUT) from our sample. We use the IN to get the weights of each portfolio using our mean-variance formulas, and then we test the model on the OUT sample.\n\nWhat about #strong[stress testing]? How much will your assets be able to sustain losses. Portfolio 2 has a big short position in the energy sector. If energy companies recover in the OUT period, the stressed asset return has an increase in variable $U_t$ which increases volatility.\n\n#strong[Open question:] do we need higher-order co-moments? See the paper.","dataUrl":"https://sharifhsn.dev/api/posts/risk-adjusted-performance.json","date":"2024-09-12","datePublished":"2024-09-12","description":"Let’s say we want to invest in long-term U.S. government bonds. The monthly average return of this is 0.47%, half of the equity market, and 2.3% standard deviation, less than…","site":"https://sharifhsn.dev","slug":"risk-adjusted-performance","source":"FE-535 | Risk Management","sourceUrl":null,"tags":["Risk Management","CAPM","Risk-Adjusted Performance"],"title":"Risk-Adjusted Performance","url":"https://sharifhsn.dev/blog/risk-adjusted-performance/","version":"1","wordCount":2759}