Variability of volatility estimates from daily returns

November 3, 2011

(This article was first published on Portfolio Probe » R language, and kindly contributed to R-bloggers)

Investment Performance Guy has a post “Periodicity of risk statistcs (and other measures)” in which it is wondered how valid volatility estimates are from a month of daily returns.

Here is a quick look.  Figure 1 shows the variability (and a 95% confidence interval) of volatility estimates for the S&P 500 index in January 2011.  Figure 2 is for the first quarter and Figure 3 is for the first half.  All of these are with daily data.

Figure 1: Volatility and bootstrap distribution for January 2011 volatility of the S&P 500.

Figure 2: Volatility and bootstrap distribution for Q1 of 2011 volatility of the S&P 500.

Figure 3: Volatility and bootstrap distribution for H1 of 2011 volatility of the S&P 500.

Appendix R

The bootstrapping is done like:

for(i in 1:1e4) spxvolQ1.boot[i] <- sd(spxret11Q1[sample(62,62, replace=TRUE)])

The plots are something like:


Subscribe to the Portfolio Probe blog by Email

To leave a comment for the author, please follow the link and comment on their blog: Portfolio Probe » R language. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: ,

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)