Hill: Hill estimator of the tail index, with weights

Description Usage Arguments Value Examples

View source: R/hello.R View source: R/code_package_v4_juin_2019.R View source: R/code_package_v3_juin_2019.R View source: R/code_package.r View source: R/code_package.R

Description

Hill estimator of the tail index, with weights

Usage

1

Arguments

data

the vector of observations

weights

the vector of weights (default is uniform weights)

Value

Hill estimator of xi (the tail index) and alpha, as well as k the number of observations

Note that weights do not need to sum up to 1 (function will convert them via weights/sum(weights))

Examples

1
2
3
4
set.seed(123)
x <- rpareto1(100, 1, 1.5)
w <- rgamma(100,10,10)
Hill(x,w)

freakonometrics/TopIncome documentation built on Oct. 16, 2021, 5:58 p.m.