baseCode.math.distribution
Interface ProbabilityComputer

All Known Implementing Classes:
NormalProbabilityComputer, UniformProbabilityComputer

public interface ProbabilityComputer

An interface that describes objects that can produce probabilities according to some distribution.


Copyright (c) 2004 Columbia University

Version:
$Id: ProbabilityComputer.java,v 1.1 2004/12/31 01:14:48 pavlidis Exp $
Author:
pavlidis

Method Summary
 double probability(double value)
          Return the probability associated with a certain value.The upper tail of the associated distribution is returned.
 double probability(double value, boolean upperTail)
          Return the probability associated with a certain value, with choice of tail.
 

Method Detail

probability

public double probability(double value)
Return the probability associated with a certain value.The upper tail of the associated distribution is returned.

Parameters:
value -
Returns:

probability

public double probability(double value,
                          boolean upperTail)
Return the probability associated with a certain value, with choice of tail.

Parameters:
value -
upperTail -
Returns:


Copyright © 2003-2005 Columbia University. All Rights Reserved.