does the gocum package have a poisson ppf function implemented?

33 views
Skip to first unread message

Nikodem Bienia

unread,
Jul 4, 2022, 4:14:24 AM7/4/22
to gonum-dev
Hi all, 

I am currently rewriting a project I wrote in python to go (that's my way of learning go :-) )

In the python project I am making use of the scipy.stats package from which I am using the poisson package and make a call the poisson.ppf method to generate me some integers. 

I saw that gonum has poisson implemented, but no ppf. Now, my knowledge on probability functions is just surface level, so I might have missed a trick to get to where I want to go. I saw that there is something called Quantile which helps me to get the inverse of a CDF, but I found no way to use it with poisson's CDF method. 

Is there the possibility to get a poisson ppf with the gonum package? 

Thanks in advance,
Niko

Sebastien Binet

unread,
Jul 21, 2022, 3:34:29 AM7/21/22
to Nikodem Bienia, gonum-dev
Niko,
did you get an answer for your question?

could you show us what you did (in Go) and how you would do it in
python?

cheers,
-s
Reply all
Reply to author
Forward
0 new messages