标题: 初学者求助 [打印本页] 作者: shiyiming 时间: 2009-5-11 14:52 标题: 初学者求助 if age eq . then age=19
这里的 "."如何理解作者: shiyiming 时间: 2009-5-11 20:59 标题: Re: 初学者求助 that question is easy. i can do it!!!
[color=#FF0040:35d700cx]if age eq . then age=19[/color:35d700cx]
same to say:
if age (numeric variable) is missing, then age equals to 19;
the same way include:
if age = . then age =19
or
if missing(age) then age=19;
or
age = ifn(^missing(age), age, 19);