In reply to Cara Johnson.

@Cara and other with general "how do I" questions:
SAS has many discussion forums where you can ask questions about how to compute various quantities in SAS. You can link to this post for background information, and then post your question.
Three of my favorites are:
1) The SAS/IML forum, for questions about how to compute quantities in the SAS/IML language
2) The SAS/STAT forum, for questions about how to compute statistical quantities in SAS
3) The SAS Macro and DATA step forum, which is great for DATA step and macro questions