TailAnova {flood} | R Documentation |
Heavy-tail ANOVA
Description
A test of heavy-tail homogeneity, that is, equality of the positive extreme value index for all d columns of x
.
Usage
TailAnova(x, k, k.qu = 20, type = "evopt", cf = TRUE)
Arguments
x |
Matrix of observations |
k |
Number of relative excesses involved in the estimation of the extreme value
index gamma. If |
k.qu |
Tuning parameter for estimation of empirical variance; only needed if |
type |
Choose either |
cf |
If |
Value
Test statistic and p-value.
Examples
library("evd")
set.seed(6754)
x1 <- rgev(150, loc = 2, scale = 1, shape=0.4)
x2 <- rgev(150, loc = 2.5, scale = 1, shape=0.1) # H_0 violated because of different shapes
x <- cbind(x1, x2)
TailAnova(x)
x1 <- rgev(150, loc = 2, scale = 1, shape=0.3)
x2 <- rgev(150, loc = 2.5, scale = 1, shape=0.3) # H_0 not violated because of same shapes
x <- cbind(x1, x2)
TailAnova(x)
[Package flood version 0.1.1 Index]