|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProbabilityFunction
A ProbabilityFunction describes a random variable. For each probability function there is a set of stochastic measures that can be derived.
| Method Summary | |
|---|---|
void |
checkConstrains()
checks whether the following constraints are fulfilled : the sum of all probabilities is one. |
double |
getArithmeticMeanValue()
For a probability function, whose domain is integer or real the arithmetic mean - the sum of all measurements divided by the number of observations in the data set - is returned. |
Object |
getMedian()
A median is a number dividing the higher half of a sample, a population, or a probability distribution from the lower half. |
Object |
getPercentile(int p)
In descriptive statistics, the 'p'th percentile is a scale value for a data series equal to the p/100 quantile. |
double |
getProbabilitySum()
Computes the sum of all probabilities specified in the function. |
IUnit |
getUnit()
Returns the unit of the probability functions domain. |
boolean |
hasOrderedDomain()
If the domain of the probability functions is ordered, true is returned; false otherwise. |
boolean |
isInFrequencyDomain()
True, if the probability density function is in the frequency domain (frequency domain graph shows how much of the signal lies within each given frequency band over a range of frequencies). |
boolean |
isInTimeDomain()
True, if the probability density function is the time domain (a time domain graph shows how a signal changes over time). |
| Method Detail |
|---|
Object getMedian()
throws UnorderedDomainException
UnorderedDomainException
double getArithmeticMeanValue()
throws DomainNotNumbersException,
FunctionNotInTimeDomainException
DomainNotNumbersException
FunctionNotInTimeDomainException
Object getPercentile(int p)
throws IndexOutOfBoundsException,
UnorderedDomainException
p - sets the percentile which shall be computed. p must take
values between 0 and 100.
IndexOutOfBoundsException
UnorderedDomainException
double getProbabilitySum()
throws FunctionNotInTimeDomainException
FunctionNotInTimeDomainExceptionIUnit getUnit()
boolean isInTimeDomain()
boolean isInFrequencyDomain()
boolean hasOrderedDomain()
void checkConstrains()
throws NegativeDistanceException,
ProbabilitySumNotOneException,
FunctionNotInTimeDomainException,
UnitNotSetException,
UnitNameNotSetException,
InvalidSampleValueException
NegativeDistanceException
ProbabilitySumNotOneException
FunctionNotInTimeDomainException
UnitNotSetException
UnitNameNotSetException
InvalidSampleValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||