Pregunta de entrevista de Target

How do you add 2 missing values so that the result is zero?

Respuestas de entrevistas

Anónimo

22 sep 2011

*to add 2 missing values so that the result is zero can be achieved by using sum function with zero as extra argument. eg: data x; a = .; b = .; c = a + b + 0; /* even if you add zero, result is missing*/ d = sum(a,b,0); run;

Anónimo

8 mar 2010

-2+2