1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to A/B Testing in R

Exercise

Side effect load time plot

The viral article has died down, so you've decided to rerun your experiment on "tips" vs. "tools". However, after running it for a month you realized there was a larger load delay for the "tools" homepage than the "tips" homepage. You then added a delay to the "tips" homepage so that they even out. To start, let's visualize the effect the delay has on a 'like' rates on a daily basis.

Instructions

100 XP
  • First create the aggregated data frame. Group by visit_date and condition.
  • In addition to computing the 'like' rate, we also want to find out the mean page load time in a given day. Find the column in the data frame associated with page load time and fill it in.
  • In building your ggplot(), use the newly created page load column as your x-variable.
  • Use geom_point() to display dots for your data.