distributions
Class CDF_Weibull2

java.lang.Object
  |
  +--distributions.CDF_Weibull2

public class CDF_Weibull2
extends java.lang.Object

Currently, this class contains methods to calculate the cumulative distribution function (CDF) of a 2-parameter Weibull distribution and the inverse of the CDF.


Constructor Summary
CDF_Weibull2()
           
 
Method Summary
static double w2cdf(double lambda, double beta, double x)
          This method calculates the 2-parameter Weibull cumulative distribution function.
static double w2inv(double lambda, double beta, double p)
          This method calculates the inverse of the 2-parameter Weibull cumulative distribution function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDF_Weibull2

public CDF_Weibull2()
Method Detail

w2inv

public static double w2inv(double lambda,
                           double beta,
                           double p)
This method calculates the inverse of the 2-parameter Weibull cumulative distribution function.

Parameters:
lambda - The 2-parameter Weibull scale parameter. In \LaTeX notation, the distribution function is 1 - \exp(-(\lambda x)^{\beta}).
beta - The 2-parameter Weibull shape parameter. In \LaTeX notation, the distribution function is 1 - \exp(-(\lambda x)^{\beta}).
p - p must lie between 0 and 1. w2inv returns the 2-parameter Weibull cdf inverse evaluated at p.

w2cdf

public static double w2cdf(double lambda,
                           double beta,
                           double x)
This method calculates the 2-parameter Weibull cumulative distribution function.

Parameters:
lambda - The 2-parameter Weibull scale parameter. In \LaTeX notation, the distribution function is 1 - \exp(-(\lambda x)^{\beta}).
beta - The 2-parameter Weibull shape parameter. In \LaTeX notation, the distribution function is 1 - \exp(-(\lambda x)^{\beta}).
x - x must be greater than 0. w2inv returns the 2-parameter Weibull cumulative distribution function evaluated at x.