1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 100 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 NVDA  2012-03-30  0.0925
##  2 NVDA  2012-06-29 -0.108 
##  3 NVDA  2012-09-28 -0.0353
##  4 NVDA  2012-12-31 -0.0780
##  5 NVDA  2013-03-28  0.0516
##  6 NVDA  2013-06-28  0.0952
##  7 NVDA  2013-09-30  0.108 
##  8 NVDA  2013-12-31  0.0345
##  9 NVDA  2014-03-31  0.116 
## 10 NVDA  2014-06-30  0.0392
## # ℹ 90 more rows

3 Make plot

4 Interpret the plot

A typical quarterly return is higher for HD and LLY, than it is for UAA, NVDA, and TSLA

The stock with the typical highest quarterly return is HD, since the bell curve is consistently high for a period of time.

5 Change the global chunck options

Hide the code, messages, and warnings

This is done by changing the echo chunkset from “TRUE” to “FALSE”