Learn R Programming

abcel (version 1.0)

entEst: New Entropy Estimator

Description

Entropy estimator based on k-nearest neighbors.

Usage

entEst(summaries, k = NULL, terms = NULL, wts = NULL)

Value

Estimated differential entropy.

Arguments

summaries

data matrix with summary statistics as rows and samples as columns (d x m)

k

user-chosen k, or NULL

terms

user-supplied terms, or NULL

wts

user-supplied weights, or NULL

Examples

Run this code
x=matrix(rnorm(2500),nrow=100)
entropy.true=.5*25*log(2*pi*exp(1))
entropy=entEst(t(x))

Run the code above in your browser using DataLab