powered by
Parametric bootstrap score test procedure to assess goodness-of-fit to the Generalized Pareto distribution.
gpdPbScore( data, bootnum, information = c("expected", "observed"), allowParallel = FALSE, numCores = 1 )
Data should be in vector form.
Number of bootstrap replicates.
To use expected (default) or observed information in the test.
Should the bootstrap procedure be run in parallel or not. Defaults to false.
If allowParallel is true, specify the number of cores to use.
Test statistic.
P-value for the test.
Estimated value of theta for the initial data.
Effective number of bootstrap replicates (only those that converged are used).
# NOT RUN { # Generate some data from GPD x <- rgpd(200, loc = 0, scale = 1, shape = 0.2) gpdPbScore(x, bootnum = 100) # }
Run the code above in your browser using DataLab