[SciPy-user] Possible bug in scipy.stats.rv_discrete

Stefan van der Walt stefan@sun.ac...
Sat Aug 18 06:21:54 CDT 2007

Hi Michael

Thanks for the report.  This should be fixed in SVN revision 3246.


On Tue, Aug 14, 2007 at 01:08:45PM +0100, Michael Nandris wrote:
> Hi,
> I think there may be an issue with the way rv_discrete orders its output when
> it encounters zeros in the input, causing non-zero probabilities to creep up
> towards the end of the output. If you are attempting to track the accumulation
> of states in an n-state Markov chain, this is a problem!
> I have had a look at the API but can't figure it. Any help at fixing this would
> be much appreciated.
> regards
> M.Nandris

More information about the SciPy-user mailing list