3

I have model where my dependent variable is Total money spend and then I have independent variable Income and some other variables. Is it okay to use log transformation on the dependent variable and one of the independent ones and keep the rest unchanged?

Ben Bolker
  • 34,308
  • 2
  • 93
  • 126
Nowada
  • 61
  • 3

1 Answers1

4

Yes. You can use a combination of different transformations in one model. There is no reason not to if you find that such log transformations make sense and help with interpretation or modeling assumptions like linearity.

Heteroskedastic Jim
  • 4,567
  • 1
  • 10
  • 32
  • 1
    A simple example is fitting a power function in a measured predictor $y = ax^b$ with also an indicator variable with values $0$ and $1$. Hence you might work with $\log y = b_1 + b_2 \log x + b_3\ \text{indicator}$, where $b_1= \log a$. Here the indicator does not need transformation and indeed any other transformation could only map $0$ and 1 to two constants, so there is no scope whatever for helpful transformation. – Nick Cox Dec 12 '18 at 15:40