Functions and CALL Routines |
Category: | Combinatorial |
Syntax | |
Arguments | |
Comparisons | |
Examples | |
See Also |
Syntax |
LPERM(n<,r>) |
is an integer that represents the total number of elements from which the sample is chosen.
is an optional integer value that represents the number of chosen elements. If r is omitted, the function returns the factorial of n.
Restriction: | r n |
Comparisons |
The LPERM function computes the logarithm of the PERM function.
Examples |
The following statements produce these results:
SAS Statements | Results |
---|---|
x=lperm(5000,500);
put x; |
4232.7715946 |
y=lperm(100,10);
put y; |
45.586735935 |
See Also |
Functions: |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.