cnEntropy {sdnet} | R Documentation |
Calculates the matrix of conditional entropy for each pair of nodes.
cnEntropy(data, pert=NULL) cnEdgeDistanceKL(data, pert) cnEdgeDistancePearson(data, pert) cnEntropyOrder(data, pert=NULL)
data |
a |
pert |
a binary |
The conditional entropy of node X with respect to Y is defined as -P(X|Y)logP(X|Y), where P(X|Y) is the sample conditional probability, and this is the value at the (X,Y)'th position in the resulting matrix.
A matrix
N. Balov