Learn R Programming

mev (version 1.11)

confint.fr: Confidence intervals for profile likelihood derived from TEM

Description

This function uses spline interpolation to derive level confidence intervals using the output of either gev.tem or gpd.tem.

Usage

# S3 method for fr
confint(object, parm, level = 0.95, ...)

Arguments

object

an object of class fr, normally the output of gpd.tem or gev.tem.

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

confidence level, with default 0.95

...

additional arguments passed to functions. Providing a logical warn = FALSE turns off warning messages when the lower or upper confidence interval for psi are extrapolated beyond the provided calculations.

Value

a 2 by 3 matrix containing point estimates, lower and upper confidence intervals based on r and rstar