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