04-27-2012 12:56 AM
i have a one dataset with two variables cost,vat as follows
input cost vat;
Now i want to add these two variables and addition of these two variables in new variable ADDITION and i dont want missing values in these variable.
04-27-2012 12:37 PM
If all arguments to SUM function are missing it will still return missing.
The only option as I can see it, depending on why the missing are objectionable in the data, are to remove the record from the output or assign a specific value such as 0 if both variables are missing.