fbvpot(x, threshold, model = "log", likelihood = "censored", start,
..., sym = FALSE, cshape = cscale, cscale = FALSE, std.err =
TRUE, dsm = TRUE, corr = FALSE, method = "BFGS", warn.inf = TRUE)"log" (the default), "alog", "hr",
"neglog", "aneglog", "bilog",
"negbilog" or "ct"start is omitted the routine
attempts to find good starting values using marginal maximum
likelihood estimators.optim. If
parameters of the model are included they will be held fixed at
the values given (see Examples).TRUE, the dependence structure
of the models "alog", "aneglog" or "ct" are
constrained to be symmetric (see Details). For all other
models, the argument is ignored (and a wTRUE, a common shape parameter is
fitted to each margin.TRUE, a common scale parameter is
fitted to each margin, and the default value of cshape
is then TRUE, so that under this default common marginal
parameters are fitted.TRUE (the default), the standard
errors are returned.TRUE (the default), summaries of the
dependence structure are returned.TRUE, the correlation matrix is
returned.optim for
details).TRUE (the default), a warning is
given if the negative log-likelihood is infinite when evaluated at
the starting values.c("bvpot","evd"). The generic accessor functions fitted (or
fitted.values), std.errors,
deviance, logLik and
AIC extract various features of the
returned object.
The functions profile and profile2d can be
used to obtain deviance profiles.
The function anova compares nested models, and the
function AIC compares non-nested models.
There is currently no plot method available.
An object of class c("bvpot","evd") is a list containing
the following components
optim.x.threshold.x.sym.c(cscale, cshape).model.dep,
asy1, asy2, alpha and beta, depending on
the model selected (see rbvevd).
The marginal parameter names are scale1 and shape1
for the first margin, and scale2 and shape2 for the
second margin. If cshape is true, the models are constrained so that
shape2 = shape1. The parameter shape2 is then
taken to be specified, so that e.g. the common shape
parameter can only be fixed at zero using shape1 = 0,
since using shape2 = 0 gives an error. Similar
comments apply for cscale.
If sym is TRUE, the asymmetric logistic and
asymmetric negative logistic models are constrained so that
asy2 = asy1, and the Coles-Tawn model is constrained
so that beta = alpha. The parameter asy2 or
beta is then taken to be specified, so that e.g.
the parameters asy1 and asy2 can only
be fixed at 0.8 using asy1 = 0.8, since
using asy2 = 0.8 gives an error.
Bilogistic and negative bilogistic models constrained to
symmetry are logistic and negative logistic models
respectively. The mixed model (e.g. Tawn, 1998)
is obtained by the asymmetric negative logistic model upon
setting the dependence parameter to be one, and constraining
the asymmetry parameters to be equal to each other. It can
therefore be fitted using model = "anegl" with
dep = 1 and sym = TRUE.
If dsm is TRUE, three values are returned which
summarize the dependence structure, based on the fitted
dependence function $A$ (see fbvevd for
details).
For numerical reasons the parameters of each model are subject the artificial constraints given in Table 1 of the User's Guide.
Smith, R. L. (1985) Maximum likelihood estimation in a class of non-regular cases. Biometrika, 72, 67--90.
abvpar, anova.evd,
fbvevd, optim, rbvevdbvdata <- rbvevd(1000, dep = 0.5, model = "log")
u <- apply(bvdata, 2, quantile, probs = 0.9)
M1 <- fbvpot(bvdata, u, model = "log")
M2 <- fbvpot(bvdata, u, "log", dep = 0.5)
anova(M1, M2)Run the code above in your browser using DataLab