[R] "Raw" histogram plots

From: Antony Unwin <unwin_at_math.uni-augsburg.de>
Date: Sat, 01 Mar 2008 10:11:50 +0100


Why not use the interactive histogram in iplots? ihist(x) Then you can vary the binwidth interactively and get a very quick idea of the structure of your data by looking at a range of plots with different binwidths. Relying on a single plot to reveal everything about a variable's distribution is not a good idea.

A couple of people suggested estimating the density. That may miss roundings, discretisation or other odd structures. We should never underestimate what Peter Huber called "the rawness of raw data".

Antony Unwin
Professor of Computer-Oriented Statistics and Data Analysis, Mathematics Institute,
University of Augsburg,
Germany

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 01 Mar 2008 - 09:16:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 01 Mar 2008 - 10:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive