scipy.stats.gamma — SciPy v1.6.3 Reference Guide | python gamma
rvs(a,loc=0,scale=1,size=1,random_state=None)Randomvariates.pdf(x,a,loc=0,scale=1)Probabilitydensityfunction.logpdf(x,a,loc=0,scale=1)Logoftheprobabilitydensityfunction.cdf(x,a,loc=0,scale=1)Cumulativedistributionfunction.logcdf(x,a,loc=0,scale=1)Logofthecumulativedistributionfunction.sf(x,a,loc=0,scale=1)Survivalfunction(alsodefinedas1-cdf,butsfissometimesmoreaccurate).logsf(x,a,loc=0,scale=1)Logofthesurvivalfunction.ppf(q,a,loc=0,scale=1)Percentpointfunction(inverseofcdf—percentiles).isf(q...
rvs(a, loc=0, scale=1, size=1, random_state=None)
Random variates.
pdf(x, a, loc=0, scale=1)
Probability density function.
logpdf(x, a, loc=0, scale=1)
Log of the probability density function.
cdf(x, a, loc=0, scale=1)
Cumulative distribution function.
logcdf(x, a, loc=0, scale=1)
Log of the cumulative distribution function.
sf(x, a, loc=0, scale=1)
Survival function (also defined as 1 - cdf, but sf is sometimes more accurate).
logsf(x, a, loc=0, scale=1)
Log of the survival function.
ppf(q, a, loc=0, scale=1)
Percent point function (inverse of cdf — percentiles).
isf(q, a, loc=0, scale=1)
Inverse survival function (inverse of sf).
moment(order, a, loc=0, scale=1)
Non-central moment of the specified order.
stats(a, loc=0, scale=1, moments=’mv’)
Mean(‘m’), variance(‘v’), skew(‘s’), and/or kurtosis(‘k’).
entropy(a, loc=0, scale=1)