Load packages library(tidyverse) library(mosaic) Motivation What are data transformation good for? Why do we bother to transform variables for regression analysis? This post explores some nuances around these themes. Simulate an exponentially distributed assocation len <- 42 # 42 x values x <- rep(runif(len), 30) # each x value repeated 30 times y <- dexp(x) + rnorm(length(x), mean = 0, sd = .01) # add some noise Plot …