parametersGamma | R Documentation |
Calculate shape and rate parameters of the Gamma distribution
parametersGamma(mean, sd)
mean |
vector of means. |
sd |
vector of standard deviations. |
The Gamma distribution is usually parameterized in terms of the
shape and rate parameters. The parametersGamma
function
deterimines the shape and rate parameters that will yield a Gamma
distribution with a desired mean and standard deviation.
Returns a 2 column array of the shape and rate parameters that will yield the required mean and standard deviation.
## Shape and rate that give a mean of 3 and sd of 2 parametersGamma(3,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.