Test for conditional independence in the multivariate normal distribution.
1  ciTest_mvn(x, set = NULL, statistic = "DEV", ...)

x 
A list with elements 
set 

statistic 

... 
set
can be 1) a vector or 2) a righthand sided formula in
which variables are separated by '+'. In either case, it is tested if
the first two variables in the set
are conditionally
independent given the remaining variables in set
.
(Notice an abuse of the '+' operator in the righthand sided formula:
The order of the variables does matter.)
If set
is NULL
then it is tested whether the first two
variables are conditionally independent given the remaining variables.
x
must be a list with components cov
and n.obs
such as returned by calling cov.wt( , method='ML')
on a dataframe.
An object of class 'citest' (which is a list).
S<f8>ren H<f8>jsgaard, sorenh@math.aau.dk
ciTest
ciTest.table
ciTest_table
ciTest.data.frame
ciTest_df
chisq.test
1 2 3  data(carcass)
ciTest(cov.wt(carcass, method='ML'), set=~Fat11+Meat11+Fat12)
ciTest_mvn(cov.wt(carcass, method='ML'), set=~Fat11+Meat11+Fat12)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.