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

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

Re: PSPP-BUG: var_get_case_index: Assertion `var_has_vardict (v)' failed


From: Zoltán Fábián
Subject: Re: PSPP-BUG: var_get_case_index: Assertion `var_has_vardict (v)' failed
Date: Sun, 30 Dec 2012 09:09:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Hi Ben,
Please , consider the following example:

DATA LIST TABLE /x 1 gender 3 (A).
BEGIN DATA.
1 f
2 m
3 f
4 m
5 f
6 m
7 f
8 m
9 f
end data.
FREQUENCIES x gender.
RANK x.
DISPLAY DICTIONARY.
TEMPORARY.
SELECT IF (gender="f").
RANK x /ntiles (2) into y1.
FREQUENCIES y1.

TEMPORARY.
SELECT IF (gender="m").
RANK x /ntiles (2) into y2.
FREQUENCIES y2.

It runs in SPSS and produced the attached output.

Cheers,

Zoltan

On 30/12/12 04:09, Ben Pfaff wrote:
data list list /x.
>     begin data.
>     1
>     2
>     3
>     end data.
>     TEMPORARY.
>     RANK x.

Attachment: spss_output.txt
Description: Text document


reply via email to

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