multivar_joint_shannon_entropy function

Estimation of joint Shannon entropy for a set of categorical variables.

Estimation of joint Shannon entropy for a set of categorical variables.

The multivariate joint Shannon entropy provides an estimation of the measure of the uncertainty associated with a set of variables (see https://en.wikipedia.org/wiki/Joint_entropy).

multivar_joint_shannon_entropy(table_variables, table_class) multivar_joint_H(table_variables, table_class)

Arguments

  • table_variables: A list of factors as categorical variables.
  • table_class: A factor representing the class of the case.

Returns

Joint Shannon entropy estimation for the variable set table.variables, table.class.

Examples

multivar_joint_shannon_entropy(list(factor(c(0,1)), factor(c(1,0))), factor(c(1,1)))

See Also

shannon_entropy for the entropy for a single variable and joint_shannon_entropy for the entropy associated with two random variables.

  • Maintainer: Elias Maciel
  • License: GPL-3 | file LICENSE
  • Last published: 2017-09-30

Useful links