1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 80 Ă— 3
##    asset date        returns
##    <chr> <date>        <dbl>
##  1 ALK   2012-03-30 -0.0317 
##  2 ALK   2012-06-29  0.00223
##  3 ALK   2012-09-28 -0.0237 
##  4 ALK   2012-12-31  0.206  
##  5 ALK   2013-03-28  0.395  
##  6 ALK   2013-06-28 -0.207  
##  7 ALK   2013-09-30  0.189  
##  8 ALK   2013-12-31  0.161  
##  9 ALK   2014-03-31  0.244  
## 10 ALK   2014-06-30  0.0211 
## # ℹ 70 more rows

3 Make plot

4 Interpret the plot

Johnson and Johnson has a very peaked distrubution with a smaller range of returns. Netflix indicates the stock returned 70% in one quater, however also records the largest los making it extremely volitile. Google’s rate of return barely exceed 25%. Alaska Airlines experienced negative rate of returns making this a relatively bad quarter, however it did maintain and gain a few above negative retunrs.

5 Change the global chunck options

Hide the code, messages, and warnings