Publications by Stefano Biguzzi
DATA 624 - HW 5
Question 8.1 Consider the the number of pigs slaughtered in Victoria, available in the aus_livestock dataset. Part 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 four months. In the graph above forecasted using ...
9344 sym 19 img 9 tbl
DATA 624 - HW 9
Exercise 8.1 Recreate the simulated data from Exercise 7.2: library(mlbench) set.seed(200) simulated <- mlbench.friedman1(200, sd = 1) simulated <- cbind(simulated$x, simulated$y) simulated <- as.data.frame(simulated) colnames(simulated)[ncol(simulated)] <- "y" (a) Fit a random forest model to all of the predictors, then estimate the variab...
8319 sym R (653 sym/4 pcs) 12 img 6 tbl
DATA 624 - HW 8
Exercise 7.2 Friedman (1991) introduced several benchmark data sets create by simulation. One of these simulations used the following nonlinear equation to create data: \(y = 10 sin(\pi x_1x_2) + 20(x_3 − 0.5)^2 + 10x_4 + 5x_5 + N(0, \sigma^2)\) where the x values are random variables uniformly distributed between [0, 1] (there are also 5 other...
3716 sym 9 img 3 tbl
DATA 624 - HW 7
Question 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 have a sufficient permeability to become a drug: (a) Start R and use these commands to load the data: library(AppliedPredictiveModeling) library(car...
6985 sym R (205 sym/1 pcs) 7 img 5 tbl