LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 17 Sep 2010 04:55:56 -0700
Reply-To:     Bruce Weaver <bruce.weaver@hotmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Bruce Weaver <bruce.weaver@hotmail.com>
Subject:      Re: combining two datasets
In-Reply-To:  <76CAF5F339274741A2FB1A3BA78BA6B3@yourg2asvv4l2m>
Content-Type: text/plain; charset=us-ascii

John F Hall wrote: > > Click > > Help > Command syntax reference: > > Check out MATCH FILES in the manual. > > Open one file to display the data editor (this will be the open file * in > the syntax below). If you have a recent release of SPSS, open the second > file as well. > > Click File > New > syntax to open a new syntax editor and write something > like > > match files file = * / file = <file2.sav> /by <household> . > > You need to specify the full pathway for file2 if you can't have more than > one file open. This syntax will pick up variables from the first file > named, plus any different ones from the second file. The default is all > variables. If you only want certain ones you need to use the sub-command > /KEEP <your varlist>. > > John Hall > johnfhall@orange.fr > http://surveyresearch.weebly.com >

For some examples of what John describes here, see the "Merging (MATCH merging) SPSS data files" tutorial found on this page:

http://www.ats.ucla.edu/stat/spss/topics/data_management.htm

----- -- Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.

-- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/combining-two-datasets-tp2843384p2843587.html Sent from the SPSSX Discussion mailing list archive at Nabble.com.

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page