mexDependence(x, which, dth, dqu)
## S3 method for class 'mexDependence':
print(x, ...)
## S3 method for class 'mexDependence':
show(x, ...)
## S3 method for class 'mexDependence':
plot(x, quantiles=seq(0.1, by=0.2, len=5), col="grey", ...)
migpd
.migpd
which
variable being over this value. Only onwhich
variable being over this quantile. Only mexDependence
. There are print
and plot
functions available.plot
method produces diagnostic plots for the fitted dependence model described by Heffernan and Tawn, 2004.
Scatterplots of the residuals Z from the fitted model of Heffernan and Tawn (2004) are
plotted against the quantile of the conditioning variable, with a lowess curve showing the local
mean of these points. Any trend in the location of these variables with the conditioning variable
indicates a violation of the model assumption that the residuals Z are indpenendent of the conditioning
variable.
The absolute value of Z-mean(Z) is also plotted, again with the lowess curve showing
the local mean of these points. These plots are intended to highlight any trend between the
variability of the residuals Z and the conditioning variable.
The final plots show the fitted quantiles (specified by quantiles
) of the conditional distribution
of each variable given the conditioning variable. A model that fits well will have good agreement between the
distribution of the raw data (shown by the scatter plot) and the fitted quantiles.migpd
, bootmex
, predict.mex
data(winter)
mygpd <- migpd(winter , mqu=.7, penalty="none")
mexDependence(mygpd , which = "NO", dqu=.7)
Run the code above in your browser using DataLab