|
On Fri, 27 Jun 1997 12:35:57 -0400, "Peter R. Berti"
<berti@agradm.lan.mcgill.ca> wrote:
>I was unable to find a SAS function for calculating Permutations or
>Combinations. In fact I couldn't even find one for Factorials. I had
>thought that these would be SAS functions? Am I just missing them?
>
>Peter
Base SAS does include a GAMMA function, which gives you the
factorials. You can find permutations and combinations by doing
suitable arithmetic on the GAMMA results. (or on LGAMMA for
large arguments.) See the documentation for details.
HTH.
Barney Krebs
|