pspp-users
[Top][All Lists]
Advanced

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

Re: Pspp-users Digest, Vol 128, Issue 3


From: Dr. Oliver Walter
Subject: Re: Pspp-users Digest, Vol 128, Issue 3
Date: Fri, 20 Jan 2017 00:29:28 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Ok, thank you for the syntax and its explanation. But please don't mind that for me - just a simple click, paste and modify guy - this syntax is not easy to have in mind if I would like to match files in a hurry. Then I will use R Commander instead. There I have only to click and it works. :-)

Oliver Walter



Am 20.01.2017 um 00:20 schrieb Alan Mead:
get file = 'c:\whatever\file1.sav'.
execute.
sort cases by MyKeyVariable.
compute dum1=1.
execute.
save /outfile = 'c:\whatever\file1.sav'.

get file = 'c:\whatever\file.sav'.
sort cases by MyKeyVariable.
compute dum2=1.
execute.
save /outfile = 'c:\whatever\file2.sav'.

match files file = 'c:\whatever\file1.sav'
  /file = 'c:\whatever\file2.sav'
  /by MyKeyVariable
  /map .

recode dum1 dum2 (SYSMIS=0).
execute.
compute dum=dum1+dum2.
freq / dum1 dum2 dum.
temporary.
select if( dum < 2).
print / dum dum1 dum2 MyKeyVariable lname fname .
execute.




reply via email to

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