1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 60 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 AMZN  2012-03-30  0.123 
##  2 AMZN  2012-06-29  0.120 
##  3 AMZN  2012-09-28  0.108 
##  4 AMZN  2012-12-31 -0.0137
##  5 AMZN  2013-03-28  0.0604
##  6 AMZN  2013-06-28  0.0412
##  7 AMZN  2013-09-30  0.119 
##  8 AMZN  2013-12-31  0.243 
##  9 AMZN  2014-03-31 -0.170 
## 10 AMZN  2014-06-30 -0.0351
## # ℹ 50 more rows

3 Make plot

4 Interpret the plot

Looking at the distribution of quarterly returns for Amazon, Toyota, and Tesla you can see that Amazon and Toyota are similar in the terms that there is not much volatility unlike Tesla. You can see that all their returns are stacked up between -.2 and .3 while Tesla from -.3 to .8 with their most common return being -.1. If you are looking to invest in one of these companies Amazon would be the best option as their most common return is .2 and there is much less oppurtunity of losing large with them.

5 Change the global chunck options