Publications by Jlok17

Data 624 Homework 5

29.02.2024

Data 624 Homework 5 library(fpp3) library(tidyverse) Question 1 Consider the number of pigs slaughtered in Victoria, available in the aus_livestock dataset. A Use the ETS() function to estimate the equivalent model for simple exponential smoothing. Find the optimal values of α and ℓ0, and generate forecasts for the next four months. #?aus_...

5425 sym R (9223 sym/55 pcs) 12 img

Homework 4 Data 624

28.02.2024

Libraries library(mlbench) library(caret) library(tidyverse) library(corrplot) library(e1071) library(mice) library(questionr) Question 3.1 The UC Irvine Machine Learning Repository6 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...

5035 sym R (24614 sym/29 pcs) 10 img

Story 2 Data 608

19.02.2024

Objective The Federal Reserve’s mandate from Congress is to control inflation and to maintain low unemployment. These seem to be contradictory objectives. For this story you will need to source the following data for the last 25 years; The Consumer Price Index (CPI) (Bureau of Labor Statistics) The FED Funds Rate (FRED) (Federal Reserve Board...

7756 sym R (5530 sym/12 pcs) 2 img

Homework 3 Data 624

16.02.2024

Data 624 Homework 3 library(lubridate) library(tsibble) library(dplyr) library(tidyverse) library(fpp3) library(forecast) library(seasonal) Question 1 Produce forecasts for the following series using whichever of NAIVE(y), SNAIVE(y) or RW(y ~ drift()) is more appropriate in each case: data('global_economy') data('aus_production') data('a...

5001 sym R (6651 sym/46 pcs) 18 img

Data 624 Homework 2

11.02.2024

Homework 2 Data 624 library(lubridate) library(tsibble) library(dplyr) library(tidyverse) library(fpp3) library(forecast) library(seasonal) Question 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? data("globa...

6214 sym R (6157 sym/37 pcs) 24 img

Data 624 Homework 1

05.02.2024

Libraries Used: library(lubridate) library(tsibble) library(dplyr) library(tidyverse) library(fpp3) library(forecast) Problem 2.1: Explore the following four time series: Bricks from aus_production, Lynx from pelt, Close from gafa_stock, Demand from vic_elec. Use ? (or help()) to find out about the data in each series. What is the time inte...

4400 sym R (6999 sym/51 pcs) 26 img

Final Project 605

17.12.2023

Final Project # Libraries needed library(tidyverse) library(dplyr) library(tidyr) library(ggplot2) library(psych) library(corrplot) library(pracma) library(matrixcalc) library(MASS) library(fitdistrplus) library(xgboost) library(caret) Problem 1: Using R, set a random seed equal to 1234 (i.e., set.seed(1234)). Generate a random variab...

3995 sym R (12871 sym/41 pcs) 6 img

Portfolio Optimization V1

11.05.2023

Introduction: The general reason why I wanted to do this study was to figure out how to best invest my money. With so much going on in the economy as well as news stories that we hear about social security benefits potentially decreasing in 2030’s as well as notably in France where they increase the retirement age. I personally would like to ...

5036 sym R (10253 sym/31 pcs) 9 img

Project 4 607

01.05.2023

Introduction: Using the link below, I started with a compiled amount of Spam and Ham emails in order to try and predict a new class of documents to determine if the following documents are spam or ham. The way we are going to do this is to obtain the data and clean it to then place a training and testing dataset to see how well it can predict w...

1945 sym R (5083 sym/14 pcs)

TidyVerse Create

17.04.2023

Overview In this assignment, you’ll practice collaborating around a code project with GitHub. You could consider our collective work as building out a book of examples on how to use TidyVerse functions. GitHub repository: https://github.com/acatlin/SPRING2023TIDYVERSE Your task here is to Create an Example. Using one or more TidyVerse packages...

2624 sym R (7652 sym/11 pcs) 2 img