还是给你回答了吧
parmhat = gpfit(X) 产生pareto随机数
参数估计,
[parmhat,parmci] = gpfit(X)
参数估计,有alpha
[parmhat,parmci] = gpfit(X,alpha)
GPFIT Parameter estimates and confidence intervals for generalized Pareto data.
PARMHAT = GPFIT(X) returns maximum likelihood estimates of the parameters
of the two-parameter generalized Pareto (GP) distribution given the data
in X. PARMHAT(1) is the tail index (shape) parameter, K and PARMHAT(2) is
the scale parameter, SIGMA. GPFIT does not fit a threshold (location)
parameter.
[PARMHAT,PARMCI] = GPFIT(X) returns 95% confidence intervals for the
parameter estimates.
[PARMHAT,PARMCI] = GPFIT(X,ALPHA) returns 100(1-ALPHA) percent confidence
intervals for the parameter estimates.
[...] = GPFIT(X,ALPHA,OPTIONS) specifies control parameters for the