Session Ready
Exercise

Standard deviation on subsamples

In the financial crisis of 2008–2009 the volatility was substantially higher than average. Let's get our hands dirty with analyzing the volatility of the daily returns for the S&P 500 index. You will see that the standard deviation over the complete sample can be substantially different from the standard deviation on subsamples. Recall that standard deviations on daily returns give daily standard deviations. They are annualized by multiplying them using the square-root-of-time rule.

The daily returns sp500ret you calculated in the previous exercise are available in your workspace.

Instructions
100 XP
  • Compute the daily standard deviation for the complete sample.
  • Compute the annualized volatility for the complete sample.
  • Compute the annualized volatility for the year 2009 and the year 2017.
  • The variance is the square of the volatility. Verify that this has already been done for you.