edu.ucla.stat.SOCR.distributions
Class MuthDistribution

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.MuthDistribution
All Implemented Interfaces:
IValueSettable, Pluginable, java.util.Observer

public class MuthDistribution
extends Distribution

A Java implmentation of the Muth distribution with specified left(alpha) and right(Muth) parameters http://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/mutpdf.htm .


Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
 
Constructor Summary
MuthDistribution()
          Default constructor: creates a Muth distribution with left and right parameters equal to 1
MuthDistribution(double b, double l, double s)
           
 
Method Summary
 double getBeta()
          Get the left paramter
 double getDensity(double x)
          Define the Muth getDensity function
 double getLocation()
          Get the right parameter
 java.lang.String getOnlineDescription()
          This method returns an online description of this distribution.
 double getScale()
          Get the right parameter
 double getStdDensity(double x)
          Define the Standard Muth Density function
 void initialize()
          used for some subclass to initialize before being used
 void setBeta(double b)
          Sets the beta parameter
 void setLocation(double l)
          Sets the Location parameter
 void setParameters(double b, double l, double s)
          Set the parameters
 void setScale(double s)
          Sets the Scale parameter
 void valueChanged()
           
 
Methods inherited from class edu.ucla.stat.SOCR.core.Distribution
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMaxDensity, getMean, getMean, getMedian, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, getVariance, inverseCDF, 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

MuthDistribution

public MuthDistribution()
Default constructor: creates a Muth distribution with left and right parameters equal to 1


MuthDistribution

public MuthDistribution(double b,
                        double l,
                        double s)
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 b,
                          double l,
                          double s)
Set the parameters


setBeta

public void setBeta(double b)
Sets the beta parameter


setLocation

public void setLocation(double l)
Sets the Location parameter


setScale

public void setScale(double s)
Sets the Scale parameter


getBeta

public double getBeta()
Get the left paramter


getLocation

public double getLocation()
Get the right parameter


getScale

public double getScale()
Get the right parameter


getDensity

public double getDensity(double x)
Define the Muth getDensity function

Specified by:
getDensity in class Distribution

getStdDensity

public double getStdDensity(double x)
Define the Standard Muth Density function


getOnlineDescription

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

Overrides:
getOnlineDescription in class Distribution