|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.Distribution
edu.ucla.stat.SOCR.distributions.HyperbolicSecantDistribution
public class HyperbolicSecantDistribution
This class encapsulates the Hyperbolic-Secant distribution -- no parameters. http://en.wikipedia.org/wiki/Hyperbolic_secant_distribution.
| Field Summary | |
|---|---|
static double |
C
|
| Fields inherited from class edu.ucla.stat.SOCR.core.Distribution |
|---|
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name |
| Constructor Summary | |
|---|---|
HyperbolicSecantDistribution()
This general constructor creates a new HyperbolicSecant distribution with specified parameter values |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class edu.ucla.stat.SOCR.core.Distribution |
|---|
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 |
| 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 |
| Field Detail |
|---|
public static final double C
| Constructor Detail |
|---|
public HyperbolicSecantDistribution()
| Method Detail |
|---|
public double getDensity(double x)
getDensity in class Distributionpublic double sech(double x)
public double getMaxDensity()
getMaxDensity in class Distributionpublic double getMedian()
getMedian in class Distributionpublic double getMean()
getMean in class Distributionpublic double getVariance()
getVariance in class Distributionpublic double getCDF(double x)
getCDF in class Distributionpublic double getMGF(double t)
getMGF in class Distributionpublic double secant(double t)
public java.lang.String getOnlineDescription()
getOnlineDescription in class Distribution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||