Hi there all!

I am running into trouble. I did an association model, but now that i look to one of the independent variables (meandailylegactivitystepsperday) more closely, i can definitely see a (moderate?) positive skew.. I am trying to transform that using log() in the model, the same way i did do this for a positively skewed dependent variable (ketosis).

I've read online that independent variables do not need to have a normal distribution for a linear model. However, another study excecuted by my teacher using partly the same dataset and using this same meandailylegactivitystepsperday did also notice the positively skewed data and did logtransform this in the models.

So i feel that i'll have to do this too but i can't seem to work it out (double () or just single () gave different errors)

Could someone help me out? Thanks in advance!