Description Usage Arguments Value Examples
Simulates a specified number of samples of a specified size from the beta distribution and plots the distribution of sample means with the density of an approximating normal distribution overlaid.
1 | dosm.beta.hist(n, nsim, shape1 = 1, shape2 = 1, ...)
|
n |
The size of each simulated sample. |
nsim |
The number of samples to simulate. |
shape1 |
The first parameter of the beta distribution from which the samples will be drawn. |
shape2 |
The second parameter of the beta distribution. |
A named vector with the mean, standard deviation, and variance of the distribution of sample means. Also plots a histogram of the distribution of sample means with an approximating normal distribution overlaid.
1 | dosm.beta.hist(25, 1000, 2, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.