Khaleel Hussaini wrote
Hello Listers,
I want to count the number of children across columns. this is data i
have...
famid child1age child2age child3age Count
1 0.11 . 11 2
2 2.5 4 15 3
3 3.8 11.2 . 2
4 6.8 . . 1
any help would be appreciated.
Use the NVALID function.
compute child_count = NVALID(child1age to child3age).
exe.
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/"When all else fails, RTFM."
PLEASE NOTE THE FOLLOWING:
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (
https://listserv.uga.edu/).