Class Weibull

All Implemented Interfaces:
Serializable

public class Weibull extends ContinuousDistribution implements Serializable
A Weibull distribution
See Also:
  • Constructor Details

    • Weibull

      public Weibull(double shape, double scale)
  • Method Details

    • fitMeanAndSCV

      public static Weibull fitMeanAndSCV(double mean, double scv)
    • sample

      public double[] sample(int n)
      Gets n samples from the distribution
      Overrides:
      sample in class Distribution
      Parameters:
      n - - the number of samples
      Returns:
      - n samples from the distribution
    • sample

      public double[] sample(int n, Random random)
      Specified by:
      sample in class Distribution
    • getMean

      public double getMean()
      Specified by:
      getMean in class Distribution
    • getRate

      public double getRate()
      Overrides:
      getRate in class Distribution
    • getSCV

      public double getSCV()
      Specified by:
      getSCV in class Distribution
    • getVar

      public double getVar()
      Overrides:
      getVar in class Distribution
    • getSkewness

      public double getSkewness()
      Specified by:
      getSkewness in class Distribution
    • evalCDF

      public double evalCDF(double t)
      Specified by:
      evalCDF in class Distribution
    • evalLST

      public double evalLST(double s)
      Specified by:
      evalLST in class ContinuousDistribution