pspp-users
[Top][All Lists]
Advanced

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

Re: question to "compute"


From: Ben Pfaff
Subject: Re: question to "compute"
Date: Wed, 06 Jan 2010 10:51:02 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Karl Sinn <address@hidden> writes:

> 1) I've tried to add to a data sheet a new variable with the value 1 in all 
> the existing records with "compute new = 1.". I run it, and a new variable is 
> created, but the value ".00" is assigned to all records.

This should work.  What version of PSPP are you using?

> 2) In my books (for spss) this line is proposed:
> RECODE verh (1,2 = 1), (3 thru 5 = 0) (else = MISSING).
>
> but MISSING seems to be a problem for pspp. How do I have to put this?

The SPSS 16 Command Syntax Reference manual doesn't say anything
about a MISSING keyword for output, but it does document a SYSMIS
output keyword.  So try using SYSMIS instead of MISSING.
-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

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