plot.lp.evmOpt | R Documentation |
Predict return levels from extreme value models, or obtain the linear predictors.
## S3 method for class 'lp.evmOpt'
plot(
x,
main = NULL,
pch = 1,
ptcol = 2,
cex = 0.75,
linecol = 4,
cicol = 1,
polycol = 15,
plot. = TRUE,
...
)
## S3 method for class 'evmOpt'
predict(
object,
M = 1000,
newdata = NULL,
type = "return level",
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
...
)
## S3 method for class 'evmOpt'
linearPredictors(
object,
newdata = NULL,
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
full.cov = FALSE,
...
)
linearPredictors(
object,
newdata = NULL,
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
...
)
## S3 method for class 'evmSim'
predict(
object,
M = 1000,
newdata = NULL,
type = "return level",
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
all = FALSE,
sumfun = NULL,
...
)
## S3 method for class 'evmSim'
linearPredictors(
object,
newdata = NULL,
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
all = FALSE,
sumfun = NULL,
...
)
## S3 method for class 'evmBoot'
predict(
object,
M = 1000,
newdata = NULL,
type = "return level",
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
all = FALSE,
sumfun = NULL,
...
)
## S3 method for class 'evmBoot'
linearPredictors(
object,
newdata = NULL,
se.fit = FALSE,
ci.fit = FALSE,
alpha = 0.05,
unique. = TRUE,
all = FALSE,
sumfun = NULL,
...
)
## S3 method for class 'lp.evmOpt'
print(x, digits = 3, ...)
x |
An object of class |
main , pch , ptcol , cex , linecol , cicol , polycol , plot , plot. |
Further arguments to plot methods. |
... |
Further arguments to methods. |
object |
An object of class |
M |
The return period: units are number of observations. Defaults to
|
newdata |
The new data that you want to make the prediction for.
Defaults in |
type |
For the predict methods, the type of prediction, either "return
level" (or "rl") or "link" (or "lp"). Defaults to For the plot methods for simulation based estimation of underlying
distributions i.e. objects derived from "evmSim" and "evmBoot" classes,
whether to use the sample median |
se.fit |
Whether or not to return the standard error of the predicted
value. Defaults to |
ci.fit |
Whether or not to return a confidence interval for the
predicted value. Defaults to |
alpha |
If |
unique. |
If |
full.cov |
Should the full covariance matrix be returned as part of a
|
all |
For the |
sumfun |
For the |
digits |
Number of digits to show when printing objects. |
By default, return levels predicted from the unique values of the linear
predictors are returned. For the evmBoot
method, estimates of
confidence intervals are simply quantiles of the bootstrap sample. The
evmBoot
method is just a wrapper for the evmSim
method.
A list with two entries: the first being the call and the
second being a further list with one entry for each value of
M
.
At present, the confidence intervals returned for an object of class
evmOpt
are simple confidence intervals based on assumptions of
normality that are likely to be far from the truth in many cases. A better
approach would be to use profile likelihood, and we intend to implement this
method at a future date. Alternatively, the credible intervals returned by
using Bayesian estimation and the predict method for class "evmSim" will
tend to give a better representation of the asymmetry of the estimated
intervals around the parameter point estimates.
Harry Southworth and Janet E. Heffernan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.