Publications by Magnus Skonberg

DATA 624 Project 2

05.12.2021

Background The purpose of our second project is to work as a team to apply concepts from the 2nd half of our Predictive Analytics course to a beverage data set. More specifically, to explore the data, determine whether we might use a linear regression, non-linear regression or tree-based model, to then build, compare, select our optimal model, an...

21332 sym R (18656 sym/34 pcs) 9 img 4 tbl

DATA 624 Pres

15.11.2021

library(dplyr) library(forecast) library(tidyverse) library(randomForest) library(tsibble) library(readr) Background The purpose of this presentation is to explore a real world application of a Random Forest model on time series data. Random forest is one of the simplest, most robust, powerful and popular ML algorithms and we wanted to go �...

8108 sym R (8787 sym/22 pcs) 4 img

DATA 624 HW8

12.11.2021

library(dplyr) library(forecast) library(ggplot2) library(VIM) #missing data visualization library(tidyr) library(mice) library(corrplot) library(MASS) library(Boruta) #feature selection library(mlbench) library(caret) library(earth) #MARS library(nnet) #neural network Background The purpose of this assignment was to explore Non-Line...

6445 sym R (11636 sym/36 pcs) 3 img

DATA 624 Project 1

30.10.2021

library(fpp2) #in case of fpp3 package issues library(fpp3) library(forecast) library(ggplot2) library(naniar) #visualize missing data library(inspectdf) #high level histogram library(skimr) #high level data statistics library(car) #cook's distance (outlier handling) library(imputeTS) #impute missing time series values library(TSstudio) ...

14870 sym R (12901 sym/71 pcs) 16 img

DATA 624 HW6

23.10.2021

library(fpp2) #in case of fpp3 package issues library(fpp3) library(forecast) library(ggplot2) library(urca) Background The purpose of this assignment was to explore the ARIMA exercises from Forecasting: Principles and Practice. 9.1 Figure 9.32 shows the ACFs for 36 random numbers, 360 random numbers and 1,000 random numbers. Explain the d...

12899 sym R (7965 sym/54 pcs) 22 img

DATA 624 HW5

07.10.2021

library(fpp2) #I don't have time to keep trouble-shooting fpp3 package problems library(fpp3) library(forecast) library(ggplot2) Background The purpose of this assignment was to explore the Exponential Smoothing exercises from Forecasting: Principles and Practice. 8.1 Consider the the number of pigs slaughtered in Victoria, available in the ...

10424 sym R (8771 sym/64 pcs) 17 img

DATA 624 HW1

06.09.2021

library(fpp3) library(zoo) #to convert Quarter to type quarter in Q3 library(USgas) Background The purpose of this assignment was to explore the Time Series Graphics exercises from Forecasting: Principles and Practice. 2.1 Use the help function to explore what the series gafa_stock, PBS, vic_elec and pelt represent. Use autoplot() to plot som...

9804 sym R (7395 sym/30 pcs) 12 img

DATA 624 HW2

17.09.2021

library(fpp3) library(zoo) #to convert Quarter to type quarter in Q3 library(USgas) #library(sna) #components library(seasonal) #x11 Background The purpose of this assignment was to explore the Time Series Decomposition exercises from Forecasting: Principles and Practice. 3.1 Consider the GDP information in global_economy. Plot the GDP per ...

9192 sym R (5402 sym/24 pcs) 20 img

DATA 624 HW3

20.09.2021

library(fpp3) library(tsibble) library(lubridate) Background The purpose of this assignment was to explore the Forecasting exercises from Forecasting: Principles and Practice. 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 (globa...

6975 sym R (9386 sym/29 pcs) 12 img

DATA 624 HW4

02.10.2021

library(mlbench) library(tidyr) library(dplyr) library(ggplot2) library(inspectdf) #numeric variable distributions library(naniar) #missing values library(corrplot) #correlation Background The purpose of this assignment was to explore the Data Pre-processing exercises from Applied Predictive Modeling. 3.1 The UC Irvine Machine Learning Re...

6445 sym R (4316 sym/11 pcs) 6 img