Publications by Alec McCabe

606 Lab 8

07.11.2021

Introduction to linear regression Alec McCabe The Human Freedom Index is a report that attempts to summarize the idea of “freedom” through a bunch of different variables for many countries around the globe. It serves as a rough objective measure for the relationships between the different types of freedom - whether it’s political, religiou...

9717 sym R (6097 sym/36 pcs) 7 img

606 Project Proposal

31.10.2021

606 Project Proposal Alec 10/31/2021 Libraries library(psych) library(rlist) library(tidyr) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ dplyr 1.0.7 ## ✓ tibble 3.1.4 ...

2183 sym R (2071 sym/18 pcs) 3 img

CUNY_606_homework_7

25.10.2021

Chapter 7 - Inference for Numerical Data Working backwards, Part II. (5.24, p. 203) A 90% confidence interval for a population mean is (65, 77). The population distribution is approximately normal and the population standard deviation is unknown. This confidence interval is based on a simple random sample of 25 observations. Calculate the sampl...

5473 sym R (698 sym/22 pcs) 4 img

CUNY_606_lab_7

24.10.2021

Inference for numerical data Alec McCabe Getting Started Load packages In this lab, we will explore and visualize the data using the tidyverse suite of packages, and perform statistical inference using infer. The data can be found in the companion package for OpenIntro resources, openintro. Let’s load the packages. library(tidyverse) library(...

7740 sym R (5443 sym/33 pcs) 3 img

NY Times API Assignment

24.10.2021

607_homework_9 Alec 10/24/2021 Load libraries library(jsonlite) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.4 ✓ dplyr 1.0.7 ## ✓ t...

1334 sym R (1175 sym/11 pcs)

Purrr Vignette

24.10.2021

Tidyverse CREATE - Alec Alec 10/24/2021 Introduction to Purrr This vignette has been created to provide information on the tidyverse package: purrr. Purrr is a great package for analyzing and manipulating json data. We will be using a League of Legends dataset, provided by Santiago Torres in project 2. Loading the Data library(rjson) library(ti...

3317 sym R (2837 sym/24 pcs)

Introduction to purrr package

24.10.2021

Tidyverse CREATE - Alec Alec 10/24/2021 Introduction to Purrr This vignette has been created to provide information on the tidyverse package: purrr. Purrr is a great package for analyzing and manipulating json data. We will be using a League of Legends dataset, provided by Santiago Torres in project 2. Loading the Data library(rjson) library(ti...

3317 sym R (2837 sym/24 pcs)

606_homework_6

17.10.2021

Chapter 6 - Inference for Categorical Data Alec McCabe 2010 Healthcare Law. (6.48, p. 248) On June 28, 2012 the U.S. Supreme Court upheld the much debated 2010 healthcare law, declaring it constitutional. A Gallup poll released the day after this decision indicates that 46% of 1,012 Americans agree with this decision. At a 95% confidence level,...

7645 sym R (1176 sym/27 pcs)

606_homework_5

10.10.2021

Chapter 5 - Foundations for Inference Alec McCabe Heights of adults. (7.7, p. 260) Researchers studying anthropometry collected body girth measurements and skeletal diameter measurements, as well as age, weight, height and gender, for 507 physically active individuals. The histogram below shows the sample distribution of heights in centimeters....

7983 sym R (924 sym/26 pcs) 5 img

607_Homework_7

10.10.2021

607_homework_7 Alec 10/10/2021 library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.4 ✓ dplyr 1.0.7 ## ✓ tidyr 1.1.3 ✓ stringr 1.4....

1327 sym R (4254 sym/25 pcs)