FINM Portfolios
FINM 36700
Course website can be found here.
Midterm 1 Cheat Sheet
Risk and Return Metrics
-
Moments
- $\mu = E[r]$
- $\hat{\mu} = \frac{1}{N}\sum^N_{t=1}r_t$
- Variance (centered): $\sigma^2 = E[(r-\mu)^2]$
- $\hat{\sigma} = \frac{1}{N-1}\sum^N_{t=1}(r_t-\hat{\mu})^2$
- Uncentered: $E(r^2)$, estimate using $\hat{\sigma} = \frac{1}{N-1}\sum^N_{t=1}r_t^2$
- Skewness (centered and scaled): $\gamma = \frac{1}{\sigma^3}E[(r-\mu)^3]$
- $\hat{\gamma} = \frac{1}{\hat{\sigma}^3}\frac{1}{N-1}\sum^N_{t=1}(r_t-\mu)^3$
- Represents tails/asymmetry
- Kurtosis (centered and scaled): $\kappa = \frac{1}{\sigma^4}E[(r-\mu)^4]$
- $\hat{\kappa} = \frac{1}{\hat{\sigma}^4}\frac{1}{N-1}\sum^N_{t=1}(r_t-\mu)^4$
- Represents thickness of tails; normal distribution has kurtosis of 3
- To annualize moments using some frequency $\tau$, multiply the mean by $\tau$ and the volatility (standard deviation) by $\sqrt{\tau}$
- $\mu = E[r]$
- Maxmium drawdown: maximum cumulative loss suffered in a time period; biggest peak-to-trough
-
Covariance: $\sigma_{i,j}= E[(r_{i,t}-\mu_i)(r_{j,t}-\mu_j)]$
- Estimator: $\hat{\sigma}{i,j}= \frac{1}{N}\sum^N{t=1}(r_{i,t}-\hat{\mu}i)(r{j,t}-\hat{\mu}_j)$
- $K\times K$ covariance matrix: $\Sigma=E[(r-\mu)(r-\mu)’]$
- Estimator: $\hat{\Sigma}=(R-\hat{\mu})(R-\hat{\mu})’\frac{1}{N-K}$
- Correlation: $\rho_{i,j} = \frac{\sigma_{i,j}}{\sigma_i\sigma_j}$; represented as a percentage
-
Beta: For a linear decomposition of $r_i$ on $r_j$ ($r_{i,t}=\alpha + \beta r_{j,t} + \epsilon_t$), the OLS estimator is $\begin{bmatrix}\hat{\alpha}\ \hat{\beta}\end{bmatrix}= (R_j’R_j)^{-1}R_j’r_i$, where $R_j$ is a $N\times 2$ matrix with a column of ones
- Beta is also a scaled correlation for single-variable regression: $\beta = \frac{\sigma_i}{\sigma_j}\rho_{i,j}$
- For multivariate regression, $\begin{bmatrix}\hat{\alpha}\ \hat{\beta}\end{bmatrix}= (R’R)^{-1}R’r_i$, where $R$ is a matrix where the first column is ones and then each following column is a variable
Optimizing Risk and Return
- Let $r_f$ be the risk free rate; then the excess return is $\tilde{r}{i,t}\equiv r{i,t}-r_f$ or $\tilde{\mu}\equiv \mu-r_f$
-
Alpha: The excess return against a benchmark; $\tilde{r}{i,t}=\alpha + \beta \tilde{r}{\text{SPY},t}+\epsilon_t$
- Can extend to multiple factors; leads to models like CAPM or Fama-French
- Sharpe ratio: Measures tradeoff between excess return against volatility; $\frac{\tilde{\mu}}{\tilde{\sigma}}$
- Treynor ratio: Measures tradeoff between excess return and beta; $\frac{\tilde{\mu}}{\beta}$
- Information ratio: Measures tradeoff between excess return against unexplained volatility (volatility of error term $\epsilon$); $\frac{\alpha}{\sigma_\epsilon}$
- Portfolio variance is subadditive; the sum of the variance of individual stocks is less than or equal to the variance of the portfolio
- Portfolio mean is additive
- Optimization problem for portfolios: minimize variance and achieve a mean return target
- Objective function: $\min_w w’\Sigma w$, where $w$ is a vector of weights for assets
- Constraint function: $w’\tilde{\mu}=m$
- Solution is $w^* = \delta_m\Sigma^{-1}\tilde{\mu}$
- All solutions will be a rescaling of $\Sigma^{-1}\tilde{\mu}$, so we define it as the tangency portfolio $w^\text{tan} = \delta_\text{tan}\Sigma^{-1}\tilde{\mu}$ whose weights sum to 1
- Other constraints
- No cash, weights add to one: $w’\mathbb{1}=1$
- No short positions: $w_i\geq 0$
- Hold at least or at most some value: $a\leq w_i\leq b$
Hedging and Tracking
- Long one unit of asset $i$ and short $h$ units of asset $j$ yields net exposure $\epsilon_t=r_{i,t}-hr_{j,t}$
- Basis risk is the volatility of $\epsilon_t$
- The optimal hedge ratio is given by $h^*=\frac{\sigma_i}{\sigma_j}\rho_{i,j}$
- Higher correlation means larger hedge
- Can also be thought of as the beta from $r_{i,t}=\beta_{i,j}r_{j,t} + \varepsilon_t$, so $\beta_{i,j}=h^*$
- With multiple hedges, we can use the regression beta tactic: $r_{i,t} = \beta_{i,1}r_{1,t}+\cdots+\beta_{i,k}r_{k,t}+\varepsilon_t$
- Adding an intercept isolates the portion of the mean that the hedge cannot replicate
- To get exposure to asset $i$ without market risk $m$, estimate $\tilde{r}{i,t}=\alpha + \beta{i,m}\tilde{r}{m,t}+\varepsilon_t$ and take the positionn $\tilde{r}{i,t}-\beta_{i,m}\tilde{r}_{m,t}$
- A tracking portfolio tries to follow a target factor: $\tilde{r}{i,t}=\alpha + \beta\tilde{r}{j,t}+\varepsilon_t$, where $\varepsilon$ is the tracking error and $R^2$ gauges tracking quality
- $\text{IR}=\alpha/\sigma_\varepsilon$ trades excess mean vs. extra trackinng error
Value at Risk (VaR)
-
VaR is a quantile of a distribution; formally defined as the $\tau$-day, $q$ quantile such that $\mathbb{P}\left(\Gamma_{t,t+\tau}\leq\Gamma_t^{\text{VaR}_{q,\tau}}\right)=q$
- VaR can be interpreted as the expected loss in extreme scenarios; value iis typically negative
- If the returns has a cdf that is continuous and strictly increasing then we can write the VaR as $\Gamma_t^{\text{VaR}{q,\tau}}=\Phi\Gamma^{-1}(q)$
- Model VaR using a normal distribution: $r_{t,t+\tau}\sim \mathcal{N}(\mu_\tau, \sigma_\tau^2)$
- We have $r^{\text{VaR}{q,\tau}} = \mu\tau + z_q\sigma_\tau$
- If prices are lognormal so log returns are normal, then we get the result that the VaR return scales with the square root of the horizon
- Typically, VaR compounds with the square root of the horizon
-
Conditional VaR (CVaR): AKA the expected shortfall (ES), the expected value conditional on being less than the VaR threshold
- For normals: $r^{\text{CVaR}{q,\tau}} = \mu{\tau,t} - \frac{\phi_z(z_q)}{q}\sigma_{\tau,t}$
- VaR is not coherent
- To estimate the volatility for the VaR normal distribution, we use the second moment instead of the centered second moment (mean is 0)
-
Volatility estimates
- Expanding: $\sigma_t^2 = \frac{1}{t-1}\sum^{t-1}_{i=1}r_i^2$
- Rolling: $\sigma_t^2 = \frac{1}{m}\sum^{m}{i=1}r{t-i}^2$
- Exponential weighted moving average (EWMA): $\sigma_t^2 = \sum^{N-1}{i=1}\lambda^{(i-1)}r{t-i}^2$
- GARCH: $\sigma_t^2 = \alpha_0 + \gamma_1\sigma^2{t-1}+\alpha_1r{t-1}^2$
- Hit test: check q-VaR to see if there really are only q% of days where the return is lower
- Historic Simulation: Use historical data and empirical CDF to calculate VaR and CVaR
- Has issues with statistical power and dynamics, but CDF can take any shape
Midterm 2 Case Studies
DFA
- Investment philosophy, challenges, market and HML value factor
- Philosophy: market is efficient, so don’t stock pick
- Other two beliefs are that academic research and skilled traders matter, even when strategy is passive
- Diversification, low turnover, low transaction costs
- Invested in small stocks and had low fees, catered to wealthy indivviduals through registered investment advisors (RIAs) and institutions
- Rational of buying small stocks (Micro Cap Portfolio) was because academics had found out that small stocks had consistently outperformed large stocks, also captured a part of market that was not traditionally traded (SMB, small minus big)
- In 1992, Fama and French also found that stocks with high book value to market value outperformed those with a lower ratio (book-to-market effect, value vs. growth) (HML, high minus low)
- Fama-French Three-Factor model used HML, SMB, and correlation to market risk to explain risk
- Further research was done to verify these findings in the past as well as internationally; led to DFA offering international funds
- 1980s: recession hit, small stocks not as profitable, DFA in tough spot due to popularity of SnP 500
- 1990s: value stocks continued to do well, but growth stocks skyrocketed due to tech stocks
- Trading strategy to reduce costs and get discounts: buy directly from traders in blocks
- Faced adverse selection problem where people only sell things because there is something wrong with them, mitigated by avoiding stocks with expected news or surpirses
- Used various strategies to trade blocks safely and in a manner so as to not drop the stock price
- Led to overall discounts for purchasing stocks
- Created new tax-managed product that reduced taxes for traders
- To reduce taxes, they reduced dividend-paying stocks, reduced capital gains, avoided short-term gains, and harvested capital losses
Smart Beta
- iShares Factor Strategies Group (part of BlackRock) launched new ETFs known as smart beta funds; weighted based on financial characteristics instead of market cap
- Used four factors: stock market value, relative value, quality of financial position, and momentum
- Fama French showed that the beta factor was not useful for predicting stock returns, smaller firms were more profitable, value firms outperformed growth firms, proftiable firms had better returns (aka quality factor) (RMW, robust minus weak), and firms with more conservative investments did better (CMA, conservative minus aggressive); led to Fama-French 5-factor model
- Smart beta ETFs use factors like these and are a combination of passive and active investing
- Smart beta ETFs relatively new and not yet widely adopted
- Constructed by using a weighted average of some metric, and each stock has a Z-score that represents its percentile of a certain financial variable
- Factor portfolios were constructed as long-short to avoid correlation with market
AQR
- Defined momentum as the relative performance compared to other stocks
- Various theories as to why momentum works: momentum stocks are riskier, investors behave irrationally, sign of underreaction
- Has empirical evidence to back the factor up, rebalancing winner minus loser portfolios perform well (UMD, up minus down)
- AQR entering the mutual fund market was different than what they were used to; mutual funds are limited in using shorts/leverage, have to deal with traders wanting to liquidate
- Did empirical research and backtested a momentum index to determine its viability, found that momentum had no correlation with SMB and market rate, making it an attractive product
- Did not use UMD because mutual funds can’t short, instead created three long-only momentum indices for small-cap, large-cap, and international
- Wanted to offer dedicated momentum exposure as a mutual fund which is more liquid than an index
- Could only invest in stocks with reasonable market cap and liquidity because of mutual fund rules
- Had many sources of tracking error: quarterly rebalancing -> staleness, not trading on boundary means the cutoffs are inaccurate, tax-aware trading, couldn’t short
Midterm 2 Cheat Sheet
CAPM
- CAPM (Capital Asset Pricing Model): $E[\tilde{r}^i]=\beta^{i,m}E[\tilde{r}^m]$, where $\beta^{i,m} = \frac{\text{Cov}(\tilde{r}^i, \tilde{r}^m)}{\text{Var}(\tilde{r}^m)}$
- Considers the market portfolio to be the tangency portfolio; in practice, a broad equity index is used to denote the market portfolio’s returns
- Claims that the expected return of an asset is based on the risk-free rate and the market riisk premium, $\beta$ is estimated usiing a regression
- Justification: every investor holds a portfolio on the MV frontier, so everyone must hold a combo of the tangency portfolio and the risk-free rate; in aggregate, this means that the market portfolio is the tangency portfolio
- Other way to think about it: all investors care about mean and variance, so everyone holds MV portfolio
- Applied mostly to equities because of assumed normally distributed and i.i.d. returns
- $\beta$ represents volatility compared to market; positive beta means the asset moves more than the market, negative means the asset moves less
- In CAPM, idiosyncratic risk does not affect return
- Implies that market beta is the only risk that leads to higher average returns, not volatility, skewness, or other covariances
- Using some manipulation, we can see that $\text{SR}i = \rho{i,m}\text{SR}m$, where $\rho{i,m}=\text{Corr}(\tilde{r}_m, \tilde{r}_i)$
- Shows that risk premiia are determined only by systematic risk, as idiosyncratic risk will lead to a lower $\rho_{i,m}$
- Implies that no asset can have a higher Sharpe ratio than the market portfolio
Testing CAPM
- $E[\tilde{r}^i]=\beta^{i,m}E[\tilde{r}^m]$ implies that $\tilde{r}^i_t=\beta^{i,m}\tilde{r}^m_t + \varpesilon_t$, where $E[\varpesilon_t]=0$
- Test CAPM on an asset by running a time series regression: $\tilde{r}^i_t=\alpha^i_t+\beta^{i,m}\tilde{r}^m_t + \varpesilon_t^i$
- CAPM implies $\alpha^i = 0$
- Can regress on multiple assets in order to determine multiple alphas, and a joint test should not be able to reject the fact that all alphas are 0
- Test CAPM on an asset by running a time series regression: $\tilde{r}^i_t=\alpha^i_t+\beta^{i,m}\tilde{r}^m_t + \varpesilon_t^i$
- Historically, CAPM had good performance in tests but with some doubts
- Roll critique: market return should be return on all assets, not just an equity index
- Short time series leads to statistical uncertainty
- One way to test is to use a collection of industry portfolios to capture as much of the market as possible
- Can redefine market risk premium as $\lambda_m = E[\tilde{r}^m]$
- $\lambda_m$ is the slope of the Security Market Line and represents the amount of risk premium an asset gets per unit of beta
- Test CAPM using a regression model that finds the value of $\lambda_m$: $E[\tilde{r}^i] = \eta + \beta^{i,m}; \lambda_m + v$
- CAPM implies that R-squared is 100% and no intercept; in other words, $v=0$ and $\eta=0$
- Running this test shows that $\lambda_m$ is too small and that the SML lines doesnt start at 0
Linear Factor Pricing Models (LFPM)
- The FF3 (Fama-French 3-factor) model is defined as $E[\tilde{r}^i] = \beta^{i,m}E[\tilde{r}^m] + \beta^{i,s}E[\tilde{r}^s] + \beta^{i,v}E[\tilde{r}^v]$
- $m$ is the excess market return (same as CAPM), $s$ is the SMB portfolio, and $v$ is the HML, or value minus growth, portfolio
- Value is defined by the book-to-market ratio, or the market value of an equity divided by its book/balance sheet value
- Other measures include earnings-price (E/P), EBITDA-price, dividend-price
- Can test LFMs using the same methods as CAPM; time-series test, cross-sectional test, chi-squared test of alphas
- Can test a factor $z^j$ by calculating the factor MV portfolio and looking at the weight of $z^j$
- There is no evidence of momentum in statistical tests
- There is small autocorrelation between stocks; can take advantage by buying extreme winners and selling losers or holding a portfolio of both to reduce idiosyncratic risk
- This autocorrelation leads to a momentum-like effect; can use momentum straategies such as going long on recent winners and shorting recent losers, rebalancing the portfolio as new information comes out
- Must minimize trading costs; transaction costs and tax burden (capital gains)
- Possible explanations include underreaction (price needs to go higher) or overreaction (see price go high, pushes hiigher)
- Momentum is very popular
- The APT (Arbitrage Pricing Theory) shows when a Linear Factor Decomposition of return variation implies a Linear Factor Pricing for risk premia
- Using excess-return faactors $x$ that work well as a LFD, we can run $\tilde{r}^i_t = \alpha^i + (\beta^{i,x})’x_t + \epsilon_t^i$
- Asssume that residuals are uncorrelated, meaning that factors completely describe comovement
- Consider an equally weighted portfolio of $n$ returns: $\tilde{r}_t^p = \frac{1}{n}\sum \tilde{r}_t^i$
- The idiosyncratic risk of $\tilde{r}t^p$ only depends on residual variances (that are uncorrelated with each other), so $Var(\epsilon^p) = \frac{1}{n}\sigma\epsilon^2$
- As $n$ grows, the risk goes to 0, meaning that $\tilde{r}^p$ can be perfectly replicated with factors $x$, and $\alpha^p = 0$
- This means that a Linear Factor Decomposition with no correlation in its residuals will result in a perfect LFP, as the set of factors explains returns across time and returns across assets
- The CCAPM (Consumption CAPM) is an economic model that says the only systematic risk is consumption growth: $E[\tilde{r}^i] = \beta^{i,c}\lambda_c$
- Must find a good measure for $c$ which is typically a non-traded factor
- Test by running a time-series regression for each test-security $i$ and then running a cross-sectional regressiion to estimate $\lambda_c$ and $\alpha^i$
- Instead of consumption, can use other factors like GDP growth, market volatility, etc.
- Not used so much in industry
TA Session
- Can think of pricing models as expected returns = prices of aggregate risks ($\lambda$) times risk exposures ($\beta$)
- A linear factor decomposition (LFD) explains the variance of returns compared to some factors; a factor pricing model is a linear factor model that tries to find a regression where all $\alpha$ are equal to 0 and the factors explain everything
- Factor test workflow: estimate $\beta$ using time-series regressions, use a cross-sectional regression to estimate $\lambda$, use the $\beta-\lambda$ structure to compute and compare returns
- For Fama-French models: long-short allows you to isolate the characteristic as the sole factor in determining price, reduces multicollinearity, makes tests cleaner
- Momentum strategy construction: Use both winners and losers, use many assets, try to limit transaction costs (less rebalancing, more assets)
- Skip the most recent month to avoid short-term reversal effects
- Use broad, liquid universes (industry indices are good to use)