| rvs(df, loc=0, scale=1, size=1, random_state=None) |
Random variates. |
| !!! pdf(x, df, loc=0, scale=1) |
Probability density function. 概率分布函数 |
| logpdf(x, df, loc=0, scale=1) |
Log of the probability density function. |
| !!! cdf(x, df, loc=0, scale=1) |
Cumulative distribution function. 累计分布函数 |
| logcdf(x, df, loc=0, scale=1) |
Log of the cumulative distribution function. |
| sf(x, df, loc=0, scale=1) |
Survival function (also defined as 1 - cdf, but sf is sometimes more accurate). |
| logsf(x, df, loc=0, scale=1) |
Log of the survival function. |
| !!!ppf(q, df, loc=0, scale=1) |
Percent point function (inverse of cdf — percentiles). cdf的逆函数 |
| isf(q, df, loc=0, scale=1) |
Inverse survival function (inverse of sf). |
| moment(n, df, loc=0, scale=1) |
Non-central moment of order n |
| stats(df, loc=0, scale=1, moments=’mv’) |
Mean(‘m’), variance(‘v’), skew(‘s’), and/or kurtosis(‘k’). |
| entropy(df, loc=0, scale=1) |
(Differential) entropy of the RV. |
| fit(data) |
Parameter estimates for generic data. See scipy.stats.rv_continuous.fit for detailed documentation of the keyword arguments. |
| *expect(func, args=(df,), loc=0, scale=1, lb=None, ub=None, conditional=False, *kwds) |
Expected value of a function (of one argument) with respect to the distribution. |
| median(df, loc=0, scale=1) |
Median of the distribution. |
| mean(df, loc=0, scale=1) |
Mean of the distribution. |
| var(df, loc=0, scale=1) |
Variance of the distribution. |
| std(df, loc=0, scale=1) |
Standard deviation of the distribution. |
| interval(alpha, df, loc=0, scale=1) |
Endpoints of the range that contains fraction alpha [0, 1] of the distribution |