public class HyperbolicSecantDistribution extends Distribution
Modifier and Type | Field and Description |
---|---|
static double |
C |
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
Constructor and Description |
---|
HyperbolicSecantDistribution()
This general constructor creates a new HyperbolicSecant distribution with specified
parameter values
|
Modifier and Type | Method and Description |
---|---|
double |
getCDF(double x)
This method computes the cumulative distribution function
|
double |
getDensity(double x)
This method defines the getDensity function
http://en.wikipedia.org/wiki/Hyperbolic_secant_distribution
|
double |
getMaxDensity()
This method returns the maximum value of the getDensity function
|
double |
getMean()
These methods return the mean
|
double |
getMedian()
This method returns the median
|
double |
getMGF(double t)
Computes the moment generating function in closed form for a
parameter t which lies in the domain of the distribution.
|
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
double |
getVariance()
These methods return the variance
|
double |
secant(double t)
Computes the secant function
http://en.wikipedia.org/wiki/Trigonometric_function
|
double |
sech(double x)
This method defines the hyperbolic-secant function
http://en.wikipedia.org/wiki/Hyperbolic_function
|
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMgfDomain, getName, 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, simulate, update, valueChanged, valueChanged
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
public static final double C
public HyperbolicSecantDistribution()
public double getDensity(double x)
getDensity
in class Distribution
public double sech(double x)
public double getMaxDensity()
getMaxDensity
in class Distribution
public double getMedian()
getMedian
in class Distribution
public double getMean()
getMean
in class Distribution
public double getVariance()
getVariance
in class Distribution
public double getCDF(double x)
getCDF
in class Distribution
public double getMGF(double t)
getMGF
in class Distribution
public double secant(double t)
public java.lang.String getOnlineDescription()
getOnlineDescription
in class Distribution