1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 112 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 JPM   2017-03-31  0.0125
##  2 JPM   2017-06-30  0.0455
##  3 JPM   2017-09-29  0.0495
##  4 JPM   2017-12-29  0.119 
##  5 JPM   2018-03-29  0.0331
##  6 JPM   2018-06-29 -0.0488
##  7 JPM   2018-09-28  0.0851
##  8 JPM   2018-12-31 -0.138 
##  9 JPM   2019-03-29  0.0444
## 10 JPM   2019-06-28  0.107 
## # ℹ 102 more rows

3 Make plot

4 Interpret the plot

JPM (JPMorgan Chase) has the highest typical quarterly return. The distribution is right-skewed, and the majority of returns fall in the positive range, mostly between 0% and 10%, with a peak in the histogram showing frequent modest positive returns.

5 Change the global chunck options

Hide the code, messages, and warnings