| p.as.plot {convco} | R Documentation |
This function enables one to draw the interactive plots used to study convergence in probability and almost surely.
p.as.plot(data,critp,critas,epsilon=0.05,nb.sp=10,mode="p")
data |
matrix containing the sample paths. |
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 draw on the left plot. |
mode |
a character string specifying the mode of convergence to investigate, must be one of "p" (default), "as" or "r". |
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.plot2d, law.plot3d,
visualize.crit, visualize.sp
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.4))$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")