1.

Do You Need To Know If There Are Any Missing Values?

Answer»

Just USE: missing_values=MISSING(field1,field2,field3);
This function SIMPLY returns 0 if there aren't any or 1 if there are missing values.If you need to know how many missing values you have then use num_missing=NMISS(field1,field2,field3);
You can also FIND the NUMBER of non-missing values with non_missing=N (field1,field2,field3);

Just use: missing_values=MISSING(field1,field2,field3);
This function simply returns 0 if there aren't any or 1 if there are missing values.If you need to know how many missing values you have then use num_missing=NMISS(field1,field2,field3);
You can also find the number of non-missing values with non_missing=N (field1,field2,field3);



Discussion

No Comment Found