Session Ready
Exercise

Return distribution comparison

While the plot in the previous exercise allowed you to investigate the returns of a single stock, it is often of interest to compare several return series with each other. The code on the right does that by generating three boxplots that use the standard boxplot() function from base R. While that is okay, the PerformanceAnalytics package offers you the more convenient chart.Boxplot function.

Instructions
100 XP
  • Generate three boxplots of the returns of the respective three financial assets by using the chart.Boxplot function. Compare the volatility of all three boxplots.