|Date: ||Tue, 29 Apr 2008 17:19:29 -0400|
|Reply-To: ||Gene Maguin <firstname.lastname@example.org>|
|Sender: ||"SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>|
|From: ||Gene Maguin <email@example.com>|
|Subject: ||Re: random sample of one level of nested mlm data|
|Content-Type: ||text/plain; charset="us-ascii"|
Although I'm sure you can work the problem with the data in a 'long' format,
I'd convert it to 'wide' via a Casestovars command (I'll assume you are
familiar with this command from the syntax reference.) Then,
Do a count of sysmis/missing values for the six husband/wife T1-T3
Get rid of cases with a count of 1 or greater.
Run a frequencies to get the number of valid cases. Let this number be M.
Do a sample command of this form (refer to syntax reference for
Sample 200 from M.
Finish up with a Varstocases command to restore your data to the prior long
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
For a list of commands to manage subscriptions, send the command