public class Convolution extends Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
Constructor and Description |
---|
Convolution()
This defalut constructor creates a new convolution distribution
corrrepsonding to the uniform distribution on (0,1), with convolution
power 5.
|
Convolution(Distribution d,
int n)
This general constructor: creates a new convolution distribution
corresponding to a specified distribution and convolution power
|
Modifier and Type | Method and Description |
---|---|
double |
getDensity(double x)
Density function
|
Distribution |
getDistribution()
This method returns the distribution.
|
double |
getMean()
Mean
|
int |
getPower()
This method returns the convolution power.
|
double |
getVariance()
Variance
|
void |
setDistribution(Distribution d)
This method sets the distribution.
|
void |
setParameters(Distribution d,
int n)
This method sets the parameters: the distribution and convolution power.
|
void |
setPower(int n)
This method sets the convolution power.
|
double |
simulate()
Simulate a value from the distribution
|
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMaxDensity, getMean, getMedian, getMGF, getMgfDomain, getName, getOnlineDescription, getPGF, getPGFDomain, getQuantile, 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 Convolution(Distribution d, int n)
public Convolution()
public void setParameters(Distribution d, int n)
public double getDensity(double x)
getDensity
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 void setPower(int n)
public int getPower()
public void setDistribution(Distribution d)
public Distribution getDistribution()