Description Usage Arguments Value Examples
Simulate the Confidence Interval for a Population Proportion
1 2 | ciprob.sim(n, p = 0.5, alp = 0.05, N = 100, seed = 9857, dig = 4,
plot = TRUE)
|
n |
Sample size |
p |
Population proportion value, Default: 0.5 |
alp |
Level of significance, Default: 0.05 |
seed |
Seed value for generating random numbers, Default: 9857 |
dig |
Number of digits below the decimal point, Default: 4 |
plot |
Plot confidence intervals? Default: TRUE |
n |
Sample size, Default: 100 |
None.
1 2 | ciprob.sim(n=16, p=0.6, alp=0.05, N=100)
ciprob.sim(n=16, p=0.6, alp=0.05, N=10000, plot=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.