I'm doing some exploratory data analysis on some data and I get these histograms:

enter image description here

That looks like a candidate for a log transformation on the data, so I run the following Python code to transform the data:


And I get this new plot of the transformed histograms:

enter image description here

Am I correct that a log transform was ok to do in this case, and if so, what's the best way to interpret the results?

  • 6
    $\begingroup$ Try calling hist(logx=True) instead. $\endgroup$
    – Emre
    Sep 11 '17 at 18:11

Yes, log transform seems a good solution for better interpretation. Overlap between these two datasets is really small, so, only by looking at the plot, you can say with high certainty, that they are significantly different from each-other.

  • 1
    $\begingroup$ Between this and what @Emre mentioned, it got me on the right track! $\endgroup$
    – Jon
    Sep 18 '17 at 23:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.