Hi, Am Mittwoch, 6. Januar 2010 19:51:02 schrieb Ben Pfaff: > Karl Sinn <[email protected]> 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?
0.6.2 on opensuse 11.2. I took the rpm from the webpage > > > 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. > I tried with "RECODE verh (1,2 = 1) (3 thru 5 = 0) (else = SYSMIS)." I didn't get any error message, but the variable was not changed. Do I have a problem with a broken version? Thanks Karl -- Powered by openSUSE 11.2 (i586) Kernel: 2.6.31.8-0.1-desktop KDE: 4.3.4 (KDE 4.3.4) "release 2" 21:50 2 Tage 1:07 an, 4 Benutzer, Durchschnittslast: 1,27, 0,89, 0,97 _______________________________________________ Pspp-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-users
