public class LogNormalMixtureDistribution extends Object implements MixtureDistribution
Modifier and Type | Class and Description |
---|---|
static class |
LogNormalMixtureDistribution.Lambda
the log-normal distribution parameters
|
Constructor and Description |
---|
LogNormalMixtureDistribution(LogNormalMixtureDistribution.Lambda[] lambda)
Constructs a log-normal distribution for each state in the HMM model.
|
LogNormalMixtureDistribution(LogNormalMixtureDistribution.Lambda[] lambda,
boolean isMuEstimated,
boolean isSigmaEstimated)
Constructs a log-normal distribution for each state in the HMM model.
|
Modifier and Type | Method and Description |
---|---|
LogNormalMixtureDistribution.Lambda[] |
getMStepParams(double[] observations,
Vector[] u)
Maximize, for each state, the log-likelihood of the distribution with
respect to the observations and current estimators.
|
LogNormalMixtureDistribution.Lambda[] |
getParams()
Get the parameters, for each state, of the distribution.
|
ProbabilityDistribution[] |
newDistributions()
Get the distributions (possibly differently parameterized) for all
states.
|
MixtureDistribution |
newMixtureDistribution(Object[] param)
Construct a new distribution from a set of parameters, one set per state.
|
RandomNumberGenerator[] |
newRandomNumberGenerators()
Get the random number generators corresponding to the distributions
(possibly differently parameterized) for all states.
|
public LogNormalMixtureDistribution(LogNormalMixtureDistribution.Lambda[] lambda, boolean isMuEstimated, boolean isSigmaEstimated)
lambda
- the distribution parametersisMuEstimated
- indicate whether parameter mu
is to be
estimatedisSigmaEstimated
- indicate whether parameter sigma
is to be
estimatedpublic LogNormalMixtureDistribution(LogNormalMixtureDistribution.Lambda[] lambda)
lambda
- the distribution parameterspublic LogNormalMixtureDistribution.Lambda[] getParams()
MixtureDistribution
getParams
in interface MixtureDistribution
public RandomNumberGenerator[] newRandomNumberGenerators()
MixtureDistribution
newRandomNumberGenerators
in interface MixtureDistribution
public ProbabilityDistribution[] newDistributions()
MixtureDistribution
newDistributions
in interface MixtureDistribution
public LogNormalMixtureDistribution.Lambda[] getMStepParams(double[] observations, Vector[] u)
MixtureDistribution
getMStepParams
in interface MixtureDistribution
observations
- the observationsu
- this is in eq. (4.13) of Zucchini and MacDonald (2009), p. 65public MixtureDistribution newMixtureDistribution(Object[] param)
MixtureDistribution
newMixtureDistribution
in interface MixtureDistribution
param
- the parameters of the distribution, one set per stateCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.