estimators.gpdmle¶
- class evt.estimators.gpdmle.GPDMLE(peaks_over_threshold: evt.methods.peaks_over_threshold.PeaksOverThreshold)¶
Bases:
evt.estimators.estimator_abc.Estimator
Maximum likelihood estimator for the generalized Pareto distribution in the peaks over threshold approach with distribution
where
self.tail_index
corresponds to the tail index ,self.loc
corresponds to the location parameter ,self.scale
corresponds to the scale parameter .
The tail index and scale parameter can be estimated. The location parameter is taken from the peaks over threshold method
peaks_over_threshold
.- estimate() → List[evt.estimators.estimator_abc.Estimate]¶
Returns maximum likelihood estimates including confidence intervals for the tail index and scale of the generalized Pareto distribution.
The estimator behaves irregularly for . [1] Confidence intervals are based on the asymptotic behaviour of the variance of the estimate. [1] Bias is not taken into account. The returned estimate might be only locally optimal or fail altogether.
- Returns
maximum likelihood
Estimate
including confidence intervals for the tail index and scale of the generalized extreme value distribution.
De Haan, Laurens, and Ana Ferreira. Extreme value theory: an introduction. Springer Science & Business Media, 2007.
- plot_qq_gpd(ax: matplotlib.axes._axes.Axes)¶
Quantile-quantile plot of the empirical survival function of the peaks against the fitted generalized Pareto distribution. The
.estimate
method must be called before this function.