x: Value of the conditioning variable X to estimate the EVI at.
Xtilde: Vector of length n containing the censored sample of the conditioning variable X.
Ytilde: Vector of length n containing the censored sample of the variable Y.
censored: A logical vector of length n indicating if an observation is censored.
h: Bandwidth of the non-parametric estimator.
kernel: Kernel of the non-parametric estimator. One of "biweight" (default), "normal", "uniform", "triangular" and "epanechnikov".
logk: Logical indicating if the Hill-type estimates are plotted as a function of log(k) (logk=TRUE) or as a function of k. Default is FALSE.
plot: Logical indicating if the estimates should be plotted as a function of k, default is FALSE.
add: Logical indicating if the estimates should be added to an existing plot, default is FALSE.
main: Title for the plot, default is "" (no title).
...: Additional arguments for the plot function, see plot for more details.
Details
This is a Hill-type estimator of the EVI of Y given X=x. The estimator uses the censored sample (X~i,Y~i), for i=1,…,n, where X and Y are censored at the same time. We assume that Y and the censoring variable are conditionally independent given X.
See Section 4.4.3 in Albrecher et al. (2017) for more details.
Returns
A list with following components: - k: Vector of the values of the tail parameter k.
gamma: Vector of the corresponding Hill-type estimates.
References
Albrecher, H., Beirlant, J. and Teugels, J. (2017). Reinsurance: Actuarial and Statistical Aspects, Wiley, Chichester.