We have qgamma
in R and gamm.inv
in excel, and I am not able to get the same results using invgamma
function in python. For example in excel
GAMMA.INV(0.99,35,0.08)=4.01
, I can get the same value from R using qgamma
with probability=0.99, alpha(scale)=35.0, shape=0.08
.
But when I am using invgamma.pdf(0.99,35,0.8)
it returns 1.61787636512e-15
.
What is the right way of doing it? I have tried both gamma
and invgamma
with pdf
, ppf
, cdf
but nothing is matching with the value I am getting from qgamma
in R or GAMMA.INV
in excel