lambdadep {mev} | R Documentation |
Estimation of the bivariate angular dependence function of Wadsworth and Tawn (2013)
Description
Estimation of the bivariate angular dependence function of Wadsworth and Tawn (2013)
Usage
lambdadep(dat, qu = 0.95, method = c("hill", "mle", "bayes"), plot = TRUE)
Arguments
dat |
an |
qu |
quantile level on uniform scale at which to threshold data. Default to 0.95 |
method |
string indicating the estimation method |
plot |
logical indicating whether to return the graph of The confidence intervals are based on normal quantiles. The standard errors for the |
Value
a plot of the lambda function if plot=TRUE
, plus an invisible list with components
-
w
the sequence of angles in (0,1) at which thelambda
values are evaluated -
lambda
point estimates of lambda -
lower.confint
95 -
upper.confint
95
Examples
set.seed(12)
dat <- mev::rmev(n = 1000, d = 2, model = "log", param = 0.1)
lambdadep(dat, method = 'hill')
## Not run:
lambdadep(dat, method = 'bayes')
lambdadep(dat, method = 'mle')
# With independent observations
dat <- matrix(runif(n = 2000), ncol = 2)
lambdadep(dat, method = 'hill')
## End(Not run)