clt.plot | R Documentation |
Diagnose the Central Limit Theorem
clt.plot(dist, para, para2, ns = c(10, 30, 50), d = rep(0.5, 3), N = 10000, seed = 9857, sigknow = TRUE)
dist |
Name of population distribution ("exp","gamma","weibull","beta","norm", "t","chisq","f","pois","binom") |
para |
Parameter for the first population |
para2 |
Parameter for the second population (if necessary) |
ns |
Sample size, Default: c(10, 30, 50) |
d |
Group width in histogram, Default: rep(0.5, 3) |
N |
Number of iterations, Default: 10000 |
seed |
Seed value for generating random numbers, Default: 9857 |
sigknow |
Logical value for known population variance, Default: TRUE |
clt.plot("exp", para=5, d=rep(0.4, 3)) clt.plot("bin", para=0.1, ns=nv, d=c(1, 0.6, 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.