Date: Thu, 6 Jun 2002 13:12:01 -0300
Reply-To: Marcos Sanches <marcos_sanches@gallup.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Marcos Sanches <marcos_sanches@gallup.com>
Subject: Re: Multiple Crosstabs
In-Reply-To: <4.2.0.58.20020606155452.00a4b478@mail.noos.fr>
Content-Type: text/plain; charset="iso-8859-1"
Hi Janet!
If I understood your problem, this syntax should solve it. If you do not
have all 'n' variables in a sequence in your data set, you should replace
'var_1 to var_n ' by the list of all variables names. 'demgroup' is supposed
to be the categorical variables that has the seven demographic
characteristics.
CROSSTABS
/TABLES= var_1 to var_n BY demgroup
/FORMAT= AVALUE TABLES
/CELLS= COUNT ROW COLUMN .
Hope it helps,
Marcos
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
Janet Pershing
Sent: Thursday, June 06, 2002 11:07 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Multiple Crosstabs
Ok. There's got to be a simple solution, but I can't find it. I want to
generate crosstabs to look at a series of variables according to 7
demographic characteristics. I want the output ordered by variable; that is
to say, variable 1 by all 7 demographic groups, followed variable 2 by all
7 demographic groups, and so on.
I've found loop and repeat commands that sound like the right general sorts
of things, but they don't seem to do what I'm after. Can anyone put me on
the right path, or provide syntax for this? (I'm using version 11.0.3 in
windows)
Many thanks.
|