SAS_Institute
A00-270 · Question #9
Which one of the following is true of the SUM statement in a SAS DATA step program?
The correct answer is C. It adds the value of an expression to an accumulator variable and ignores missing values. See the full explanation below for the reasoning.
Question
Which one of the following is true of the SUM statement in a SAS DATA step program?
Options
- AIt is only valid in conjunction with a SUM function.
- BIt is not valid with the SET, MERGE and UPDATE statements.
- CIt adds the value of an expression to an accumulator variable and ignores missing values.
- DIt does not retain the accumulator variable value from one iteration of the SAS DATA step to the next.
How the community answered
(24 responses)- A4% (1)
- B8% (2)
- C83% (20)
- D4% (1)
Community Discussion
No community discussion yet for this question.