gev_fit

gev_fit(x, method='mle')

Fit a GEV distribution to sample x.

Parameters

Name Type Description Default
x array_like Sample observations. required
method ('mle', 'lmom', 'mom') Estimation method: maximum likelihood, L-moments, or method of moments. "mle"

Returns

Name Type Description
dict Keys location, scale, shape.