Class StatisticsConfiguration
java.lang.Object
org.apache.commons.statistics.descriptive.StatisticsConfiguration
Configuration for computation of statistics.
This class is immutable.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisBiased()Checks if the calculation of the statistic is biased.withBiased(boolean v) Return an instance with the configured biased option.static StatisticsConfigurationReturn an instance using the default options.
-
Method Details
-
withDefaults
Return an instance using the default options.- Returns:
- default instance
-
withBiased
Return an instance with the configured biased option.The correction of bias in a statistic is implementation dependent. If set to
truethen bias correction will be disabled.This option is used by:
- Parameters:
v- Value.- Returns:
- an instance
-
isBiased
Checks if the calculation of the statistic is biased. Iffalsethe calculation should use a bias correction.- Returns:
- true if biased
-