kl.dist: Compute the Kullback-Leibler distance between two probability...

Description Usage Arguments Author(s) Examples

Description

Compute the Kullback-Leibler distance between two probability distributions.

Usage

1
  kl.dist(p, q)

Arguments

p

A probability density or mass function

q

A probability density or mass function

Author(s)

Brian Lee Yung Rowe

Examples

1
2
3
x <- dnorm(dnorm(seq(-10,10, 0.2)), 1, 2)
y <- dnorm(dnorm(seq(-10,10, 0.2)), 0, 3)
d <- kl.dist(x,y)

zatonovo/kingsmen documentation built on May 4, 2019, 9:11 p.m.