Publications by Vyanna Hill

Data606_Lab1

31.01.2022

library(tidyverse) library(openintro) Exercise 1 Retrieving the count of baptisims performed on girls using arbuthnot$girls arbuthnot$girls ## [1] 4683 4457 4102 4590 4839 4820 4928 4605 4457 4952 4784 5332 5200 4910 4617 ## [16] 3997 3919 3395 3536 3181 2746 2722 2840 2908 2959 3179 3349 3382 3289 3013 ## [31] 2781 3247 4107 4803 4881 5681 ...

4463 sym R (2486 sym/23 pcs) 3 img

Data607_Homework1

30.01.2022

Introduction| Assessment on Police shooting and ciziten deaths in the US The article “Where Police Have Killed Americans in 2015”1 aimed to analyze what made up the majority of police related shooting in the US. The premise was a observation, if there was a correlation in the related deaths’ backgrounds and their place at time of death. The...

3331 sym R (788 sym/3 pcs) 3 img

Data606_LabProposal

02.04.2022

Data Preparation library(RSocrata) library(tidyverse) library(dplyr) library(infer) library(ggpubr) library(ggplot2) data <- read.socrata("https://chronicdata.cdc.gov/OData.svc/i8ja-z54a") #The data is a little clutter, so I will tidy it # Taking out non necessary columns from the data set data<-data%>%select(-c("Class","Data_value_un...

1501 sym R (2215 sym/5 pcs) 3 img

Data607_Homework9

27.03.2022

library(httr) library(jsonlite) library(tidyverse) library(dplyr) library(rmarkdown) Connecting to NYT API APIs and data transportation Today, We will observe APIs and how data travels around the web. An API, is a interface created for human interaction. Users are given a platform where they can see all the information and interact with cod...

2171 sym R (730 sym/6 pcs)

Data606_Lab9

21.03.2022

library(tidyverse) library(openintro) library(ggplot2) library(ggpubr) library(rstatix) library(GGally) Exercise 1 This is an observational study. There are no variables that are tested nor the reviewers are not given a treatment for this to be a experiment. There might be a clarity problem with the question, as how do we scale beauty or if...

14887 sym R (12189 sym/26 pcs) 7 img

Data607_Homework3

13.02.2022

library(tidyverse) library(dplyr) library(stringr) Exercise 1 | Sorting majors Let’s use the data from the College Majors data set and sort for the majors that includes words like “data” and “statistics”. I will use dpylr’s filter function and grepl to sort for those specific values. Grepl will be our pattern matcher as data and st...

1722 sym R (1215 sym/8 pcs)

Data606_Lab8

12.02.2022

library(tidyverse) library(openintro) library(tidyverse) library(openintro) data('hfi', package='openintro') Exercise 1 There is 123 columns in this dataset with glimpse(hfi). (note: trust me) Exercise 2 I would use a scatter plot to show the relationship between two or more numeric values. For the example,Pf_score has a positive linear inc...

4843 sym R (1772 sym/13 pcs) 6 img

Data606_Lab5_part2

10.02.2022

library(tidyverse) library(openintro) library(infer) Exercise 1 From the sample, 55% of the population community climate change has affected their local community. us_adults <- tibble( climate_change_affects = c(rep("Yes", 62000), rep("No", 38000)) ) us_adults %>% count(climate_change_affects) %>% mutate(p = n /sum(n)) ## # A tibble...

7203 sym R (2085 sym/15 pcs)

Data606_Lab5_part1

10.02.2022

library(tidyverse) library(openintro) library(infer) Exercise 1 The sample distribution is similar to the poll given by WGM, as 74% believe in scientists and 26% does not. The sample differentiates by 6% from the original, as the sample population is more wary of scientists compared to the poll. global_monitor <- tibble( scientist_work = c(...

10351 sym R (4781 sym/26 pcs) 3 img

Data606_Lab4

09.02.2022

library(tidyverse) library(openintro) data("fastfood", package='openintro') Exercise 1 McDonald’s plot is right skewed curve. McDonald’s products’ calories from fat centers the around 200-300 calories as six of their products have ~250 calories. There are few products that are outliers from the distribution; there are +800 calories from ...

11630 sym R (3292 sym/30 pcs) 17 img