powered by
Formula: \(\mu = \frac{\mathrm{shape}}{\mathrm{rate}}\) \(\mathrm{Var}(X) = \frac{\mathrm{shape}}{\mathrm{rate}^2}\)
mgamma(shape, rate)
List with mean and variance
Shape parameter
Rate parameter
dgamma
mgamma(shape = 2, rate = 0.5)
Run the code above in your browser using DataLab