Publications by Daniel Lee
Application 10
Assume Daewoo, a hypothetical oil extraction company, has the following cost structure. It spends: • $40/barrel on labor costs, raw materials, energy, and • $35/barrel on interest, depreciation, insurance, and administrative staff expense. Read the textbook carefully, and answer the following questions. A recession hits, the market price of ...
1881 sym
Code Along 11
Functions When should you write a function # For reproducible work set.seed(1234) df <- tibble::tibble( a = rnorm(10), b = rnorm(10), c = rnorm(10), d = rnorm(10) ) # Rescale each colymn df$a <- (df$a - min(df$a, na.rm = TRUE)) / (max(df$a, na.rm = TRUE) - min(df$a, na.rm = TRUE)) df$b <- (df$b - min(df$b, na.rm = TRUE)) / (max(...
271 sym
Code Along 12
# Load packages # Core library(tidyverse) library(tidyquant) library(readr) # Time series library(lubridate) library(tibbletime) # modeling library(broom) Goal Examine how each asset contributes to portfolio standard deviation. This is to ensure that our risk is not concentrated in any one asset. five stocks: “SPY”, “EFA”, “IJS”, ...
613 sym R (15420 sym/23 pcs) 2 img
Apply 12
# Load packages # Core library(tidyverse) library(tidyquant) Goal Examine how each asset contributes to portfolio standard deviation. This is to ensure that our risk is not concentrated in any one asset. 1 Import stock prices symbols <- c("SPY", "EFA", "BB", "JBLU", "ARKK") prices <- tq_get(x = symbols, get = "stock.price...
741 sym R (12558 sym/8 pcs) 1 img
BNH presentation
2022-11-13 About the Company Bank of New Hampshire was founded in 1831 Bank of New Hampshire’s revenue was $49,509,000. This allows them to employee 274 employees Headquarters in Laconia Provides deposit, lending, and wealth managment services. U.S Economy: Is Recession coming? U.S Economy: Survey of Professional Forecasters Survey of Profe...
941 sym
Best Practice 3
Chater Openning Questions Managers need to know: Summary Causes of Recessions How it works Associated Recessions monetary policy The Fed can slow the economy by tightening monetary policy, which decreases the money supply and/or raises interest rates. Higher interests reduce economic activity by increasing financing costs. all recessions? The ...
6353 sym 1 tbl
Code Along 13
# Load packages # Core library(tidyverse) library(tidyquant) # time series library(timetk) Goal Simulate future portfolio returns five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” market: “SPY” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symb...
451 sym R (8974 sym/36 pcs) 2 img
Application 3
Economic Dashboard Market Indicators Economic Indicators What is your reading of the economy? Make your argument based on your analysis of the given charts. Discuss timing and depth of changes in the economic data relative to recessions in at least 50 words. Based on the economic indicators I believe that they are showing strong indications of...
745 sym
Best Practices 4
Chater Openning Questions A manager needs to monitor: prices of major inputs and major outputs. This is because price change affects companies profit margin. The facts about inflation Volatility: CPI < PPI Finished Goods < PPI Intermediate Goods < PPI Crude Materials Price Growth: CPI > PPI Finished Goods > PPI Intermediate Goods > PPI Crude Ma...
3987 sym
Applications 4
Economic Dashboard Grappone outputPrice = Consumer Price Index for All Urban Consumers: New Vehicles in U.S. City Average inputPrice = Producer Price Index by Industry: New Car Dealers: New Vehicle Sales Bank of New Hampshire outputPrice = Market Yield on U.S. Treasury Securities at 10-Year Constant Maturity inputPrice = Market Yield on U.S. ...
1685 sym