Skip to content

Glossary: Regression

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.

Where the book teaches it

Related terms

Natural logarithmElasticityDiminishing returns