law.plot2d {convco} | R Documentation |
This function enables one to draw the interactive 2D plot to investigate convergence in law.
law.plot2d(data,density=TRUE,densfunc=dnorm,probfunc=pnorm,tinf=-5,tsup=5)
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. |
a completer
P. Lafaye de Micheaux and B. Liquet
Lafaye de Micheaux, P. (plafaye@club.fr), Liquet, B. "Understanding Convergence Concepts: a Visual-Minded and Graphical Simulation Based Approach", The American Statistician , submitted.
check.convergence
, criterion
,
generate
, investigate
,
law.plot3d
,
p.as.plot
, visualize.crit
, visualize.sp
lnotpgen<-function(n){x<-rnorm(n);x-x[1]} data <- generate(randomgen=lnotpgen,nmax=1000,M=500)$data law.plot2d(data)