1 Import stock prices of your choice

Imported Stocks: Nidia, AMD, Intel, and Microsoft.

2 Convert prices to returns by quarterly

## # A tibble: 29 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 NVDA  2022-03-31 -0.0987
##  2 NVDA  2022-06-30 -0.588 
##  3 NVDA  2022-09-30 -0.222 
##  4 NVDA  2022-12-30  0.186 
##  5 NVDA  2023-03-31  0.642 
##  6 NVDA  2023-06-30  0.421 
##  7 NVDA  2023-09-29  0.0280
##  8 NVDA  2023-12-29  0.130 
##  9 AMD   2022-03-31 -0.318 
## 10 AMD   2022-06-30 -0.358 
## # ℹ 19 more rows

3 Make plot

4 Interpret the plot

By the “Distribution of Quarterly Returns, from 2022-2024” I can tell that Nvidia and AMD is the companys panys that are have a distinctively higher Rate of Returns, but more volatile compared to Intel and Microsoft.

5 Change the global chunck options

Hide the code, messages, and warnings