options missing=" "
加了这个option后,数值型缺失显示为空;数值型的缺失转字符,也会变成空,而不是一个点。
不加option的程序及结果:


加了option的程序及结果:


但实际missing的值还是.,只是显示为空。
判断这个param的结果都是未查
if not (first.paramn=1 and last.paramn=1) and lbclsign=1;
批量将数值型缺失或字符型缺失转化
转化数值型缺失:
array num _numeric_;
do over num;
if num=. then num=0;
end;
字符型把_numeric_换成_character_