+ Reply to Thread
Results 1 to 3 of 3

Thread: Dealing with Log(0)

  1. #1
    Points: 41, Level: 1
    Level completed: 82%, Points required for next Level: 9

    Thanked 0 Times in 0 Posts

    Dealing with Log(0)

    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?

    Thank you in advance for any advice.

  2. #2
    TS Contributor
    Points: 22,893, Level: 93
    Level completed: 55%, Points required for next Level: 457
    spunky's Avatar
    vancouver, canada
    Thanked 540 Times in 433 Posts

    Re: Dealing with Log(0)

    Got stuck in the moderation queue!
    for all your psychometric needs! https://psychometroscar.wordpress.com/about/

  3. #3
    Fortran must die
    Points: 62,031, Level: 100
    Level completed: 0%, Points required for next Level: 0
    noetsi's Avatar
    Thanked 916 Times in 875 Posts

    Re: Dealing with Log(0)

    One way suggested to deal with this is to add one to all your data points
    "Very few theories have been abandoned because they were found to be invalid on the basis of empirical evidence...." Spanos, 1995

+ Reply to Thread


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Advertise on Talk Stats