Description Usage Arguments Value Examples
Parametric bootstrap score test procedure to assess goodness-of-fit to the Generalized Pareto distribution.
1 2 3 4 5 6 7 | gpdPbScore(
data,
bootnum,
information = c("expected", "observed"),
allowParallel = FALSE,
numCores = 1
)
|
data |
Data should be in vector form. |
bootnum |
Number of bootstrap replicates. |
information |
To use expected (default) or observed information in the test. |
allowParallel |
Should the bootstrap procedure be run in parallel or not. Defaults to false. |
numCores |
If allowParallel is true, specify the number of cores to use. |
statistic |
Test statistic. |
p.value |
P-value for the test. |
theta |
Estimated value of theta for the initial data. |
effective_bootnum |
Effective number of bootstrap replicates (only those that converged are used). |
1 2 3 | # Generate some data from GPD
x <- rgpd(200, loc = 0, scale = 1, shape = 0.2)
gpdPbScore(x, bootnum = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.