Page 1 of 1

Can DEFAULT MISSINGS specify multiple missing values?

Posted: Thu Mar 10, 2022 1:16 pm
by reason180
In DEFAULT MISSINGS, is it possible to specify that the data file may contain multiple missing-values specifications (for example, NA and NaN)? Or is the user restricted to selecting just one (for example NA or NAN)?

Re: Can DEFAULT MISSINGS specify multiple missing values?

Posted: Fri Mar 11, 2022 2:42 pm
by scro1641
Yes, you can easily add more than one missing value. When you add missing values just select the plus to add additional missing values
Adding Multiple values
Adding Multiple values
Screenshot 2022-03-11 at 14.41.00.png (52.04 KiB) Viewed 4297 times

Re: Can DEFAULT MISSINGS specify multiple missing values?

Posted: Fri Mar 11, 2022 2:59 pm
by reason180
Thanks. That's helpful. But what I'm specifically inquiring about is the "'Default' missing," field, show in the screenshot below.
143345Untitled.png
143345Untitled.png (22.73 KiB) Viewed 4297 times

Re: Can DEFAULT MISSINGS specify multiple missing values?

Posted: Fri Mar 11, 2022 3:10 pm
by scro1641
Ah, It appears not. Have tried with command semi-colon. Maybe something for the developers to add.

Re: Can DEFAULT MISSINGS specify multiple missing values?

Posted: Tue Mar 15, 2022 12:01 am
by jonathon
'default missings' is something of a relic of history ... the more modern 'user missings' system is probably what you want. although i can see 'default missings' being handy to exclude 'NA'.

cheers