4

I would like to plot two time-series on a same graph. One series takes much larger values than the other, so I thought a semilog scale might be appropriate (i.e. linear X (dates) and log Y). However, both series take on negative and positive values. Does it still make sense to use a log scale? If so, should I transform both series as follows?

    if observation > 0
        log_observation = log(observation)
    elseif observation < 0
        log_observation = -log(-observation)
    else
        log_observation = 0
lodhb
  • 463

1 Answers1

2

you might want to use a different transformation. The inverse hyerperbolic sine transform would seem to be a good first choice here.

user603
  • 22,585
  • 3
  • 83
  • 149