1 Import stock prices

2 Convert prices to returns by quarter

## # A tibble: 60 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 HIMS  2020-03-31  0.0101
##  2 HIMS  2020-06-30  0.0169
##  3 HIMS  2020-09-30  0.144 
##  4 HIMS  2020-12-31  0.217 
##  5 HIMS  2021-03-31 -0.0985
##  6 HIMS  2021-06-30 -0.195 
##  7 HIMS  2021-09-30 -0.368 
##  8 HIMS  2021-12-31 -0.141 
##  9 HIMS  2022-03-31 -0.206 
## 10 HIMS  2022-06-30 -0.163 
## # ℹ 50 more rows

3 Make plot

4 Interpret the plot

The results of this plot indicate that the quarterly return is more volatile for HIMS than for MRK and PFE.

5 Change the global chunck options

Hide the code, messages, and warnings