|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--statistic.distribution.GenericDistribution | +--statistic.distribution.GenericDiscreteDistribution | +--statistic.distribution.ChapeauSigmaDistribution
Field Summary | |
SigmaDistribution |
sd
loi de chapeausigma : P(chapeausigma=k) = P(sigma>=k)/E(sigma) = P(sigma(0,j)=k) for k>=1 where E is mean |
Fields inherited from class statistic.distribution.GenericDiscreteDistribution |
cdf |
Fields inherited from class statistic.distribution.GenericDistribution |
name, paramNames, params |
Fields inherited from interface statistic.RandomGenerator |
random |
Constructor Summary | |
ChapeauSigmaDistribution(SigmaDistribution sigmaDistribution)
ChapeauSigmaDistribution |
|
ChapeauSigmaDistribution(SigmaDistribution sigmaDistribution,
boolean cdf)
ChapeauSigmaDistribution |
Method Summary | |
double |
cdf(int k)
Method cdf. |
double |
getFMAX()
Method getFMAX: For some Discrete Distribution we could have a pb to generate a randInt because of the cdf value So when we generate random value we verify that this value is < getFMAX() |
double |
getSumCdf(int k)
|
void |
initializeSumCdf(int a,
int b)
|
static void |
main(java.lang.String[] args)
Methode: Main pour tester la classe |
double |
mean()
Method mean. |
double |
var()
Returns the variance of the distribution |
Methods inherited from class statistic.distribution.GenericDiscreteDistribution |
cdf, getInitialisationStatus, getKMAX, pdf, rand, randInt, randIntFast, setInitialisationStatus |
Methods inherited from class statistic.distribution.GenericDistribution |
getEquation, getName, getParam, getParamName, getParams, getParamsCount, getParamsNames, normalStandardCdf, setParam, setParams |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SigmaDistribution sd
Constructor Detail |
public ChapeauSigmaDistribution(SigmaDistribution sigmaDistribution)
public ChapeauSigmaDistribution(SigmaDistribution sigmaDistribution, boolean cdf)
Method Detail |
public double cdf(int k) throws java.lang.IllegalArgumentException
cdf
in class GenericDiscreteDistribution
k
-
java.lang.IllegalArgumentException
statistic.GenericDiscreteDistribution#cdf(int)
public void initializeSumCdf(int a, int b)
public double getSumCdf(int k) throws java.lang.IllegalArgumentException
getSumCdf
in class GenericDiscreteDistribution
java.lang.IllegalArgumentException
public double getFMAX()
GenericDiscreteDistribution
getFMAX
in class GenericDiscreteDistribution
public double mean()
mean
in class GenericDistribution
statistic.GenericDistribution#mean()
public double var()
GenericDistribution
var
in class GenericDistribution
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |