to_mulog_sdlog_lnorm: Parameter Conversion for Lognormal Distribution
Description
The function to_mulog_sdlog_lnorm converts the mean and standard deviation to
the logarithm mean and logarithm standard deviation
Usage
to_mulog_sdlog_lnorm(mu, sd)
Value
a list of two items
mulog
a vector of lognormal means of lognormal distributions
sdlog
a vector of lognormal standard deviations of lognormal distributions
Arguments
mu
a vector of means of lognormal distributions
sd
a vector of standard deviations of lognormal distributions
Details
The purpose of this function is to convert the parameterization of lognormal distribution in the
form of mean and standard deviation to the form of logarithm mean and logarithm standard deviation.
It can be used for specifying the initial values for the EM algorithm when the first-hand initial values
are in the form of mean and standard deviation from K-means clustering algorithm.