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: Sun, 13 Aug 2006 18:33:23 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17424>

                 Summary: FREQUENCIES doesn't properly parse percentiles,
ntiles
                 Project: PSPP
            Submitted by: blp
            Submitted on: Sunday 08/13/06 at 18:33
                Category: Syntax Parser
                Severity: 3 - Ordinary
                  Status: None
             Assigned to: blp
             Open/Closed: Open
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

According to the reporter:

In the FREQUENCIES command  : centiles above 50 are calculated ONLY
if NTILES subcommand is written before PERCENTILES subcommand:


Command file #1 :

******************************************************************


DATA LIST NOTABLE FILE=exemple44 /X1 8 X2 10-11.
VARIABLE LABELS X1 "Sexe" X2 "Age".
VALUE LABELS X1 1 "Homme" 2 "Femme".
FREQUENCIES X2 /FORMAT=NOTABLE /STAT=MODE /PERCENTILES=10,90.

******************************************************************


Result #1 :


******************************************************************

1.1 FREQUENCIES.  X2: Age
+-------------------+------+
|N           Valid  |    10|
|            Missing|     0|
|Mean               |32.900|
|Mode               |35.000|
|Percentiles 10     |21.000|
|            50     |35.000|
+-------------------+------+

******************************************************************

Command file #2 :

******************************************************************

DATA LIST NOTABLE FILE=exemple44 /X1 8 X2 10-11.
VARIABLE LABELS X1 "Sexe" X2 "Age".
VALUE LABELS X1 1 "Homme" 2 "Femme".
FREQUENCIES X2 /FORMAT=NOTABLE /STAT=MODE /NTILES=4 /PERCENTILES=10,90.
******************************************************************

Result #2 :


******************************************************************

+-------------------+------+
|N           Valid  |    10|
|            Missing|     0|
|Mean               |32.900|
|Mode               |35.000|
|Percentiles 0      |21.000|
|            10     |21.000|
|            25     |23.000|
|            50     |35.000|
|            75     |38.750|
|            90     |43.800|
|            100    |51.000|
+-------------------+------+




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
josephsaintpierre<address@hidden> | original reporter




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17424>

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





reply via email to

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