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?
Asked
Active
Viewed 840 times
3

Ben Bolker
- 34,308
- 2
- 93
- 126

Nowada
- 61
- 3
-
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/modeling assumptions. – Heteroskedastic Jim Dec 12 '18 at 13:08
-
1@HeteroskedasticJim, post your comment as an answer? – Ben Bolker Dec 12 '18 at 13:15
-
@BenBolker thought it too simple an answer, but done. – Heteroskedastic Jim Dec 12 '18 at 13:34
1 Answers
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
-
1A 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