pairwise.vuong.test {unitquantreg} | R Documentation |
Pairwise vuong test
Description
Calculate pairwise comparisons between fitted models performing
vuong test for objects of class unitquantreg
.
Usage
pairwise.vuong.test(
...,
lt,
p.adjust.method = p.adjust.methods,
alternative = c("two.sided", "less", "greater")
)
Arguments
... |
|
lt |
a list with one or more |
p.adjust.method |
a character string specifying the method for multiple
testing adjustment; almost always one of
|
alternative |
indicates the alternative hypothesis and must be one
of |
Value
Object of class "pairwise.htest"
See Also
Examples
data(sim_bounded, package = "unitquantreg")
sim_bounded_curr <- sim_bounded[sim_bounded$family == "uweibull", ]
models <- c("uweibull", "kum", "ulogistic")
lt_fits <- lapply(models, function(fam) {
unitquantreg(formula = y1 ~ x, tau = 0.5, data = sim_bounded_curr,
family = fam)
})
ans <- pairwise.vuong.test(lt = lt_fits)
ans
[Package unitquantreg version 0.0.6 Index]