HillPlotResult

vecxt_re.HillEstimator.HillPlotResult
case class HillPlotResult(kValues: Array[Int], estimates: Array[Double], thresholds: Array[Double] = ..., nObs: Int = ..., convention: HillConvention = ...)

Result of a Hill plot computation containing k values and corresponding tail index estimates.

Value parameters

convention

Which estimator the estimates are, see HillConvention

estimates

Corresponding tail index estimates α̂(k)

kValues

Array of k values used

nObs

The number of observations n, so that k / n is the empirical exceedance probability of each threshold. 0 if not supplied.

thresholds

The threshold behind each estimate: the (k+1)-th largest observation, or the k-th for HillConvention.Embrechts. Empty if not supplied.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def findStableRegion(windowSize: Int = ..., threshold: Double = ...): Option[(bestStart: Int, bestEnd: Int, meanEstimate: Double)]

Find a stable region in the Hill plot by looking for low variance segments.

Find a stable region in the Hill plot by looking for low variance segments.

Value parameters

threshold

Maximum coefficient of variation to consider "stable"

windowSize

Size of the sliding window for variance calculation

Attributes

Returns

Optional tuple of (start k, end k, mean estimate) for the most stable region

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product