广义极值连续随机变量。
作为一个实例rv_continuous类,genextreme对象从中继承了通用方法的集合(完整列表请参见下文),并使用特定于此特定发行版的详细信息来完善它们。
注意:
请注意,一些来源和软件包对shape参数的符号使用相反的约定。
genextreme需要c作为形状参数。
上面的概率密度以“standardized”形式定义。要移动和/或缩放分布,请使用loc和scale参数。特别,genextreme.pdf(x, c, loc, scale)等同于genextreme.pdf(y, c) / scale与y = (x - loc) / scale。
例子:
>>> from scipy.stats import genextreme
>>> import matplotlib.pyplot as plt