Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

reldist-internal

Internal reldist Objects


Description

Internal reldist functions.

Usage

entropy(x,xo=FALSE)

Arguments

x

a list with components x and y. The vector y are the relative density estimates at the values in the vector x. The latter are in the unit interval.

xo

a list with components x and y like the first argument. If given the relative entropy (or Kullback-Liebler divergence) of the first to the second argument is calculated.

Details

Most of these are not to be called by the user.

Value

If xo is given, the relative entropy (or Kullback-Liebler divergence) of the first to the second argument is calculated. Otherwise the entropy of the distribution specified by x.

See Also

reldist


reldist

Relative Distribution Methods

v1.6-6
GPL-3 + file LICENSE
Authors
Mark S. Handcock <handcock@stat.ucla.edu>
Initial release
2016-10-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.