p-as-plot: Interactive plot for convergence in probability and almost...

Description Usage Arguments Author(s) References See Also Examples

Description

This function enables one to draw the interactive plots used to study convergence in probability and almost surely.

Usage

1
p.as.plot(data,critp,critas,epsilon=0.05,nb.sp=10,mode="p")

Arguments

data

matrix containing the sample paths of Xn-X values.

critp

vector containing the criterion values for convergence in probability.

critas

vector containing the criterion values for convergence almost surely.

epsilon

a numeric value giving the interval endpoint.

nb.sp

number of sample paths to be drawn on the left plot.

mode

a character string specifying the mode of convergence to investigate, must be one of "p" (default), "as" or "r".

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.plot2d, law.plot3d, visualize.crit, visualize.sp

Examples

1
2
3
4
5
myrbinom <- function(n,alpha){rbinom(n,1,1/(1:n))*((1:n)**alpha)}
data <- generate(randomgen=myrbinom,nmax=1000,M=500,argsgen=list(alpha=0.5))$data
critp <- criterion(data,epsilon=0.05,"p")$crit
critas <- criterion(data,epsilon=0.05,"as")$crit
p.as.plot(data,critp,critas,epsilon=0.05,nb.sp=10,mode="p")


Search within the ConvergenceConcepts package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.