public class LocationScaleDistribution extends Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
Constructor and Description |
---|
LocationScaleDistribution(Distribution d,
double a,
double b)
This general constructor creates a new location-scale transformation on a
given distribuiton with given location and scale parameters
|
Modifier and Type | Method and Description |
---|---|
double |
getCDF(double x)
This method returns the cumulative distribution function
|
double |
getDensity(double x)
This method defines the getDensity function
|
double |
getMaxDensity()
This method returns the maximum value of the getDensity function
|
double |
getMean()
This mtehod returns the mean
|
double |
getQuantile(double p)
This method returns the getQuantile function
|
double |
getVariance()
This method returns the variance
|
void |
setParameters(Distribution d,
double a,
double b)
This method sets the parameters: the distribution and the location and
scale parameters
|
double |
simulate()
This method returns a simulated value from the distribution
|
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMedian, getMGF, getMgfDomain, getName, getOnlineDescription, getPGF, getPGFDomain, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, initialize, inverseCDF, logGamma, paramEstimate, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, update, valueChanged, valueChanged
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
public LocationScaleDistribution(Distribution d, double a, double b)
public void setParameters(Distribution d, double a, double b)
public double getDensity(double x)
getDensity
in class Distribution
public double getMaxDensity()
getMaxDensity
in class Distribution
public double getMean()
getMean
in class Distribution
public double getVariance()
getVariance
in class Distribution
public double simulate()
simulate
in class Distribution
public double getCDF(double x)
getCDF
in class Distribution
public double getQuantile(double p)
getQuantile
in class Distribution