Statistics
Class PoissonVariable

java.lang.Object
  extended byStatistics.RandomVariable
      extended byStatistics.PoissonVariable

public class PoissonVariable
extends RandomVariable

The Poisson variable N with intensity (mean) lambda has values n>=0 * with probabilities p_n=Prob(N=n)=e^{-lambda}*lambda^n/n!. * Implemented using the cern.jet.random Poisson generator.

* * @author Michael J. Meyer *


Constructor Summary
PoissonVariable(double lambda)
           
 
Method Summary
 double getValue(int t)
          The next random sample.
 
Methods inherited from class Statistics.RandomVariable
analyticCentralMoment, analyticConditionalCentraMoment, analyticConditionalMean, analyticConditionalMoment, analyticConditionalVariance, analyticMean, analyticMoment, analyticVariance, basicHistogram, centered_X, conditionalEmpiricalDistribution, conditionalExpectation, conditionalExpectation, conditionalExpectation, conditionalExpectation, conditionalExpectation, conditionalHistogram, conditionalHistogram, conditionalMeanAndStandardDeviation, conditionalMeanAndStandardDeviation, conditionalMeanAndStandardDeviation, conditionalMeanAndStandardDeviation, conditionalMoment, conditionalVariance, cumulativeDistributionFunction, displayConditionalHistogram, displayConditionalHistogram, displayConditionalHistogram, displayConditionalHistogram, displayHistogram, displayHistogram, displayHistogram, displayHistogram, div, empiricalDistribution, expectation, expectation, expectation, expectation, expectation, fillSampleSet, get_empiricalDistributionIsInitialized, get_hasAnalyticCentralMoment, get_hasAnalyticMean, get_hasAnalyticMoment, get_hasAnalyticVariance, get_hasConditionalAnalyticCentralMoment, get_hasConditionalAnalyticMean, get_hasConditionalAnalyticMoment, get_hasConditionalAnalyticVariance, histogram, histogram, initEmpiricalDistribution, main, meanAndStandardDeviation, meanAndStandardDeviation, meanAndStandardDeviation, meanAndStandardDeviation, minus, mult, plus, quantile, scale, setHasAnalyticMean, setHasAnalyticVariance, variance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoissonVariable

public PoissonVariable(double lambda)
Method Detail

getValue

public double getValue(int t)

The next random sample.

* *

Since there is no context relating time t to information the * parameter t is ignored (no conditioning).

* * @param t Current time (ignored).

Specified by:
getValue in class RandomVariable
Parameters:
t - Current time (determines information to condition on.)