Publications by Jay Lee
Document
Preparation:Loading Libraries Q1 Part A In part A, I want you to forecast how much cash is taken out of 4 different ATM machines for May 2010. The data is given in a single file. The variable ‘Cash’ is provided in hundreds of dollars, other than that it is straight forward. I am being somewhat ambiguous on purpose to make this have a little mor...
4564 sym R (15329 sym/110 pcs) 38 img
Document
library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.1.6 ✔ tsibble 1.1.3 ## ✔ dplyr 1.1.0 ✔ tsibbledata 0.4.1 ## ✔ tidyr 1.3.0 ✔ feasts 0.3.0...
3265 sym R (12454 sym/97 pcs) 23 img
Document
8.1 a library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.1.6 ✔ tsibble 1.1.3 ## ✔ dplyr 1.0.7 ✔ tsibbledata 0.4.1 ## ✔ tidyr 1.1.4 ✔ feasts ...
2275 sym R (6509 sym/35 pcs) 13 img
Document
3.1. The UC Irvine Machine Learning Repository6 contains a data set related to glass identification. The data consist of 214 glass samples labeled as one of seven class categories. There are nine predictors, including the refractive index and percentages of eight elements: Na, Mg, Al, Si, K, Ca, Ba, and Fe. The data can be accessed via: #install.pa...
3793 sym R (5212 sym/29 pcs) 10 img
Document
5.1 Produce forecasts for the following series using whichever of NAIVE(y), SNAIVE(y) or RW(y ~ drift()) is more appropriate in each case: Australian Population (global_economy) first of all, i pull the Australia data under country and plot it. As we can see, the population is a rising continuously. From the plot, RW(y ~ drift()) is the best one to...
4411 sym Python (5990 sym/53 pcs) 23 img
Document
#install and load libary #install.packages("fpp3") library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.1.6 ✔ tsibble 1.1.3 ## ✔ dplyr 1.0.7 ✔ tsibbledata 0.4.1...
2962 sym R (9554 sym/50 pcs) 25 img
624 assignment 1
Q 2.1 Use the help function to explore what the series gold, woolyrnq and gas represent. Use autoplot() to plot each of these in separate plots. What is the frequency of each series? Hint: apply the frequency() function. Use which.max() to spot the outlier in the gold series. Which observation was it? #autoplot for series gold, woolyrnq and gas a...
2144 sym Python (2056 sym/42 pcs) 28 img
data608hw1
Principles of Data Visualization and Introduction to ggplot2 I have provided you with data about the 5,000 fastest growing companies in the US, as compiled by Inc. magazine. lets read this in: inc <- read.csv("https://raw.githubusercontent.com/charleyferrari/CUNY_DATA_608/master/module1/Data/inc5000_data.csv", header= TRUE) And lets preview this...
1480 sym R (6599 sym/26 pcs) 3 img
Document
R Question 1: for/while loop #Answer of Q1 for loop n<-1 for (x in 1:13) #from 1 to 13 { n<-n*x } print(n) ## [1] 6227020800 #Answer of Q1 while loop f <-1 i <-1 while (i<=12) { i<-i+1 f <-f*i } print (f) ## [1] 6227020800 R Question 2: numberic vector that contains the sequence from 10 to 50 by 5 #range from 5*2=10 and 5*10=50 x ...
187 sym R (592 sym/9 pcs)
W1RAssignment
R Question 1: for/while loop #Answer of Q1 for loop n<-1 for (x in 1:13) #from 1 to 13 { n<-n*x } print(n) ## [1] 6227020800 #Answer of Q1 while loop f <-1 i <-1 while (i<=12) { i<-i+1 f <-f*i } print (f) ## [1] 6227020800 R Question 2: numberic vector that contains the sequence from 10 to 50 by 5 #range from 5*2=10 and 5*10=50 x ...
193 sym R (1096 sym/15 pcs)