.meanStd2GammasNu {RGAP} | R Documentation |
Converts the mean and standard deviation of a Gamma-distributed variable into the
parameters s
and \nu
.
Description
Converts the mean and standard deviation of a Gamma-distributed variable into the
parameters s
and \nu
.
Usage
.meanStd2GammasNu(m, std)
Arguments
m |
mean parameter |
std |
standard deviation |
Details
The parameters s
and nu
are related to the regular shape
\alpha
and rate \beta
parametrization in the following way:
\alpha = \nu / 2
\beta = s / 2
Value
A vector with parameters s
and \nu
.
[Package RGAP version 0.1.1 Index]