Hi everyone,
I have a question regarding taking the log of zero values. I want to take log transformation of two variables which are not continuous, however there are zero values in both variables. In this case, we need to scale up the variables to avoid the complication of zero values. However, I am wondering:
1. When taking the log of a variable, as long as there is a zero value in a variable, we need to scale up it or only when there are too many zero values? and what does "many" mean?
2. Is there any difference between taking the log of discontinuous variables and continuous ones?
3. What are the specific methods of dealing with zero values and when to use those methods?
I read a post about this in this forum, but still do not understand.
I really appreciate your help. Thank you.
I have a question regarding taking the log of zero values. I want to take log transformation of two variables which are not continuous, however there are zero values in both variables. In this case, we need to scale up the variables to avoid the complication of zero values. However, I am wondering:
1. When taking the log of a variable, as long as there is a zero value in a variable, we need to scale up it or only when there are too many zero values? and what does "many" mean?
2. Is there any difference between taking the log of discontinuous variables and continuous ones?
3. What are the specific methods of dealing with zero values and when to use those methods?
I read a post about this in this forum, but still do not understand.
I really appreciate your help. Thank you.
Comment