DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Declaration: LnBinomCoeff (n,k: integer): double;

The function LnBinomCoeff returns the logarithm of the binomial coefficient, which may advantageously be used for large expected binomial coefficients. The parameters n, and k have to be positive, with n >= k. If this condition is not fulfilled, the function returns a value of -1.