In reply to Tom Timtimalo.

If I understand your question, the link I provided contains SAS code that answers it. If you disagree or have other related questions, please post a detailed question to the SAS Statistical Procedures Community.