edu.ucla.stat.SOCR.distributions
Class OrderStatisticDistribution
java.lang.Object
edu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.Distribution
edu.ucla.stat.SOCR.distributions.OrderStatisticDistribution
- All Implemented Interfaces:
- IValueSettable, Pluginable, java.util.Observer
public class OrderStatisticDistribution
- extends Distribution
The distribution of the order statistic of a specified order from a random
sample of a specified size from a specified sampling distribution
Method Summary |
double |
getCDF(double x)
Cumulative distribution function |
double |
getDensity(double x)
Density function |
void |
setParameters(Distribution d,
int n,
int k)
Set the parameters: the sampling distribution, sample size, and order |
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, getMaxDensity, getMean, getMean, getMedian, getMGF, getMgfDomain, getName, getOnlineDescription, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderStatisticDistribution
public OrderStatisticDistribution(Distribution d,
int n,
int k)
- General constructor: creates a new order statistic distribution
corresponding to a specified sampling distribution, sample size, and
order
OrderStatisticDistribution
public OrderStatisticDistribution()
setParameters
public void setParameters(Distribution d,
int n,
int k)
- Set the parameters: the sampling distribution, sample size, and order
getDensity
public double getDensity(double x)
- Density function
- Specified by:
getDensity
in class Distribution
getCDF
public double getCDF(double x)
- Cumulative distribution function
- Overrides:
getCDF
in class Distribution