bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] bug in gsl_ran_multinomial_lnpdf function


From: mingxi
Subject: [Bug-gsl] bug in gsl_ran_multinomial_lnpdf function
Date: Tue, 18 Sep 2007 16:48:54 -0400
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)

To whom it may concern,

I encountered a bug in gsl_ran_multinomial_lnpdf function.

The case this function does not consider is the degenerated cases.

Suppose I have input size_t K=3, p[]={0.5,0.5,0}; n[]={2,3,0}. This function will not return correct results.

In this case, we can just ignore the last class probability, which is p[]={0.5,0.5}, n[]={2,3}.

BTW: I use this library for 2 years. It is good software!

Sincerely,

-Mingxi Wu
University of Florida




reply via email to

[Prev in Thread] Current Thread [Next in Thread]