Re: A real world example of the need for labled missing values.

Posted by Art Kendall on
URL: http://spssx-discussion.165.s1.nabble.com/A-real-world-example-of-the-need-for-labled-missing-values-tp5740855p5740856.html

How to have labeled missing values on date variables.
New file.
data list list /MyDate (adate10).
Begin data.
12/25/2021
7/4/2021
5/5/2000
12/25/2021
7/4/2021
5/5/2000
12/25/2021
7/4/2021
5/5/2000
10/15/1582
10/16/1582
12/25/2021
7/4/2021
5/5/2000
10/15/1582
10/16/1582
10/17/1582
12/25/2021
7/4/2021
5/5/2000
10/15/1582
10/16/1582
10/10/1800
end data.
display dictionary.
missing values MyDate ('10/15/1582' THRU '10/20/1582', '10/10/1800').
Value labels MyDate
'10/15/1582' 'unknown'
'10/16/1582' 'refused to answer'
'10/10/1800' 'forgot to ask'.
display dictionary.
frequencies MyDate.
Art Kendall
Social Research Consultants