How to log transform 0s? (or how to deal with these 0 values?) #49
Unanswered
leungwinnie
asked this question in
Q&A
Replies: 1 comment
-
Usually, log transformation is x_transformed = log(x+1) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are some spend data that I want to include in my model as dependent variables, these however are 0s at some weeks.
Since log cannot transform 0s, does it make sense if I manually replace these failed transformations to 0?
And many thanks for your helpful article!
Beta Was this translation helpful? Give feedback.
All reactions