ndvuong | R Documentation |
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
)
x |
a first fitted model |
y |
a second fitted model |
size |
the size of the test |
pval |
should the p-value be computed ? |
nested |
a boolean, |
vartest |
a boolean, if |
ndraws |
the number of draws for the simulations |
diffnorm |
a creuser |
seed |
the seed |
numbers |
a user provided matrix of random numbers |
nd |
a boolean, if |
print.level |
the level of details to be printed |
an object of class "htest"
.
VUON:89micsr
\insertRefSHI:15micsr
the classical Vuong test is implemented in pscl::vuong
and nonnest2::vuongtest
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.