public class TwoSidedPowerDistribution extends Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
Constructor and Description |
---|
TwoSidedPowerDistribution()
Default constructor: creates a beta distribution with left and right
parameters equal to 1
|
TwoSidedPowerDistribution(double l,
double r,
double m,
double p) |
Modifier and Type | Method and Description |
---|---|
double |
getDensity(double x)
Define the TSP Density function
|
double |
getLeft()
----------------------------------GET--------------------------
|
double |
getMaxDensity()
Compute the maximum getDensity
|
double |
getMean()
Compute the mean in closed form
|
double |
getMed()
Get the left LIMIT
|
double |
getMedian()
This method computes a default approximate median.
|
double |
getMode()
Compute the Mode
|
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
double |
getPower()
Get the right LIMIT
|
double |
getRight()
Get the right parameter
|
double |
getVariance()
Compute the variance in closed form
|
void |
initialize()
used for some subclass to initialize before being used
|
void |
paramEstimate(double[] distData)
HOW SHOULD THESE PARAMETERS be estimated?????
|
void |
setLeft(double l)
Sets the left parameter
|
void |
setMed(double m)
Sets the med parameter
|
void |
setParameters(double l,
double r,
double m,
double p)
Set the parameters, compute the normalizing constant c, and specifies the
all 4 parameters
|
void |
setPower(double p)
Sets the power
|
void |
setRight(double r)
Sets the right parameter
|
void |
valueChanged(java.util.Observable o,
java.lang.Object arg) |
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, inverseCDF, logGamma, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, simulate, update, valueChanged
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
public TwoSidedPowerDistribution(double l, double r, double m, double p)
public TwoSidedPowerDistribution()
public void initialize()
Distribution
initialize
in class Distribution
public void valueChanged(java.util.Observable o, java.lang.Object arg)
valueChanged
in class Distribution
public void setParameters(double l, double r, double m, double p)
public void setLeft(double l)
public void setRight(double r)
public void setMed(double m)
public void setPower(double p)
public double getLeft()
public double getRight()
public double getMed()
public double getPower()
public double getDensity(double x)
getDensity
in class Distribution
public double getMaxDensity()
getMaxDensity
in class Distribution
public double getMode()
public double getMedian()
Distribution
getMedian
in class Distribution
public double getMean()
getMean
in class Distribution
public double getVariance()
getVariance
in class Distribution
public void paramEstimate(double[] distData)
paramEstimate
in class Distribution
public java.lang.String getOnlineDescription()
getOnlineDescription
in class Distribution