Fit the bivariate POT model to data.
fbvpot(x, threshold, dep.model = "logistic", na.action = na.fail,
init = 0.5, lower = 0, upper = 1, cutoff, parnames,
tform = "tformRankFrechet", ...)
A list object of class “fbvpot” with components:
original matrix of the data from the x argument.
Same as values passed in through the input arguments.
matrix with the Frechet-transformed data.
vectors giving the radial and angular components, respectively.
function giving the dependence model used and its companion likelihood function, respectively.
character naming the dependence model used.
the result of nlminb giving the optimized parameter value(s).
original call to this function.
character string giving the name of the data used in the x argument.
n
by 2 matrix giving each component of the bivariate vectors to which the bivariate peaks-over-threshold (POT) model is to be fit.
A single number, n
by 2 matrix, or length 2 vector. If a single number, this value will be used as the threshold over which the marginal POT models will be fit to each component variable. If an n
by 2 matrix, then each column will be a vector of thresholds for each component variable, respectively. If a length 2 vector, then the first element is used for the threshold in fitting the POT model to the first component, and the second to the second.
character string giving the name of a bivariate dependence model function. The user may make their own function; such functions must take arguments w
, p
and ...
and should return a a vector of the likelihood values. A second function with the same name, but ending in “LH” that takes the same input arguments, calls the other function, and returns the single numeric value giving the likelihood. Options included with this package include: logistic
and mixbeta
.
function determining how missing values should be handled. Default is to error out.
vector giving an initial guess for each parameter in the dependence model defined by dep.model
.
Arguments to the nlminb
function, which is used to optimize the likelihood numerically.
optional character vector giving the names of the parameters of the dependence model.
character string giving the name of the function to be used to transform the component variables to the same scale. Default transforms to the Frechet scale using the rank transformation.
optional arguments to the tform
function.
Dan Cooley and Eric Gilleland
See Beirlant et al. (2004) for more about bivariate threshold exceedance modeling, as well as Coles and Tawn (1994).
Beirlant, J., Y. Goegebeur, J. Segers, and J. Teugels (2004) Statistics of Extremes: Theory and Applications. Wiley, West Sussex, England, United Kingdom, 514 pp.
Coles, S. G. and J. A. Tawn (1994) Statistical methods for multivariate extremes: an application to structural design (with Discussion). Appl. Statist., 43, 1--48, doi: 10.2307/2986112.
logistic
, mixbeta
, bvpotbooter
data( "SantaAna" )
Z <- SantaAna[,3:4]
mfit1 <- fevd( x = temp, data = Z, threshold = 36.75, type = "GP" )
mfit2 <- fevd( x = windspeeds, data = Z, threshold = 7.09875, type = "GP" )
fit2 <- fbvpot( x = Z, threshold = apply( Z, 2, quantile, probs = 0.95 ),
tform = "tf", fit = list( mfit1, mfit2 ) )
fit2
plot( fit2 )
hist( fit2 )
Run the code above in your browser using DataLab