edu.ucla.stat.SOCR.distributions
Class LogisticExponentialDistribution

java.lang.Object
  extended by edu.ucla.stat.SOCR.core.SOCRValueSettable
      extended by edu.ucla.stat.SOCR.core.Distribution
          extended by edu.ucla.stat.SOCR.distributions.LogisticExponentialDistribution
All Implemented Interfaces:
IValueSettable, Pluginable, java.util.Observer

public class LogisticExponentialDistribution
extends Distribution

This class models the LogisticExponential distribution http://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/lexpdf.htm


Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
 
Constructor Summary
LogisticExponentialDistribution()
          This default constructor creates a new logitic-exponential distribution
LogisticExponentialDistribution(double mu, double sigma, double shape)
          This general constructor creates a new LogisticExponential distribution with specified parameter values
 
Method Summary
 double getCDF(double x)
          This method computes the CDF function
 double getDensity(double x)
          This method computes the getDensity function
 double getLocation()
          This method returns the mean
 double getMaxDensity()
          This method computes the MAX value of the Density
 java.lang.String getOnlineDescription()
          This method returns an online description of this distribution.
 double getScale()
          This method returns the scale
 double getShape()
          This method returns the shape
 void initialize()
          used for some subclass to initialize before being used
 double inverseCDF(double probability)
          Inverse of the cumulative Normal distribution function.
 void setParameters(double m, double s, double _shape)
          This method sets the parameters
 double stdLogistictExpCDF(double x)
          This method computes the Standard LogLogit CDF function
 double stdLogistictExpPDF(double x)
          This method computes the Standard LogLogit Density function
 void valueChanged()
           
 
Methods inherited from class edu.ucla.stat.SOCR.core.Distribution
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMean, getMedian, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, getVariance, logGamma, paramEstimate, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, simulate, update, valueChanged
 
Methods inherited from class edu.ucla.stat.SOCR.core.SOCRValueSettable
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogisticExponentialDistribution

public LogisticExponentialDistribution(double mu,
                                       double sigma,
                                       double shape)
This general constructor creates a new LogisticExponential distribution with specified parameter values


LogisticExponentialDistribution

public LogisticExponentialDistribution()
This default constructor creates a new logitic-exponential distribution

Method Detail

initialize

public void initialize()
Description copied from class: Distribution
used for some subclass to initialize before being used

Overrides:
initialize in class Distribution

valueChanged

public void valueChanged()
Overrides:
valueChanged in class Distribution

setParameters

public void setParameters(double m,
                          double s,
                          double _shape)
This method sets the parameters


inverseCDF

public double inverseCDF(double probability)
Inverse of the cumulative Normal distribution function.

Overrides:
inverseCDF in class Distribution
Parameters:
probability - - a probability value in [0, 1]
Returns:
the value X for which P(x<X).

getDensity

public double getDensity(double x)
This method computes the getDensity function

Specified by:
getDensity in class Distribution

getMaxDensity

public double getMaxDensity()
This method computes the MAX value of the Density

Overrides:
getMaxDensity in class Distribution

stdLogistictExpPDF

public double stdLogistictExpPDF(double x)
This method computes the Standard LogLogit Density function


getCDF

public double getCDF(double x)
This method computes the CDF function

Overrides:
getCDF in class Distribution

stdLogistictExpCDF

public double stdLogistictExpCDF(double x)
This method computes the Standard LogLogit CDF function


getLocation

public double getLocation()
This method returns the mean


getScale

public double getScale()
This method returns the scale


getShape

public double getShape()
This method returns the shape


getOnlineDescription

public java.lang.String getOnlineDescription()
This method returns an online description of this distribution.

Overrides:
getOnlineDescription in class Distribution