mi: Mutual Information

Description Usage Arguments Examples

View source: R/mi.R

Description

Estimates Kullback-Leibler divergence of joint distribution and the product of two respective marginal distributions. Roughly speaking, the amount of information one variable provides about another.

Usage

1
mi(x, y)

Arguments

x, y

numeric or discrete data vectors

Examples

1
2
3
4
5
# Sample data
a <- rnorm(25, 80, 35)
b <- rnorm(25, 100, 50)

mlf::mi(a, b)

mlf documentation built on May 1, 2019, 10:34 p.m.

Related to mi in mlf...