pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Import data from other file formats and Histogram question


From: Ben Pfaff
Subject: Re: Import data from other file formats and Histogram question
Date: Tue, 09 Mar 2010 20:53:34 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

[cleaning out my old email]

Erik Frebold <address@hidden> writes:

> 2. Re: Histogram-- I was puzzled as to why this function would
> assign only six bins to an n=1000 dataset. Upon investigation,
> looks like the number of bins is assigned by gsl, right? (which
> I assume would use something suitable like Sturges' formula,
> though I wasn't able to find the actual stretch of code) So is
> it likely just that the pspp part of the process might not be
> quite ready for primetime yet? No problem if this is the case--
> I can use matplotlib or similar for now.

I took a look at this.  PSPP always uses exactly 11 bins for
every histogram!  This seems less than optimal.

I pushed out a commit that uses Sturges' formula, with a minimum
of 5 buckets.
-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]