How to deal with negative and positive variables in a log transformation

546 Views Asked by At

I am creating a baseline. This baseline is composed by some variables. Some of these variables are positive, whilst others present positive and negative values. Here the problem: I need to do a log transformation of these variables for another model. How can I deal with it?

Do I need to add to every pos/neg vector its minimun in absolute value +1? In this case, my baseline will be modified. Can I proportionate again with the constant used (its minimun in absolute value +1)?

Thank you in advance to everyone.

0

There are 0 best solutions below