| bliteMethods | R Documentation |
"blite"Methods for objects of class "blite" returned from
blite. confint.blite is a misnomer: it returns
(equi-tailed) Bayesian credible intervals.
## S3 method for class 'blite'
plot(x, which = c("all", "pu", "gp", "xi", "theta"), ...)
## S3 method for class 'blite'
coef(object, fun, ...)
## S3 method for class 'blite'
vcov(object, ...)
## S3 method for class 'blite'
nobs(object, ...)
## S3 method for class 'blite'
summary(
object,
short = TRUE,
mean = TRUE,
digits = max(3, getOption("digits") - 3L),
...
)
## S3 method for class 'summary.blite'
print(x, ...)
## S3 method for class 'blite'
confint(object, parm = "all", level = 0.95, ...)
x |
An object inheriting from class |
which |
A character scalar indicating which plot(s) to produce.
If |
... |
For For For Otherwise |
object |
An object of class |
fun |
A summary function to be applied to each column of the simulated
values in |
short |
A logical scalar that determines the form of the output. See Details. |
mean |
A logical scalar. Determines the form of the output if
|
digits |
An integer. Passed to |
parm |
A character vector specifying the parameters for which
confidence intervals are required. The default, |
level |
The credible level required. A numeric scalar in (0, 1). |
For plot.blite, if which = "all" then 4 plots are produced.
Top left: histogram of the posterior sample for the threshold
exceedance probability
pu.
Top right: scatter plot of posterior sample for the GP
parameters
(\sigmau,
\xi).
The linear constraint
\xi > -\sigmau / x
(n)
is drawn on the plot.
Bottom left: histogram of the posterior sample for the GP shape
parameter \xi.
Bottom right: histogram of the posterior sample for the extremal
index \theta.
plot.blite: No return value, only the plot is produced.
coef.blite: a numeric vector of length 4 with names
c("p[u]", "sigma[u]", "xi", "theta"). The values of summary
statistics calculated using the function fun.
vcov.blite: a 4 \times 4 matrix with row and
column names c("p[u]", "sigma[u]", "xi", "theta"). An estimate
of the posterior covariance matrix, calculated using
cov.
nobs.blite: a numeric vector of length 3 with names
c("p[u]", "gp", "theta"). The respective number of observations
used to infer pu,
(\sigmau,
\xi) and \theta.
summary.blite: an object containing the original function call and
a matrix of summaries of the posterior samples for each of the
parameters. If short = TRUE then there are 2 columns, containing
either the sample posterior means and standard deviations
(mean = TRUE) or the sample posterior medians and inter-quartile
ranges (mean = FALSE). If short = FALSE then there are 4
columns, with each column containing the usual 6-number summary produced
by summary. The object is printed by
print.summary.blite.
print.summary.blite: the argument x is returned, invisibly.
confint.blite: a numeric matrix with 2 columns giving the lower and
upper credible limits for each parameter. These columns are labelled
as (1-level)/2 and 1-(1-level)/2, expressed as a
percentage, by default 2.5% and 97.5%. The row names
are the names of the parameters supplied in parm.
blite to perform frequentist threshold-based
inference for time series extremes.
predict.blite: for predictive inference for the
largest value observed in N years.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.