plot.KbMCMC: Plot sequences of estimates of Kullback distance or Entropy...

Description Usage Arguments Value Author(s) References See Also Examples

Description

This S3 method for plot plots by default sequences of estimates of the Kullback distance K(p^t,f) between the (estimated) pdf of the MCMC algorithm at time t, p^t, and the target density f, for t=1 up to the number of iterations that have been provided/computed. It can also plot the first term in the Kullback distance, i.e. the Entropy E_{p^t}[\log(p^t)]. Its argument is an object of class KbMCMC such as the one returned by, e.g., EntropyMCMC.

Usage

1
2
3
## S3 method for class 'KbMCMC'
plot(x, Kullback = TRUE, lim = NULL, ylim = NULL, 
            new.plot = TRUE, title = NULL, ...)

Arguments

x

An object of class KbMCMC, such as the one returned by EntropyMCMC.

Kullback

TRUE to plot the Kullback distance, FALSE to plot the Entropy.

lim

for zooming over 1:lim iterations only.

ylim

y limits, passed to plot.

new.plot

set to FALSE to add the plot to an existing plot.

title

The title; if NULL, then a default title is displayed.

...

Further parameters passed to plot or lines.

Value

The graphic to plot.

Author(s)

Didier Chauveau.

References

See Also

EntropyMCMC, EntropyMCMC.mc

Examples

1
## See the EntropyMCMC Examples.

EntropyMCMC documentation built on May 2, 2019, 6:43 a.m.