Hello,

I'm trying to regress a dependent variable against two independent variables using a linear model. However, since the estimated coefficients are very small, I thought about log-transforming the variables in order to get a better result.

My model: lm <- lm(x ~ a+b)

Now my question is, if I have to perform the transformation on both the dependent variable and the independent variables ( lm(log(x) ~ log(a)+log(b)) ) or only on the independent variables ( lm(x ~ log(a)+log(b)) ).

Thanks