Documentation of 'jhplot.math.num.pdf.LogNormal' Java class.
LogNormal
jhplot.math.num.pdf

Class LogNormal

    • Constructor Summary

      Constructors 
      Constructor and Description
      LogNormal()
      Default constructor.
      LogNormal(double m, double s)
      Create a distribution with the given mean and standard deviation.
    • Constructor Detail

      • LogNormal

        public LogNormal()
        Default constructor. Mean is set to zero and standard deviation is set to one.
      • LogNormal

        public LogNormal(double m,
                         double s)
        Create a distribution with the given mean and standard deviation.
        Parameters:
        m - the mean.
        s - the standard deviation.
    • Method Detail

      • cumulativeProbability

        public double cumulativeProbability(double x)
                                     throws NumericException
        The CDF for this distribution. This method returns P(X < x).
        Specified by:
        cumulativeProbability in class ContinuousDistribution
        Parameters:
        x - the value at which the CDF is evaluated.
        Returns:
        CDF for this distribution.
        Throws:
        NumericException - if the cumulative probability can not be computed.
      • getMean

        public double getMean()
        Access the mean.
        Returns:
        the mean.
      • getStandardDeviation

        public double getStandardDeviation()
        Access the standard deviation.
        Returns:
        the standard deviation.
      • inverseCumulativeProbability

        public double inverseCumulativeProbability(double p)
                                            throws NumericException
        The inverse CDF for this distribution. This method returns x such that, P(X < x) = p.
        Specified by:
        inverseCumulativeProbability in class ContinuousDistribution
        Parameters:
        p - the cumulative probability.
        Returns:
        x
        Throws:
        NumericException - if the inverse cumulative probability can not be computed.
      • setMean

        public void setMean(double m)
        Modify the mean.
        Parameters:
        m - the new mean value.
      • setStandardDeviation

        public void setStandardDeviation(double std)
        Modify the standard deviation.
        Parameters:
        std - The new standard deviation value.

DMelt 3.0 © DataMelt by jWork.ORG