gpd.prof | R Documentation |
Calculates profile likelilhood based confidence intervals for a given fitted GPD model – this is only implemented for two parameter GPD with no covariates in the model.
gpd.prof(
z,
m,
xmax,
xlow,
conf = 0.95,
nint = 50,
PlotIt = FALSE,
mult = 2,
priorParameters = NULL
)
z |
a fitted |
m |
return period : units are number of observations |
xmax |
point estimate of the return level, this is used to bracket the roots of the equation used to calculate the ends of the profile likelihood based confidence interval. The value need not be exact. |
xlow |
value lower than the lower end of the confidence interval, for bracketing in root finding |
conf |
confidence level, defaults to 0.95 |
nint |
used for plotting if required, number of points at which to calculate the profile likelihood for plotting, defaults to 50 |
PlotIt |
logical, whether or not to plot the profile likelihood, defaults to |
mult |
used to calculate the starting point for the root finding for solving to find the upper end of the confidence interval. The starting point is |
priorParameters |
optional, value of prior/penalty parameters used for penalised likelihood estimation, default to NULL |
Numeric vector of length two, with lower and upper ends of the estiamted confidence intervals respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.