| Date: | Fri, 7 Jun 2002 10:44:05 +1200 |
| Reply-To: | Steve Salzano <SteveS@Aimproximity.co.nz> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | Steve Salzano <SteveS@Aimproximity.co.nz> |
| Subject: | Re: Multiple Crosstabs |
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
Hi
another variation on this is if you want multi-dimensional crosstabs ie
demographic by variable 1 by variable 2 ........ to variable n then run the
OLAP cubes procedure.
Regards
Steve
-----Original Message-----
From: Marcos Sanches [mailto:marcos_sanches@gallup.com]
Sent: Friday, 7 June 2002 04:12
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Re: Multiple Crosstabs
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.
|