1

Possible Duplicate:
How should I transform non-negative data including zeros?

I want to perform log transformation regression in R tool but the problem is that I don't know how to handle situations when data contains 0 since log 0 is infinite... Please help..

Komal
  • 61
  • 1
  • 3
  • 11
  • 1
    Take a look here http://stats.stackexchange.com/questions/1444/how-should-i-transform-non-negative-data-including-zeros . But probably you should convert them to non-zero values somehow. – Vladimir Chupakhin Jan 06 '13 at 05:50
  • Well if i were you i'd try to find another way. What phenomenon are you trying to describe? Is the log-transformation really needed? – Davide Jan 06 '13 at 10:00
  • There is no best method to handle such situation. However, you can use log(x+c) where c is a small number or log(x+x/2). Also, you can try Poisson, beta or gamma distribution as an alternative. – Dr Nisha Arora Mar 22 '16 at 09:48

0 Answers0