An unhanced version of the Vuong test with a small-sample bias correction
ndvuong(
x,
y,
size = 0.05,
pval = TRUE,
nested = FALSE,
vartest = FALSE,
ndraws = 10000,
diffnorm = 0.1,
seed = 1,
numbers = NULL,
nd = TRUE,
print.level = 0
)
an object of class "htest"
.
a first fitted model
a second fitted model
the size of the test
should the p-value be computed ?
a boolean, TRUE
for nested models
a boolean, if TRUE
, the variance test is computed
the number of draws for the simulations
a creuser
the seed
a user provided matrix of random numbers
a boolean, if TRUE
(the default) the non-degenarate Vuong test is computed
the level of details to be printed
VUON:89micsr
SHI:15micsr
the classical Vuong test is implemented in pscl::vuong
and nonnest2::vuongtest
.