Class UnivariateNormalEstimator

    • Field Detail

      • CONST

        public static final double CONST
        Constant for Gaussian density
    • Constructor Detail

      • UnivariateNormalEstimator

        public UnivariateNormalEstimator()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the estimator.
      • predictIntervals

        public double[][] predictIntervals​(double conf)
        Returns the interval for the given confidence value.
        Specified by:
        predictIntervals in interface UnivariateIntervalEstimator
        Parameters:
        conf - the confidence value in the interval [0, 1]
        Returns:
        the interval
      • predictQuantile

        public double predictQuantile​(double percentage)
        Returns the quantile for the given percentage.
        Specified by:
        predictQuantile in interface UnivariateQuantileEstimator
        Parameters:
        percentage - the percentage
        Returns:
        the quantile
      • logDensity

        public double logDensity​(double value)
        Returns the natural logarithm of the density estimate at the given point.
        Specified by:
        logDensity in interface UnivariateDensityEstimator
        Parameters:
        value - the value at which to evaluate
        Returns:
        the natural logarithm of the density estimate at the given value
      • toString

        public String toString()
        Returns textual description of this estimator.
        Overrides:
        toString in class Object
      • main

        public static void main​(String[] args)
        Main method, used for testing this class.