returnTest {CoCoRaw} | R Documentation |
Return for discrete data the Pearson $chi^2$, the power divergence, and the deviance, and for tests of two ordinal variable conditional independent given discrete also the Goodman and Kruskal's Gamma coefficient, and for mixed data the deviance and the F-test. For discrete data also exact p-values can be returned.
returnTest(model.1 = "current", model.2 = "base", push.pop = FALSE, data = NULL, object = .object.of.models(model.1, model.2, data = data, ...), ...)
model.1 |
See isSubmodel .
|
model.2 |
See isSubmodel . |
push.pop |
Logical, if push.pop is TRUE, both model arguments
are numeric and the object argument is a CoCoCg object
then model pointers are restored by less calls of CoCoCg.
See also returnModelNumber
and makeCurrent . |
data |
See exportCoCo . |
object |
See exportCoCo . |
... |
Additional arguments to generate the CoCo object
from the data argument. See propertyModel . |
A labeled vector of reals, or NULL if the an error occur, e.g. the models are not available or not nested.
Jens Henrik Badsberg
Badsberg, J.H.: A guide to CoCo, JSS, 2001 ( http://www.jstatsoft.org/v06/i04/ ) and Badsberg, J.H.: Xlisp+CoCo, Aalborg University, 1996.
enterModel
, makeModel
,
showModel
, makeCurrent
,
returnModel
, returnModelNumber
,
partialAssociations
, optionsCoCo
,
showTest
, showDeviance
,
returnDeviance
,
backward
and forward
.