edu.ucla.stat.SOCR.distributions
Class OrderStatisticDistribution

java.lang.Object
  extended by edu.ucla.stat.SOCR.core.SOCRValueSettable
      extended by edu.ucla.stat.SOCR.core.Distribution
          extended by 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


Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
 
Constructor Summary
OrderStatisticDistribution()
           
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
 
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 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
 

Constructor Detail

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()
Method Detail

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