Publications by Daniel Lee

Apply 8

24.10.2024

1. Import your data Import two related datasets from TidyTuesday Project. survivalists <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-01-24/survivalists.csv') ## Rows: 94 Columns: 16 ## ── Column specification ──────────────────────────�...

1229 sym

Apply Data 7

24.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) Goal Visualize and compare skewness of your portfolio and its assets. Choose your stocks. from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("MCD", "ISRG", "KHC", "FIS", "GOOG") prices <- tq_get(x = symbols, get = "stock.prices", ...

1017 sym R (2738 sym/14 pcs) 1 img

Apply Data 8

24.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("MCD", "ISRG", "KHC", "FIS", "GOOG") prices <- tq_get(x = symbols, get = "stock.prices", from = "2012-12-3...

827 sym R (2935 sym/14 pcs) 1 img

Applyit8

24.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) Goal Visualize and examine changes in the underlying trend in the downside risk of your portfolio in terms of kurtosis. Choose your stocks. from 2012-12-31 to present 1 Import stock prices symbols <- c("VOO", "GME", "XOM", "ABT", "NVDA") prices <- tq_get(x = symbols, ...

1109 sym R (2977 sym/14 pcs) 1 img

Code Along 8

23.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols, get = "stock.prices", from = "2012-12-31"...

323 sym R (3981 sym/16 pcs) 3 img

CodeAlong7

23.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x= symbo...

403 sym R (4814 sym/26 pcs) 2 img

Apply 7

23.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) Goal Visualize and compare skewness of your portfolio and its assets. Choose your stocks. from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("JPM", "MS", "DNB.OL", "NDA-FI.HE") prices <- tq_get(x = symbols, get = "stock.prices", fr...

1427 sym R (3156 sym/15 pcs) 1 img

Document

22.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symb...

441 sym R (4750 sym/20 pcs) 3 img

Apply 8

22.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) Goal Visualize and examine changes in the underlying trend in the downside risk of your portfolio in terms of kurtosis. Choose your stocks. from 2012-12-31 to present 1 Import stock prices symbol <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbol, get...

757 sym R (2780 sym/14 pcs) 1 img

CodeAlong8

22.10.2024

# Load packages # Core library(tidyverse) library(tidyquant) 1 Import stock prices # Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import sto...

454 sym R (3816 sym/17 pcs) 3 img