sum

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

sum

Rajeshms

Hi all,

whats the difference between sum(x,y) and x+y.

I tried to do but ,using x+y I am not getting values for missing data( in any one variable) but using the sum(x,y) , I am getting the values for missing data also.

thank you.
--
Rajesh M S



Reply | Threaded
Open this post in threaded view
|

Re: sum

Jerabek Jindrich
Yes, that is the difference between sum and plus.

sum (1,2) = 1+2 = 3.
1 + missing = missing.
sum(1,missing) = 1.

J.

> ------------ Původní zpráva ------------
> Od: Rajeshms <[hidden email]>
> Předmět: sum
> Datum: 21.6.2012 06:53:23
> ----------------------------------------
> Hi all,
>
> whats the difference between sum(x,y) and x+y.
>
> I tried to do but ,using x+y I am not getting values for missing data( in
> any one variable) but using the sum(x,y) , I am getting the values for
> missing data also.
>
> thank you.
> --
> Rajesh M S
>
>
>

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD