@Abhau wrote: thank you . but in proc means it doesn't take an alphabetical variable . the name of variable (Gender) in gender all the observations are male female but it is written like( M F) it is not showing result
Show the code and any messages from the log. Copy from the log and paste into a code box opened using the forum's {I} icon.
The CLASS statement in Proc Means will take "alphabetical" variables. The BY statement will take "alphabetical" variables. The VAR, FREQ and WEIGHT statements will not take "alphabetical" variables.
... View more