Remove tags added by accident.
This commit is contained in:
parent
f5d028ca6a
commit
ab2b01168c
|
@ -149,7 +149,6 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public double density(double x) {
|
||||
final double logDensity = logDensity(x);
|
||||
return logDensity == Double.NEGATIVE_INFINITY ? 0 : FastMath.exp(logDensity);
|
||||
|
@ -179,7 +178,6 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public double cumulativeProbability(double x) {
|
||||
if (x <= 0) {
|
||||
return 0;
|
||||
|
@ -208,7 +206,6 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
* For first shape parameter {@code alpha} and second shape parameter
|
||||
* {@code beta}, the mean is {@code alpha / (alpha + beta)}.
|
||||
*/
|
||||
@Override
|
||||
public double getNumericalMean() {
|
||||
final double a = getAlpha();
|
||||
return a / (a + getBeta());
|
||||
|
@ -221,7 +218,6 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
* {@code beta}, the variance is
|
||||
* {@code (alpha * beta) / [(alpha + beta)^2 * (alpha + beta + 1)]}.
|
||||
*/
|
||||
@Override
|
||||
public double getNumericalVariance() {
|
||||
final double a = getAlpha();
|
||||
final double b = getBeta();
|
||||
|
@ -236,7 +232,6 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
*
|
||||
* @return lower bound of the support (always 0)
|
||||
*/
|
||||
@Override
|
||||
public double getSupportLowerBound() {
|
||||
return 0;
|
||||
}
|
||||
|
@ -248,19 +243,16 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
*
|
||||
* @return upper bound of the support (always 1)
|
||||
*/
|
||||
@Override
|
||||
public double getSupportUpperBound() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public boolean isSupportLowerBoundInclusive() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public boolean isSupportUpperBoundInclusive() {
|
||||
return false;
|
||||
}
|
||||
|
@ -272,7 +264,6 @@ public class BetaDistribution extends AbstractRealDistribution {
|
|||
*
|
||||
* @return {@code true}
|
||||
*/
|
||||
@Override
|
||||
public boolean isSupportConnected() {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue