gov.sandia.cognition.statistics.bayesian.conjugate
Class UnivariateGaussianMeanVarianceBayesianEstimator.Parameter

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.util.AbstractNamed
          extended by gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter<Vector,UnivariateGaussian,NormalInverseGammaDistribution>
              extended by gov.sandia.cognition.statistics.bayesian.conjugate.UnivariateGaussianMeanVarianceBayesianEstimator.Parameter
All Implemented Interfaces:
BayesianParameter<Vector,UnivariateGaussian,NormalInverseGammaDistribution>, DistributionParameter<Vector,UnivariateGaussian>, CloneableSerializable, Named, NamedValue<Vector>, Serializable, Cloneable
Enclosing class:
UnivariateGaussianMeanVarianceBayesianEstimator

public static class UnivariateGaussianMeanVarianceBayesianEstimator.Parameter
extends AbstractBayesianParameter<Vector,UnivariateGaussian,NormalInverseGammaDistribution>

Parameter for this conjugate prior estimator.

See Also:
Serialized Form

Field Summary
static String NAME
          Name of the parameter, "meanAndVariance".
 
Fields inherited from class gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter
conditionalDistribution
 
Fields inherited from class gov.sandia.cognition.util.AbstractNamed
name
 
Constructor Summary
UnivariateGaussianMeanVarianceBayesianEstimator.Parameter(UnivariateGaussian conditional, NormalInverseGammaDistribution prior)
          Creates a new instance
 
Method Summary
 Vector getValue()
          Gets the value stored in the name-value pair.
 void setValue(Vector value)
          Sets the value of the parameter.
 
Methods inherited from class gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter
clone, getConditionalDistribution, getParameterPrior, setConditionalDistribution, setParameterPrior, updateConditionalDistribution
 
Methods inherited from class gov.sandia.cognition.util.AbstractNamed
getName, setName, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.util.Named
getName
 

Field Detail

NAME

public static final String NAME
Name of the parameter, "meanAndVariance".

See Also:
Constant Field Values
Constructor Detail

UnivariateGaussianMeanVarianceBayesianEstimator.Parameter

public UnivariateGaussianMeanVarianceBayesianEstimator.Parameter(UnivariateGaussian conditional,
                                                                 NormalInverseGammaDistribution prior)
Creates a new instance

Parameters:
prior - Default conjugate prior.
conditional - Conditional distribution of the conjugate prior.
Method Detail

setValue

public void setValue(Vector value)
Description copied from interface: DistributionParameter
Sets the value of the parameter.

Parameters:
value - Parameter to set.

getValue

public Vector getValue()
Description copied from interface: NamedValue
Gets the value stored in the name-value pair.

Returns:
The value.