aprx_mi: Approximation of the mutual information between two variables

Description Usage Arguments

View source: R/aprx_mi.R

Description

This function approximates the mutual information between two variables based on the given data.

Usage

1
aprx_mi(data, n, x, y, logBase = 2, smth = 1e-10)

Arguments

data

A categorical dataset.

n

Sample size.

x

A random variable X.

y

A random variable Y.

logBase

The base of logarithm. Default is 2.

smth

A small value to get rid of 0 occurence.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.