Publications by Jacob Martin

DS 1870: Module 4.2 Homework - Spring 2025 - Key

07.04.2025

Question 1 Blackjack is a card game where the player goes up against the dealer (not other players). A round of blackjack can end in one of three ways: “player” wins, “dealer” wins, or a “push” (tie). The goal of blackjack is to try to get as close of a point total of 21 as possible without going over (called a bust). If the player i...

6352 sym Python (5603 sym/12 pcs) 2 img

DS 1870: Module 4 Lab - Key

01.04.2025

knitr::opts_chunk$set(echo = T, #warning = F, #message = F, fig.align = "center") # Load the tidyverse, skimr, and gt packages pacman::p_load(tidyverse, skimr, gt) Instructions: Make sure that the methods you use in this assignment use the different methods we’ve learned i...

3691 sym Python (6043 sym/11 pcs) 3 img 5 tbl

DS 1870: Module 4 Lab - Graphs

31.03.2025

knitr::opts_chunk$set(echo = F, #warning = F, #message = F, fig.align = "center") # Load the tidyverse, skimr, and gt packages pacman::p_load(tidyverse, skimr, gt) Instructions: Make sure that the methods you use in this assignment use the different methods we’ve learned i...

3683 sym 3 img 5 tbl

DS 1870: Module 4.2 Homework Results - SP 25

21.03.2025

Question 1 Blackjack is a card game where the player goes up against the dealer (not other players). A round of blackjack can end in one of three ways: “player” wins, “dealer” wins, or a “push” (tie). The goal of blackjack is to try to get as close of a point total of 21 as possible without going over (called a bust). If the player i...

6344 sym 2 img

DS 1870: Module 4 Homework - Part 1 Graphs

16.03.2025

Data Description The babynames data set has the number of babies assigned each first name (with at least 10 babies per year). The columns in the data are: sex: The sex of the child assigned at birth (either ‘F’ or ‘M’) year: the year (1910 - 2023) name: The first name assigned count: The number of babies assigned the name for that year...

2564 sym 4 img

DS 1870: Homework 3.2 - Spring 2025 - key

04.03.2025

If a question asks for any calculations (means, medians, tables, proportions, etc…) or graphs, make sure they appear in the knitted document The final document should not show any warnings Question 1: Bones Data set See Brightspace for a description of the data. It’s the same data set as the homework for module 3 homework part 1. Part 1a: ...

2543 sym 6 img

DS 1870 - Homework 3.1 Solutions - Sp 2025

01.03.2025

See the Brightspace post for a description of the data. If a question asks for any calculations (means, medians, tables, proportions, etc…) or graphs, make sure they appear in the knitted document The final document should not show any warnings Question 1: Skimming the data set Skim the data set. skim(bones) Data summary Name bones Number o...

2675 sym 6 img 3 tbl

STAT 5230: Homework 1 Key - Spring 2025

22.02.2025

MLB Batting Data The dataset mlb batting.csv has information on all the batting results for 314 MLB players for the 2023 season that played in at least 50 games. There are 10 variables in the data. First is player number (row_num), which you can ignore for now. Question 1: Summary Stats Mean vector \(\bar{\textbf{y}}\) mlb |> #removing row...

2986 sym Python (8329 sym/25 pcs) 7 img

DS 1870: Homework 2.2 key - spring 2025

18.02.2025

knitr::opts_chunk$set(echo = TRUE, fig.align = "center") # Load the tidyverse and gt packages pacman::p_load(tidyverse, gt) The supers2.csv file has 12 variables on 1899 superheroes from Marvel and DC Comics. We will focus on 3 variables: Alignment: If the character is considered a “Good Guy” (Good), Neutral (Neutra...

3876 sym Python (5247 sym/13 pcs) 5 img 5 tbl

STAT 5230: Lab 2 Solutions

11.02.2025

The data for Practice 2 has national track records of 55 countries and 8 difference track races. The meter100, meter200, and meter400 are recorded in seconds The meter800, meter1500, meter5000, meter10000, and Marathon are measured in minutes. Question 1: PCA with the Covariance Matrix The first set of questions will be performing PCA using th...

4358 sym 4 img