@cvnvmdg wrote:
Thanks for your reply.
I use example on the book with data and code. And I use the code on SAS ODA but I can't get the result ranking as shown in.
Can you have show raking treament A, AB on SAS ODA
Not without the rules for assigning A, AB, B or C. The assignment of those letters obviously involves something you have not share, such as rules.
With out data or the actual code you ran we have no idea why you can't get the "ranking" shown. The best can do is repeat that the numeric rank seems to be related to the descending value of the result from LSMEANS output. As in, create an output data set and then rank that data, such as using Proc Rank. But letters you mention involve something else that you have not provided.