Package adams.data.statistics
Class AbstractOptionalSampleArrayStatistic<T extends Serializable>
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.statistics.AbstractArrayStatistic<T>
-
- adams.data.statistics.AbstractOptionalSampleArrayStatistic<T>
-
- Type Parameters:
T- the type of array
- All Implemented Interfaces:
AdditionalInformationHandler,Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<AbstractArrayStatistic>,SizeOfHandler,OptionalSampleArrayStatistic,Serializable
- Direct Known Subclasses:
ArrayStandardDeviation,ArrayStandardize,ArrayStandardScores
public abstract class AbstractOptionalSampleArrayStatistic<T extends Serializable> extends AbstractArrayStatistic<T> implements OptionalSampleArrayStatistic
Abstract super class for array statistics that can interprete the arrays either as samples or populations.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class adams.data.statistics.AbstractArrayStatistic
AbstractArrayStatistic.StatisticContainer<T extends Serializable>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_IsSamplewhether the arrays are samples or populations.-
Fields inherited from class adams.data.statistics.AbstractArrayStatistic
m_Data
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractOptionalSampleArrayStatistic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.booleangetIsSample()Returns whether the arrays represent samples instead of populations.StringisSampleTipText()Returns the tip text for this property.voidsetIsSample(boolean value)Sets whether the arrays represent samples instead of populations.-
Methods inherited from class adams.data.statistics.AbstractArrayStatistic
add, calculate, check, checkEqualLength, clear, doCalculate, forCommandLine, forName, get, getAdditionalInformation, getMax, getMin, getStatistics, initialize, remove, set, shallowCopy, shallowCopy, size, toString
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setIsSample
public void setIsSample(boolean value)
Sets whether the arrays represent samples instead of populations.- Specified by:
setIsSamplein interfaceOptionalSampleArrayStatistic- Parameters:
value- true if arrays are samples and not populations
-
getIsSample
public boolean getIsSample()
Returns whether the arrays represent samples instead of populations.- Specified by:
getIsSamplein interfaceOptionalSampleArrayStatistic- Returns:
- true if arrays are samples and not populations
-
isSampleTipText
public String isSampleTipText()
Returns the tip text for this property.- Specified by:
isSampleTipTextin interfaceOptionalSampleArrayStatistic- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-