Log transformation
Also written: log predictor, log outcome, np.log
Using the logarithm of a variable in the model. A logged predictor models diminishing returns, and a logged outcome makes coefficients percentage changes. `np.log` works inside a formula.