Publications by sufian
ISYE 6501 Intro to Modeling HW7
Question 10.1a Using the same crime data set uscrime.txt as in Questions 8.2 and 9.1, find the best model you can using a regression tree model require(ggthemes) library(tidyverse) library(magrittr) library(TTR) library(tidyr) library(dplyr) library(lubridate) library(ggplot2) library(plotly) library(fpp2) library(forecast) librar...
8710 sym R (32238 sym/82 pcs) 18 img
ISYE 6501 Intro to Modeling HW4
Prob 7.1 Describe a situation or problem from your job, everyday life, current events, etc., for which exponential smoothing would be appropriate. What data would you need? Would you expect the value of alpha (the first smoothing parameter) to be closer to 0 or 1, and why? We are forecasting Operational Expenses (time series data is needed) for s...
3188 sym R (6169 sym/30 pcs) 6 img
ISYE 6501 Intro to Modeling HW5
Question 8.1 Describe a situation or problem from your job, everyday life, current events, etc., for which a linear regression model would be appropriate. List some (up to 5) predictors that you might use. One of my recent task at work was to see if we could use Linear Regression to forecast/predict payroll. The drivers or predictor variables wer...
7714 sym R (11799 sym/48 pcs) 10 img
ISYE 6501 Intro to Modeling HW6
Question 9.1 require(ggthemes) library(tidyverse) library(magrittr) library(TTR) library(tidyr) library(dplyr) library(lubridate) library(ggplot2) library(plotly) library(fpp2) library(forecast) library(caTools) library(reshape2) library(psych) require(graphics) require(Matrix) library(corrplot) library(mltools) library(fBas...
3919 sym R (20075 sym/58 pcs) 5 img
ISYE 6501 Intro to Modeling HW8
Loading libraries require(ggthemes) library(tidyverse) library(magrittr) library(TTR) library(tidyr) library(dplyr) library(lubridate) library(ggplot2) library(plotly) library(fpp2) library(forecast) library(caTools) library(reshape2) library(psych) require(graphics) require(Matrix) library(corrplot) library(mltools) library...
4272 sym R (11360 sym/42 pcs) 5 img
ISYE 6501 Intro to Modeling HW9
Load libraries library(dplyr) library(FrF2) library(tidyverse) library(magrittr) library(tidyr) library(fpp2) library(caTools) library(reshape2) library(psych) library(fBasics) library(kableExtra) Question 12.1 Describe a situation or problem from your job, everyday life, current events, etc., for which a design of experiments appr...
4052 sym R (559 sym/2 pcs)
ISYE 6501 Intro to Modeling HW10
Load libraries require(ggthemes) library(tidyverse) library(magrittr) library(TTR) library(tidyr) library(dplyr) library(ggplot2) library(plotly) library(fpp2) library(caTools) library(reshape2) library(psych) require(graphics) library(fBasics) library(caret) library(gridExtra) library(DAAG) library(rpart) library(randomFore...
3248 sym R (32297 sym/41 pcs) 4 img
Capital Optimization - Data Staging from UI
Loading the Libraries library(tidyverse) library(magrittr) library(tidyr) library(dplyr) library(reshape2) library(readxl) library(openxlsx) library("stringr") Loading Data df.book <- read_xlsx("C:\\FCOE_Capital Opti\\CDR_raw.xlsx", sheet = "3)Cap Opt Data - Book Life", trim_ws = TRUE, skip=3 ) ## New names: ## * `` -> ...41 ## * `` ->...
121 sym R (4282 sym/16 pcs)
DG - Coding Exercise 1
Test Question 1: Fill in NAs with 4 different methods Plot results : Use Accuracy measures to evaluate methods #reading in raw data1 df1 <- read.csv('Data1.csv') head(df1) ## DateTime Sensor.1 Sensor2 Sensor.3 ## 1 9/29/2015 23:00 16.46646 NA NA ## 2 9/29/2015 23:01 16.52575 NA NA ## 3 9/29/2015 23:02 16.5...
4446 sym R (10272 sym/64 pcs) 19 img 6 tbl
DG - Coding Exercise 2
Test Question 2: Build 4 models and evaluate built models #reading in raw data1 df1 <- read.csv('Data2.csv') head(df1) ## date_time Dependent var1 var2 var3 var4 var5 var6 ## 1 2015-10-11T07:00:00Z 414.9572 2 16 5.680167 0.7020470 7.591875 3.460000 ## 2 2015-10-11T07:10:00Z 494.1149 2 30 5.814046 0....
4001 sym R (13467 sym/61 pcs) 11 img 3 tbl