Publications by Kristin Lussi

DATA 607 Project 2: Probable Maximum Loss

14.10.2023

Introduction In this project, I am working with a dataset from the Organization of American States on a Probable Maximum Loss study in three Caribbean Island States: Dominica, St Lucia, and St Kitts and Nevis. I wanted to work with the “50% Upper Prediction Limit MLE 50 Year Mean Return Period Event” tables for each of the three Carribbean coun...

1553 sym R (6107 sym/8 pcs) 1 img

DATA 607 Homework 4

05.10.2023

Introduction We have been provided with a chart that describes arrival delays for two airlines across five destinations. In this analysis, I will compare the arrival delays for the two airlines and for each airport: Los Angeles, Phoenix, San Diego, San Francisco, and Seattle. Load Required Packages First, let’s load the required packages. librar...

2311 sym R (7815 sym/18 pcs) 1 img

DATA 607 Project 1

26.09.2023

Project Goal Your job is to create an R Markdown file that generates a .CSV file (that could for example be imported into a SQL database) with the following information for all of the players: Player’s Name, Player’s State, Total Number of Points, Player’s Pre-Rating, and Average Pre Chess Rating of Opponents Loading and Reading the Data Fir...

1384 sym R (5583 sym/6 pcs)

DATA 607 Extra Credit 3

25.09.2023

DATA 607 Extra Credit Window Functions Kristin Lussi 2023-9-26 Introduction In this presentation, I will demonstrate time series analysis on a dataset which provides daily climate data from January 1, 2013 to April 24, 2017 in the city of Delhi, India. The variables measured are mean temperature (celsius), humidity (g.m^-3), wind speed (kmph), a...

2544 sym 4 img 1 tbl

DATA 607 Assignment 3

21.09.2023

Question 1: Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” Answer: # retrieve the csv file from GitHub urlfile = "https://raw.githubuserconte...

2808 sym R (1780 sym/10 pcs)

DATA 607 Assignment 2

14.09.2023

Introduction library(RMySQL) library(dplyr) host <- "localhost" source("logincredentials.R") dbname <- "movie_ratings" # Establish the database connection con <- dbConnect(MySQL(), user = user, password = password, dbname = dbname, host = host) query <- "SELECT * FROM ratings" # Fetch data into a data frame movieRatings <- dbGetQuery(con, query)...

2169 sym R (5937 sym/5 pcs) 1 img 2 tbl

DATA 607 Homework 1

08.09.2023

Introduction The article I chose for this assignment is called “Where Police Have Killed Americans In 2015”, written by Ben Casselman (https://fivethirtyeight.com/features/where-police-have-killed-americans-in-2015/) This article is about the release of Guardian’s interactive database of Americans killed by police in 2015. The data was retrie...

2194 sym R (3730 sym/5 pcs) 2 img 1 tbl

DATA 606 Lab 1

30.08.2023

data('arbuthnot', package='openintro') library(ggplot2) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.2 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ lubridate 1.9.2 ✔ tibble ...

2108 sym 3 img

R Bridge Final Project

30.07.2023

For this project, I analyzed a data set of people who have been arrested due to marijuana possession. The question I want to answer is: Which attributes have the greatest impact on an arrestee being released? The attributes being assessed are race, age, sex, employment status, citizenship status, and previous arrests. Here we clean up the data: lib...

3835 sym R (11477 sym/27 pcs) 5 img

Bridge HW 2

23.07.2023

Here, we call the csv file from a GitHub link. We clean up the data table. The columns need to be split, the data needs to be converted from characters into integers, and we need to assign a number to the “Houses” column because it is empty. library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats...

1456 sym R (9225 sym/32 pcs)