/** * Sets the value used as the farouts coefficient. The farout coefficient * must b greater than the outlier coefficient. * * @param faroutCoefficient being a {@code double} representing the * value used to calculate farouts. * * @see #getFaroutCoefficient() */ public void setFaroutCoefficient(double faroutCoefficient) { if (faroutCoefficient > getOutlierCoefficient()) { this.faroutCoefficient = faroutCoefficient; } else { throw new IllegalArgumentException("Farout value must be greater " + "than the outlier value, which is currently set at: (" + getOutlierCoefficient() + ")"); } }
/** * Sets the value used as the farouts coefficient. The farout coefficient * must b greater than the outlier coefficient. * * @param faroutCoefficient being a <code>double</code> representing the * value used to calculate farouts. * * @see #getFaroutCoefficient() */ public void setFaroutCoefficient(double faroutCoefficient) { if (faroutCoefficient > getOutlierCoefficient()) { this.faroutCoefficient = faroutCoefficient; } else { throw new IllegalArgumentException("Farout value must be greater " + "than the outlier value, which is currently set at: (" + getOutlierCoefficient() + ")"); } }