Article 6Y6P1 Log-ish

Log-ish

by
John
from John D. Cook on (#6Y6P1)

I saw a post online this morning that recomended the transformation

logish.svg

I could see how this could be very handy. Often you want something like a logarithmic scale, not for the exact properties of the logarithm but because it brings big numbers closer in. And for big values ofx there's little difference between log(x) and log(1 +x).

The function above is linear near the origin, literally linear for negative values and approximately linear for small positive values.

I've occasionally needed something like a log scale, but one that would handle values that dip below zero. This transformation would be good for that. If data were equally far above and below zero, I'd use something like arctangent instead.

logish.png

The post Log-ish first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments