law.plot2d {convco}R Documentation

Interactive 2D convergence in law

Description

This function enables one to draw the interactive 2D plot to investigate convergence in law.

Usage

law.plot2d(data,density=TRUE,densfunc=dnorm,probfunc=pnorm,tinf=-5,tsup=5)

Arguments

data matrix containing the sample paths.
density if density=TRUE, then the plot of the density of X and the histogram of Xn is returned. If density=FALSE, then the plot of the distribution function F(t) of X and the empirical distribution Fn(t) of Xn is returned.
densfunc function to compute the density of X.
probfunc function to compute the distribution function of X.
tinf lower limit from where you want to investigate convergence in law.
tsup upper limit to where you want to investigate convergence in law.

Value

a completer

Author(s)

P. Lafaye de Micheaux and B. Liquet

References

Lafaye de Micheaux, P. (plafaye@club.fr), Liquet, B. "Understanding Convergence Concepts: a Visual-Minded and Graphical Simulation Based Approach", The American Statistician , submitted.

See Also

check.convergence, criterion, generate, investigate, law.plot3d, p.as.plot, visualize.crit, visualize.sp

Examples

lnotpgen<-function(n){x<-rnorm(n);x-x[1]}
data <- generate(randomgen=lnotpgen,nmax=1000,M=500)$data
law.plot2d(data)

[Package convco version 0.4 Index]