Example : MEAN function and PROC MEANS
The MEAN function is an average of the value of several variables in one observation. The average that is calculated using PROC MEANS is the sum of all of the values of a variable divided by the number of observations in the variable. In other words, the MEAN function will sum across the row and a procedure will SUM down a column.
MEAN Function
AVG=MEAN (of Q1 - Q3);
See the output below :
MEAN Function Output
MEAN Function Output
PROC MEANS
PROC MEANS DATA=READIN MEAN;
RUN;
The output is shown below :
PROC MEANS Output
PROC MEANS Output