September 2019
Beginner to intermediate
346 pages
7h 35m
English
The simplest form of Proc Means is as follows:
Proc Means Data = Transactions;Run;
This will give us the following output:

We can also add a Class variable to the analysis:
Proc Means Data = SportsInjury;Class Warmup Injury;Var Count;Run;
This will result in the following output:

The addition of a BY statement is possible. However, the data needs to be sorted according to the BY variables:
Proc Sort Data = Customer_X;By Class;Run;Proc Means Data = Customer_X;By Class;Class Height;Var Basketball;Run;
You may notice similarities between ...
Read now
Unlock full access