Description Usage Arguments Details Value Author(s) References Examples
Test of conditional independence.
1 |
x |
one of the variables. |
y |
the other variable. |
S |
separator (possibly |
dataset |
matrix or data frame ( |
homog |
|
Performs a test of conditional independence of x and y given a set of variables S. The variables are specified as
column numbers of the dataset. Under the alternative the variables are assumed to follow an unrestricted
(mixed) graphical model. If x and y are discrete, S must also be discrete.
Note that the model dimension returned by the fit
function assumes that all parameters are estimable, which may not be the case for
high-dimensional sparse data. However, here and in the search functions we use
the adjusted degrees of freedom, which need no such assumptions and are believed to be correct.
A list with the deviance (deviance
) and the adjusted degrees of freedom
(numP
).
Gabriel Coelho Goncalves de Abreu (abreu_ga@yahoo.com.br)
Rodrigo Labouriau (Rodrigo.Labouriau@agrsci.dk)
David Edwards (David.Edwards@agrsci.dk)
Lauritzen, S.L. (1996) Graphical Models, Oxford University Press.
Edwards, D. (2000) Introduction to Graphical Modelling, Springer-Verlag
New York Inc.
1 2 3 4 5 6 7 8 |
Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colMeans, colSums, colnames, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
setdiff, sort, table, tapply, union, unique, unsplit, which,
which.max, which.min
Attaching package: 'gRapHD'
The following object is masked from 'package:graph':
DFS
$deviance
[1] 0.7617515
$numP
[1] 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.