Question 64 The following program is submitted:

 data test;    average=mean(6,4,.,2);run;

 What is the value of average?

  1. 0
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Ans :3

 Exp :The MEAN function adds all of the non-missing values and divides by the number of non-missing values. In this case, 6 + 4 + 2 divided by 3 is 4.

 You can learn about the MEAN function in Transforming Data with SAS Functions.

 All non-missing divided by the sum of the number of non-missing (equivalent to completely ignore missing)

You can access to full explanation to question and answer from this page.