Functions and CALL Routines |
Category: | Combinatorial |
Syntax | |
Arguments | |
Comparisons | |
Examples | |
See Also |
Syntax |
LCOMB(n,r) |
is a non-negative integer that represents the total number of elements from which the sample is chosen.
is a non-negative integer that represents the number of chosen elements.
Restriction: | r n |
Comparisons |
The LCOMB function computes the logarithm of the COMB function.
Examples |
The following statements produce these results:
SAS Statements | Results |
---|---|
x=lcomb(5000,500);
put x; |
1621.4411361 |
y=lcomb(100,10);
put y; |
30.482323362 |
See Also |
Functions: |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.