Publications by Colin S.

PHTH5210_SP24_FINALPROJECT

23.04.2024

library(tidyverse) library(openintro) library("NHANES") ## Warning: package 'NHANES' was built under R version 4.3.3 library(dplyr) library(ggplot2) library(survey) ## Warning: package 'survey' was built under R version 4.3.3 library(broom) library(quantreg) ## Warning: package 'quantreg' was built under R version 4.3.3 ## Warning in .recacheS...

77342 sym 6 img

Lab 5: Sampling Distributions

21.04.2024

library(tidyverse) library(openintro) library(infer) ## Warning: package 'infer' was built under R version 4.3.3 global_monitor <- tibble( scientist_work = c(rep("Benefits", 80000), rep("Doesn't benefit", 20000)) ) ggplot(global_monitor, aes(x = scientist_work)) + geom_bar() + labs( x = "", y = "", title = "Do you believe th...

11450 sym 5 img

Lab 4: Multivariable Linear Regression

31.03.2024

library(tidyverse) library(openintro) library(GGally) ## Warning: package 'GGally' was built under R version 4.3.3 library(broom) Exercise 1 Being that there are no controls or experimental groups, this, in fact, is an observational study. Further, this is only an observational study; thus, there cannot be causation between the explanatory and...

19592 sym 30 img

Lab 3: Introduction to Linear Regression

17.03.2024

library(tidyverse) library(openintro) Exercise 1 The Human Freedom Index (HFI) has 1,458 rows/observations and 123 columns/variables. Specifically, each row represents one country in the HFI. data(hfi) dim(hfi) ## [1] 1458 123 names(hfi) ## [1] "year" "ISO_code" ## [3] "countries" ...

9042 sym 6 img

Lab 2: Introduction to Data

18.02.2024

library(tidyverse) library(openintro) data(nycflights) Exercise 1 After observing the three histograms, they become more defined each time. In turn, allowing its viewer to specifically focus on the mode of the departure delays. names(nycflights) ## [1] "year" "month" "day" "dep_time" "dep_delay" "arr_time" ## [7] "arr_delay...

6376 sym 6 img

Document

04.02.2024

library(tidyverse) library(openintro) Exercise 1 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 4858 4319 5322 5560 5829 5719 6061 6120 5822 ## [46] 5738 5717 5847 6203 603...

3490 sym 4 img