8 Real life application

  1. How many clinics participated in the study, and how many valid tests were performed on each one? Did the number of daily tests vary over time?
  2. How many patients tested positive vs negative in the first 100 days of the pandemic? Do you notice any difference with the age of the patients? Hint: You can make two age groups and calculate the percentage each age group in positive vs negative tests, try using the function ifelse() to do this.
  3. Look at the specimen processing time to receipt, did the sample processing times improve over the first 100 days of the pandemic? Plot the median processing times of each day over the course of the pandemic and then compare the summary statistics of the first 50 vs the last 50 days
  4. Bonus: Higher viral loads are detected in less PCR cycles. What can you observe about the viral load of positive vs negative samples. Do you notice anything differences in viral load across ages in the positive samples? Hint: Also split the data into two age groups and try using geom_boxplot()
library(medicaldata)
covid<-covid_testing
dim(covid)
## [1] 15524    17