예제 #1
0
 /// Returns the probability of finding a random variable smaller
 /// than or equal to x.
 /// @return integral of the probability density function from 0 to x.
 /// @param x double upper limit of integral.
 public override double DistributionValue(double x)
 {
     return(IncompleteBetaFunction.Value(_dof2 / (x * _dof1 + _dof2)));
 }
예제 #2
0
 /// @return double	integral from -x to x
 /// @param x double
 private double SymmetricAcceptance(double x)
 {
     return(IncompleteBetaFunction.Value(_dof / (x * x + _dof)));
 }
예제 #3
0
 /// Returns the probability of finding a random variable smaller
 /// than or equal to x.
 /// @return integral of the probability density function from 0 to x.
 /// @param x double upper limit of integral.
 public override double DistributionValue(double x)
 {
     return(IncompleteBetaFunction.Value(x));
 }