Description Usage Arguments Value Author(s) References Examples
Simulate the effect of sample size and the sampling design.
1 |
sample |
is an integer value to simulate the sampling design. |
n |
the size of the sample |
mu |
is the proportion mean (0 to 1) of the population distribution. |
sigma |
is the size of variance |
cl |
is the value of the confidence level required, usually 0.95 to 0.99. |
type |
is a character string giving the type for the simulation c(“mean”, “var”, “pi”) |
A plot with the simulated values for CI.
Daniel Marcelino
http://danielmarcelino.com/SciencePo
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.