1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 180 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 AMZN  2022-01-31 -0.130 
##  2 AMZN  2022-02-28  0.0263
##  3 AMZN  2022-03-31  0.0596
##  4 AMZN  2022-04-29 -0.271 
##  5 AMZN  2022-05-31 -0.0333
##  6 AMZN  2022-06-30 -0.124 
##  7 AMZN  2022-07-29  0.239 
##  8 AMZN  2022-08-31 -0.0625
##  9 AMZN  2022-09-30 -0.115 
## 10 AMZN  2022-10-31 -0.0981
## # ℹ 170 more rows

3 Make plot

4 Interpret the plot

## $y
## [1] "Frequency"
## 
## $x
## [1] "Rate of Returns"
## 
## $title
## [1] "Distribution of Quarterly Returns, 2022-2025"
## 
## $caption
## [1] "NVDA has the highest monthly returns while the others are lower and less volatile."
## 
## attr(,"class")
## [1] "labels"

5 Change the global chunck options

Hide the code, messages, and warnings