Exercise

Transforming the response variable too

The response variable can be transformed too, but this means you need an extra step at the end to undo that transformation. That is, you "back transform" the predictions.

In the video, you saw the first step of the digital advertising workflow: spending money to buy ads, and counting how many people see them (the "impressions"). The next step is determining how many people click on the advert after seeing it.

ad_conversion is available and ggplot2 and tibble are loaded.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Run the code provided, and look at the plot.
  • Edit the plot so the x and y aesthetics are transformed by raising them to the power 0.25.
  • Look at the new plot. Do the points track the line more closely?