Publications by Magnus Skonberg
DATA 607 Project 2 - Dataset 2
Background The purpose of this assignment is to tidy and transform data. The dataset of interest describes the relationship between student exam performance and parental education levels and our task is to: Create a .csv file in a “wide” structure. Read this .csv and use tidyr and dplyr to tidy and transform. Analyze the correlation between ...
4172 sym R (6234 sym/10 pcs) 3 img
DATA 607 Project 2 - Dataset 1
Background The purpose of this assignment is to tidy and transform data. The dataset of interest describes Happiness v GDP for the United States and Finland and our task is to: Create a .csv file in a “wide” structure. Read this .csv and use tidyr and dplyr to tidy and transform. Analyze Happiness and GDP between the nations. Provide the .rm...
3581 sym R (3790 sym/9 pcs) 3 img
DATA 607 Project 2 - Dataset 3
Background The purpose of this assignment is to tidy and transform data. The dataset of interest describes subway ridership from 2013 to 2018 for Brooklyn, the Bronx, Manhattan and Queens and our task is to: Create a .csv file in a “wide” structure. Read this .csv and use tidyr and dplyr to tidy and transform. Analyze which borough had the l...
3779 sym R (4362 sym/10 pcs) 2 img
DATA 607 Week7 Assignment
Background The purpose of this week’s assignment was to familiarize ourselves with the different file structures (HTML v XML v JSON) and whether reading from these different file types leads to different output dataframes (or not). The basic approach I followed was: Pick three books. Create HTML, XML, and JSON files. Load data into separate R ...
2706 sym R (2008 sym/12 pcs)
DATA 607 Project 3 - pt 1
Team Members Dan Rosenfeld Magnus Skonberg Mustafa Telab Josef Waples Collaboration Tools Slack: regular, written communication. Google Meet: 1-2x/wk meetups. Github: code sharing and collaboration. Google Docs: collaborative written project documentation. Data Source(s) We identified our sources of data as the following (cited APA-style belo...
4021 sym
DATA 605 HW 10
Background The purpose of this assignment is to explore the application and properties of the Markov Chains and Random Walks. Gambler’s Ruin Smith is in jail and has 1 dollar; he can get out on bail if he has 8 dollars. A guard agrees to make a series of bets with him. If Smith bets A dollars, he wins A dollars with probability .4 and loses A ...
1771 sym R (575 sym/4 pcs)
DATA 607 Tidyverse CREATE
Background The purpose of this assignment is to create a programming sample “vignette” that demonstrates how to use one or more of the capabilities of the selected Tidyverse package with our selected dataset. Data Source The source of data is cited APA-style below: Marcos Pesotto. (2018). Happiness and Alcohol Consumption [Data file]. Retri...
3693 sym R (2913 sym/12 pcs) 1 img
DATA 607 Week9 Assignment
BACKGROUND The purpose of this assignment is to choose one of the New York Times APIs, construct an interface in R to read in the JSON data, and transform it into an R DataFrame. CHOOSE NY TIMES API I elected the NY Times Bestseller List API, and after setting up an account and getting an API key, I utilized the URL listed on the NYT Developer B...
1541 sym R (3817 sym/5 pcs)
DATA 605 HW9
Background The purpose of this assignment is to explore the application and properties of the Central Limit Theorem and Generating Functions. 1. Central Limit Theorem Ex 11, p. 363 The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by \(Y_n\) on the nth day of the year. Finn observes that the difference...
6828 sym R (400 sym/9 pcs)
DATA 605 Wk 9 Disc
Ex 11, p. 363 The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by \(Y_n\) on the nth day of the year. Finn observes that the differences \(X_n\) = \(Y_{n+1} − Y_n\) appear to be independent random variables with a common distribution having mean \(\mu\) = 0 and variance \(\sigma^2 = 1/4\). If \(Y_1 =...
2461 sym R (400 sym/9 pcs)