cnEntropy {catnet}R Documentation

Pairwise Node Entropy

Description

Calculates the matrix of conditional entropy for each pair of nodes.

Usage

cnEntropy(data, perturbations=NULL)
cnEdgeDistanceKL(data, perturbations)
cnEdgeDistancePearson(data, perturbations)
cnEntropyOrder(data, perturbations=NULL)

Arguments

data

a matrix in row-nodes format or a data.frame in column-nodes format

perturbations

a binary matrix with the dimensions of data. A value 1 designates the corresponding node in the sample as perturbed.

Details

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.

Value

A matrix

Author(s)

N. Balov

See Also

cnParHist


[Package catnet version 1.15.7 Index]