Publications by Philip Tanofsky
DATA 605 Discussion Week 13
Prompt Using R, provide the solution for any exercise in either Chapter 4 or Chapter 7 of the calculus textbook. If you are unsure of your solution, post your concerns. Section 4.2: Exercise 9 A 24 ft. ladder is leaning against a house while the base is pulled away at a constant rate of 1 ft/s. At what rate is the top of the ladder sliding down ...
1229 sym R (478 sym/4 pcs)
DATA 605 Discussion Week 12
Prompt 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? library(tidyverse) Dataset I’ll ...
4538 sym R (3935 sym/20 pcs) 14 img
DATA 624 Project 2: Progress v1
Technical Report: Determinants of PH in Beverage Process Alexander Ng, Philip Tanofsky Due 12/13/2021 Overview Introduction This technical report tunes multiple models for prediction of beverage PH and identifies determinants of PH among predictors in the manufacturing process. We train and test 5 models for this purpose including the Cubist, Gr...
11261 sym R (32003 sym/35 pcs) 15 img 2 tbl
DATA 624 Assignment 10
Prompt Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer’s basket - and therefore ‘Market Basket Analysis’. That is exactly what the Groceries Data Set contains: a collection of receipts with each line represe...
6857 sym R (13109 sym/30 pcs) 6 img
DATA 624 Assignment 9
# Import required R libraries library(AppliedPredictiveModeling) library(tidyverse) #library(pls) #library(elasticnet) #library(corrplot) # libraries for Chapter 8 library(caret) library(Cubist) library(gbm) library(ipred) library(party) library(partykit) library(randomForest) library(rpart) library(RWeka) library(kableExtra) # Set seed for ass...
13010 sym R (62643 sym/70 pcs) 7 img 1 tbl
DATA 624 Assignment 8
# Import required R libraries library(AppliedPredictiveModeling) library(caret) library(tidyverse) library(corrplot) library(earth) library(kernlab) library(mlbench) library(kableExtra) # Set seed once for entire file set.seed(200) Exercise 7.2 Friedman (1991) introduced several benchmark data sets create by simulation. One of these simulations...
8219 sym R (31388 sym/74 pcs) 10 img 1 tbl
DATA 624 Assignment 7
# Import required R libraries library(AppliedPredictiveModeling) library(caret) library(tidyverse) library(pls) library(elasticnet) library(corrplot) Exercise 6.2 Developing a model to predict permeability (see Sect. 1.4) could save significant resources for a pharmaceutical company, while at the same time more rapidly identifying molecules that...
7663 sym R (15416 sym/52 pcs) 8 img
DATA 624 Project 1
This project consists of 3 parts - two required and one bonus and is worth 15% of your grade. The project is due at 11:59 PM on Sunday October 31. I will accept late submissions with a penalty until the meetup after that when we review some projects. # Import required R libraries library(fpp3) library(tidyverse) library(readxl) library(writexl) l...
30153 sym R (51379 sym/182 pcs) 67 img
DATA 624 ARIMA Presentation Examples
GDP Data Example Read in data and plot with autoplot() rawdata = read_table("Table 21.1.txt", skip = 9, col_types = list( YEAR = col_character())) rawdata %>% mutate( YEAR2 = str_replace(YEAR, "\\.", " Q")) -> aa aa %>% dplyr::select(YEAR2, GDP , PDI, PCE, PROFITS, DIVIDENDS ) %>% mutate(YEAR= year...
3256 sym R (10991 sym/51 pcs) 17 img 2 tbl
DATA 624 Assignment 5
# Import required R libraries library(fpp3) Exercise 8.1 Consider the the number of pigs slaughtered in Victoria, available in the aus_livestock dataset. Section a Use the ETS() function to estimate the equivalent model for simple exponential smoothing. Find the optimal values of \(\alpha\) and \(\ell_{0}\), and generate forecasts for the next ...
10406 sym R (13598 sym/61 pcs) 18 img