# Dealing with Log(0)

#### ritmaniac

##### New Member
Dear all,

I’ve been stuck for quite some time with a problem that relates to use of log-scale with values that equal zero. My data comes from an experiment in which five different instruments (one of them using the reference method) take two measurements of a given sample’s signal emission. A total of fifteen samples are processed. I would like to copy an approach widely used in the bibliography I have reviewed, comprised buy the following

- perform a log transformation of the average of the two reads (taken for every sample, respectively, by the instruments)

-perform a linear regression

-ANOVA analysis

A grave issue arises when readings for some of the instruments drop to zero. To make a long story short, some instruments alter the sample’s capacity to generate a signal and the signal drops below the resolution of the instrument (this doesn’t happen in all the instruments, let alone the gold standard), actually this is quite a finding! However, I’m left with no apparent way to compare myself to available bibliography.

I can’t perform any analysis of reads with zero values, not if I use a log transformation. My thinking, is that, rigorously speaking, the “0 results” (let’s call these “x”) are NOT equal to 0. In fact, they are smaller than the instrument’s limit of resolution (res), hence, “x < (res)”, a result that seems fairly sound to me, much more rigorous than just “0”, in fact.

The question comes as to whether I could, for the sake of analyzing the data do the following:

-Set all values of 0 equal to (res); *

-Perform the linear regression analysis

*at this point I should probably do something to account for the standard deviation, I
guess (¿?)

Now, if the linear regression yielded results that were acceptable according to prefixed criteria, I could do very little but say that, allegedly, if the “0” results equaled res, a good linear correlation would exist, pretty much use-less. Yet, here comes my doubt; if the linear correlation was bad could I soundly argue that “for the existing results, linear correlation can be considered AT LEAST as bad as the one obtained“. And can I use this sort of approach in any way to perform an ANOVA?