HillEstimatorExtensions

vecxt_re.HillEstimatorExtensions

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension (vec: Array[Double])
inline def hillEstimator(k: Int, convention: HillConvention = ...): Double

Computes the Hill estimator for the Pareto tail index.

Computes the Hill estimator for the Pareto tail index.

Value parameters

convention

Which estimator to compute, see HillConvention

k

The number of upper order statistics to use

Attributes

Returns

The estimated tail index α

inline def hillPlot(kMin: Int = ..., kMax: Int = ..., step: Int = ..., convention: HillConvention = ...): HillPlotResult

Computes a Hill plot for this data.

Computes a Hill plot for this data.

Value parameters

convention

Which estimator to compute, see HillConvention

kMax

Maximum k value (default: every loss, convention.maxK(n))

kMin

Minimum k value (default: 2, or 3 for HillConvention.Embrechts)

step

Step size for k values (default: 1)

Attributes

Returns

HillPlotResult with k values and estimates