Publications by PK O’Flaherty

DATA624 Homework 7

04.11.2024

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 have a sufficient permeability to become a drug: Part a The matrix fingerprints contains the 1,107 binary molecular predictors for the 165 compounds, w...

14320 sym R (18502 sym/42 pcs) 2 img 5 tbl

DATA624 Homework 4

03.11.2024

Exercise 3.1 The UC Irvine Machine Learning Repository 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. Interestingly this was motivated b...

7516 sym R (8910 sym/22 pcs) 4 img 2 tbl

DATA624 Project 1

26.10.2024

Part A - ATM Forecast Forecast how much cash is taken out of 4 different ATM machines for May 2010. Data Here we process our data, develop an intuition for how to approach the forecast, and handling missing or anomalous data. Section Summary * Import * Visualize the data * Patterns * Problematic ATM3 * Remaining missing data * Replacing missing va...

24214 sym R (16576 sym/58 pcs) 30 img 16 tbl

DATA624 Project 1

24.10.2024

Part A - ATM Forecast Forecast how much cash is taken out of 4 different ATM machines for May 2010. Data Here we process our data, develop an intuition for how to approach the forecast, and handling missing or anomalous data. Section Summary * Import * Visualize the data * Patterns * Problematic ATM3 * Remaining missing data * Replacing missing va...

20749 sym R (16573 sym/63 pcs) 29 img 13 tbl

DATA624 Homework 3

14.10.2024

Exercise 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: It seems if seasonality is stronger than trend then Seasonal Naïve works best and if trend is stronger than seasonality then Drift works best as a baseline comparison forecast. Part a Australian Popul...

6034 sym R (7020 sym/24 pcs) 18 img

DATA624 Homework6

13.10.2024

Exercise 9.1 Figure 9.32 (located here) shows the ACFs for 36 random numbers, 360 random numbers and 1,000 random numbers. Part a Explain the differences among these figures. Do they all indicate that the data are white noise? Since they are random numbers, they should be independent from each other, and so we would expect the Autocorrelation Func...

13578 sym R (10951 sym/44 pcs) 18 img

DATA624 Homework 5

07.10.2024

### Load Libraries library(fpp3) ## Warning: package 'fpp3' was built under R version 4.3.3 Exercise 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 l_0, and gen...

7423 sym R (15129 sym/44 pcs) 15 img

DATA624 Homework 3

22.09.2024

## Warning: package 'fpp3' was built under R version 4.3.3 Exercise 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: It seems if seasonality is stronger than trend then Seasonal Naïve works best and if trend is stronger than seasonality then Drift works best...

3807 sym R (5701 sym/23 pcs) 8 img

DATA624 Homework 2

16.09.2024

Exercise 3.7.1 Consider the GDP information in global_economy. Plot the GDP per capita for each country over time. Which country has the highest GDP per capita? How has this changed over time? The USA had the highest GDP every year from 1960 to 2017 but the story changes when you look at GDP per Capita. Then the USA had the highest from 1960 to 196...

9940 sym R (3830 sym/2 pcs) 17 img

DATA624 Homework 2

16.09.2024

Exercise 3.7.1 Consider the GDP information in global_economy. Plot the GDP per capita for each country over time. Which country has the highest GDP per capita? How has this changed over time? The USA had the highest GDP every year from 1960 to 2017 but the story changes when you look at GDP per Capita. Then the USA had the highest from 1960 to 196...

9940 sym R (3830 sym/2 pcs) 17 img