A named list containing the parameters values e.g. with names shape
and scale. When mean or sd is vector the list
contains vectors.
Arguments
densfun
Name of the distribution. This can be at present time:
"exponential", "weibull", "gpd",
"gamma", "negative binomial".
mean
Theoretical mean (expectation) of the distribution. Can be
a vector, in which case the parameters will be vectors.
sd
Standard deviation.
Author
Yves Deville
Details
For some distributions like Weibull, it is necessary to find
a numerical solution since the parameters have no closed form
expression involving the moments.