bootmex(x, which, R = 100, dth, dqu, nPass=3, trace=10)
## S3 method for class 'bootmex':
plot(x, plots = "gpd", main = "", ...)
## S3 method for class 'bootmex':
print(x, ...)
## S3 method for class 'bootmex':
show(x, ...)
migpd
.migpd
.R
=100.dth
or dqu
should be provided. If x
has
class mex
, the value is read from the object and need not dth
or dqu
should be provided. If x
has
class mex
, the value is read from the object and need not be
prtrace=10
.bootmex
does whatever was done in the call to migpd
.
Also note that sometimes (again, usually with small data sets) all of the simulated Gumbel
random numbers will be beneath the threshold for the conditioning variable. Such samples are
abandoned by bootmex
and a new sample is generated. This probably introduces some
bias into the resulting bootstrap distributions.
The plot
method produces histograms of bootstrap gpd parameters (the default)
or scatterplots of dependence parameters with the point estimates for the
original data shown.
By design, there is no coef
method. The bootstrapping is done to account
for uncertainty. It is not obvious that adjusting the parameters for the
mean bias is the correct thing to do.migpd
, link{mexDependence}
,
bootmex
, predict.mex
.# Uncomment the following lines to run example - commented out to keep CRAN robots happy
#mygpd <- migpd(winter , mqu = .7)
#myboot <- bootmex(mygpd, which = "NO", dqu=.7)
#myboot
#plot(myboot,plots="gpd")
#plot(myboot,plots="dependence")
Run the code above in your browser using DataLab