| Date: | Thu, 31 Jul 2003 07:17:25 -0500 |
| Reply-To: | "Peck, Jon" <peck@spss.com> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | "Peck, Jon" <peck@spss.com> |
| Subject: | Re: easy way to identify missing data |
| Content-Type: | text/plain; charset="US-ASCII" |
Here is a tip that makes the use of such constructs as described below easier.
You can use TO in function arguments that take a variable list. For example, you could write
compute fred = nmiss(var1 TO varn).
Note that the TO construct refers to file order, not alphabetical order, of the variables.
Regards,
Jon Peck
-----Original Message-----
From: Martins.Liberts@csb.gov.lv [mailto:Martins.Liberts@csb.gov.lv]
Sent: Thursday, July 31, 2003 1:03 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Re: [SPSSX-L] easy way to identify missing data
Hi
"NMISS(variable[,...]) Numeric. Returns a count of the arguments that have
missing values. This function requires one or more arguments, which should
be variable names in the working data file."
It is a copy from SPSS Help file.
--
Martins Liberts
Central Statistical Bureau of Latvia
address: Lacplesa iela 1, Riga, LV-1301, Latvia
phone: 371-7366877
email: martins.liberts@csb.gov.lv
|