Problem with having missing and 0 value in charts

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with having missing and 0 value in charts

behnaz shirazi-2
Hello everyone:

I found a problem with variables which have missing or 0 values.When I want
to have them in chart I don't get any output.Maybe with this exapmle I can
explain better:

When I run this commnad everything is fine and I get 2 bar "RgMtrlT1" and
"RNCMrlT1" for each distinct:(everything is fine)

GRAPH /bar=mean (RgMtrlT1) mean(RNCMrlT1)   by distinct.

But when I run :
GRAPH /bar=mean (RgMtrlT1) mean(RNCMrlT1) mean( RSMtrlT1)  by distinct.

I don't get any bar becuase "RSMtrlT1" has all missing or 0 values.I
expected to get bar with 0 value but I don't get any chart at all and I
don't know how to fix it?

Do you have any suggestions?


Thank you
Behnaz

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Reply | Threaded
Open this post in threaded view
|

Re: Problem with having missing and 0 value in charts

ViAnn Beadle
By default, the GRAPH deletes cases with missing values listwise--thus no
output. To create an empty placeholder for the all-missing variable, use
Chart Builder in SPSS 15 but be sure to specify pairwise deletion there
using the Options sub-dialog. To create one bar for each variable, drag all
the variables to the Y-axis together or add them one by one by dropping them
on the top of the Y-axis area over the red + sign which appears in that
region.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
behnaz shirazi
Sent: Thursday, June 07, 2007 2:30 PM
To: [hidden email]
Subject: Problem with having missing and 0 value in charts

Hello everyone:

I found a problem with variables which have missing or 0 values.When I want
to have them in chart I don't get any output.Maybe with this exapmle I can
explain better:

When I run this commnad everything is fine and I get 2 bar "RgMtrlT1" and
"RNCMrlT1" for each distinct:(everything is fine)

GRAPH /bar=mean (RgMtrlT1) mean(RNCMrlT1)   by distinct.

But when I run :
GRAPH /bar=mean (RgMtrlT1) mean(RNCMrlT1) mean( RSMtrlT1)  by distinct.

I don't get any bar becuase "RSMtrlT1" has all missing or 0 values.I
expected to get bar with 0 value but I don't get any chart at all and I
don't know how to fix it?

Do you have any suggestions?


Thank you
Behnaz

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/