bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: [bug #17424] FREQUENCIES doesn't properly parse percentiles, n


From: Ben Pfaff
Subject: PSPP-BUG: [bug #17424] FREQUENCIES doesn't properly parse percentiles, ntiles
Date: Mon, 30 Jul 2007 22:40:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

Update of bug #17424 (project pspp):

                  Status:             In Progress => Ready for Test/Review  

    _______________________________________________________

Follow-up Comment #2:

The attached patch fixes this bug.  Turned out that calc_stats was always
adding a 50th percentile to the list of percentiles (whether we asked for the
median or not) if it wasn't already present.  In turn, dump_statistics was
dropping the last percentile (not the 50th percentile) from display if
calc_stats had added a 50th percentile.

I decided that we should just treat the median as the 50th percentile, and
then display it in the output table as "50 (Median)".  I think that this is
reasonable behavior.  It gets rid of a special case while fixing the bug.

Comments?

(file #13530)
    _______________________________________________________

Additional Item Attachment:

File name: frequencies-fix-percentiles.patch Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17424>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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