Date: Sun, 11 Sep 2005 22:24:11 -0300
Reply-To: Hector Maletta <email@example.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Hector Maletta <firstname.lastname@example.org>
Subject: Re: Bar chart categories
Content-Type: text/plain; charset="us-ascii"
One of the ways is, rather surprisingly, through weighting, and is useful
also to make rows or columns visible in tables when no case falls into them.
The idea is as follows: when no case exists for a certain value, create a
fake "case" and give it that value. Then create a weighting variable, say X,
with the following values: a very small value (something like 0.000001) for
the fake case or cases, and 1 for the rest of cases (i.e. for real cases).
If you were using weighting already, the weighting variable will have a very
low value for the fake cases, and the original weights for the rest. Then
WEIGHT BY X. SPSS will round the low weight to zero, but the category will
appear in charts or tables.
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]
> On Behalf Of Aric Zion
> Sent: Sunday, September 11, 2005 10:13 PM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: Bar chart categories
> Greetings list,
> Does anyone know of a way to display all categories in a bar
> chart, even if the frequency of some of the categories is zero?
> For example, let's say I have a scale 1 to 5, and 9 people
> answered with a 1, and 8 people answered with a 3. By
> default, the bar chart that SPSS 13 displays only shows 1 and
> 3 on the x-axis. I would like it to display 1, 2, 3, 4, and 5.
> Many thanks,
> __________ Informacin de NOD32 1.1213 (20050909) __________
> Este mensaje ha sido analizado con NOD32 Antivirus System