Publications by Jay Lee

Publish Document

09.03.2024

https://www.kaggle.com/datasets/meirnizri/covid19-dataset https://www.kaggle.com/datasets/ronaldbotelho/nyc-covid-19-statistics dfSM <- read.csv("/Users/jaylee/Downloads/COVID-19_Daily_Counts_of_Cases__Hospitalizations__and_Deaths.csv") dfBG <- read.csv("/Users/jaylee/Downloads/Covid Data.csv") Certainly, receiving smaller datasets for analysis is ...

6194 sym 2 img

Document

09.03.2024

https://www.kaggle.com/datasets/meirnizri/covid19-dataset https://www.kaggle.com/datasets/ronaldbotelho/nyc-covid-19-statistics dfSM <- read.csv("/Users/jaylee/Downloads/COVID-19_Daily_Counts_of_Cases__Hospitalizations__and_Deaths.csv") dfBG <- read.csv("/Users/jaylee/Downloads/Covid Data.csv") Certainly, receiving smaller datasets for analysis is ...

4475 sym 1 img

Document

03.12.2023

1 This week, we’ll work out some Taylor Series expansions of popular functions. f (x) = (1−x) f (x) = ex f (x) = ln(1 + x) f(x)=x(1/2) For each function, only consider its valid ranges as indicated in the notes when you are computing the Taylor Series expansion. Please submit your assignment as an R- Markdown document. Taylor Series \[f(x)=\sum...

1180 sym

Document

26.11.2023

the x is .8 or -.8 eq1<-function(x){x^2} eq2<-function(x){cos(x)} x<-seq(-1,1,by=.01) plot(x,eq1(x), type = "l") lines(x,eq2(x), type = "l")...

24 sym 1 img

Publish Document

26.11.2023

the x is .8 or -.8 eq1<-function(x){x^2} eq2<-function(x){cos(x)} x<-seq(-1,1,by=.01) plot(x,eq1(x), type = "l") lines(x,eq2(x), type = "l") x=.8 eq3<-cos(x)-(x^2) eq4<--sin(x)-(2*x) x1<-x-(eq3/eq4) x1 ## [1] 0.8244704 eq3<-cos(x1)-(x1^2) eq4<--sin(x1)-(2*x1) x2<-x1-(eq3/eq4) x2 ## [1] 0.8241324 -x2 ## [1] -0.8241324...

30 sym 1 img

Publish Document

16.11.2023

library(quantmod) ## Loading required package: xts ## Loading required package: zoo ## ## Attaching package: 'zoo' ## The following objects are masked from 'package:base': ## ## as.Date, as.Date.numeric ## Loading required package: TTR ## Registered S3 method overwritten by 'quantmod': ## method from ## as.zoo.data.frame zoo li...

1404 sym R (3357 sym/20 pcs) 3 img

Document

16.11.2023

Using R, build a multiple regression model for data that interests you. Include in this model at least one quadratic term, one dichotomous term, and one dichotomous vs. quantitative interaction term. Interpret all coefficients. Conduct residual analysis. Was the linear model appropriate? Why or why not? Base on the residuals and fitted plot, it cl...

464 sym 7 img

Document

09.11.2023

Using R, build a regression model for data that interests you. Conduct residual analysis. Was the linear model appropriate? Why or why not? I pick a data related to exp and salary,I personally hope this is a linear regression. And I want to use plot to visualize the result. From the scatter plot we can see it has a linear regression since it has a ...

502 sym 7 img

Publish Document

18.10.2023

From the following calculation, I found the VWAP is 80.65, sharpe ratio is 0.4278 and cumulative Alpha is -0.015. Lets look at the VWAP first. I have difficulty to get volume on yahoo finance. So I used the volume that i can get in my portfolio which is just 12 since i have only 1000 at the very beginning. symbol_name2 <- c("WWNPX") Then we pick t...

1669 sym Python (1722 sym/9 pcs) 2 img

Document

12.10.2023

From the following calculation, I found the VWAP is 80.65, sharpe ratio is 0.4278 and cumulative Alpha is -0.0152 symbol_name2 <- c("WWNPX") ## WWNPX ## 2023-08-31 82.57 ## 2023-09-01 83.26 ## 2023-09-05 80.12 ## 2023-09-06 80.77 ## 2023-09-07 80.96 ## 2023-09-08 81.34 ## 2023-09-11 78.44 ## 2023-09-12 80.42 ## 2023-09-13 79.30 ## 2023-0...

183 sym 1 img