Thanks for the name-cheque, Chris.

In my fall paper on this topic for the regionals I show code to create a variable using nlevels and cardinality ratio to identify the 3 major categories of variables: unique, discrete, and continuous.
Check this page which will soon have a calculation of the mean of CR,
which can be used for later list processing.

http://www.sascommunity.org/wiki/Cardinality_Ratio

Ron Fehd macro maven