Publications by Rachel Saidi
Reading Data into R in Three Different Ways
Hate Crimes in NY from 2010-2016 Author Rachel Saidi Published May 5, 2020 Hate Crimes Dataset This dataset looks at all types of hate crimes in New York counties by the type of hate crime from 2010 to 2016. My caveat: Flawed hate crime data collection - we should know how the data was collected (Nathan Yau of Flowing Data, Dec 5, 2017) Data...
6846 sym 4 img
Temp
Airquality Assignment Author Rachel Saidi Published May 5, 2023 Airquality Tutorial and Homework Assignment Source: https://www.istockphoto.com/search/2/image-film?phrase=air+pollution Load in the library Because airquality is a pre-built dataset, we can write it to our data directory to store it for later use. The source for this dataset i...
3737 sym Python (2873 sym/25 pcs) 5 img
New
chapter 1 notes load the libraries library(tidyverse) library(openintro) view high school and beyond data class data("hsb2") filter for public school students hsb2_public <- hsb2 |> # |> piping operator - "and then" filter(schtyp == "public") how many schtyp factors are there? unique(hsb2$ses) [1] low middle high Levels: low mid...
311 sym Python (1618 sym/15 pcs) 2 img
Japan Earthquake GIS Tutorial
Japan Earthquakes Geo Tutorial Japan Earthquakes 2011 Geo mapping using Japan Earthquakes 2001-2018 dataset. Source: USGS Earthquake Catalog (https://earthquake.usgs.gov/earthquakes/search/). This tutorial is adapted from: https://towardsdatascience.com/how-to-make-stunning-geomaps-in-r-a-complete-guide-with-leaflet-be1b857f1644 This is a large ...
3323 sym 9 img 1 tbl
Chapter 18 Chi Square
Chapter 18 - Chi Square Author R Saidi Load the libraries and data library(tidyverse) library(openintro) library(tidymodels) data("gss") A question in two variables Does level of education have an association with political party affiliation? Chi Square When we are looking at a two-way table, we can explore the \(\chi^2\) distribution St...
654 sym Python (2200 sym/14 pcs) 3 img
Chapter 17 - Difference in Proportions
Chapter 17 interactive notes Author R Saidi Load the libraries and data library(tidyverse) library(openintro) library(tidymodels) data("gss") A question in two variables Do women and men join political parties at different rates? Let p be the proportion that are democrats. \(H_o: p_f = p_m\) \(H_a: p_f \neq p_m\) We’re curious to know: d...
2898 sym 3 img
MATH 217 Chapter 16 Interactive Notes
Load the libraries and data library(tidyverse) library(openintro) library(tidymodels) data("resume") Rename the factor levels for callbacks resume1 <- resume |> mutate(called = ifelse(received_callback == 1, "yes", "no")) View the counts for applicants receiving callbacks ggplot(resume1, aes(x = called)) + geom_bar() calculate exact pro...
2457 sym R (3051 sym/31 pcs) 4 img
Chapter 16 Notes
Chapter 16 interactive notes Author R Saidi library(tidyverse) library(openintro) library(tidymodels) data("resume") Rename the factor levels for callbacks resume1 <- resume |> mutate(called = ifelse(received_callback == 1, "yes", "no")) View the counts for applicants receiving callbacks ggplot(resume1, aes(x = called)) + geom_bar(...
1655 sym 2 img
Disease and Democracy, DS Labs, and Highcharter F23
Disease/Democracy, DS Labs and Highcharter Author Rachel Saidi Published March 30, 2023 Disease and Democracy This data attempts to illustrate a controversial theory suggesting that the emergence of democratic political systems has depended largely on nations having low rates of infectious disease, from the Global Infectious Diseases and Epid...
8729 sym R (11403 sym/31 pcs) 9 img
temp
temp library(tidyverse) ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ✔ dplyr 1.1.3 ✔ readr 2.1.4 ✔ forcats 1.0.0 ✔ stringr 1.5.0 ✔ ggplot2 3.4.3 ✔ tibble 3.2.1 ✔ lubridate 1.9.2 ✔ tidyr 1.3.0 ✔ pu...
43 sym