Package smile.data.measure
Interface Measure
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CategoricalMeasure
,IntervalScale
,NominalScale
,NumericalMeasure
,OrdinalScale
,RatioScale
Level of measurement or scale of measure is a classification that
describes the nature of information within the values assigned to
variables. Psychologist Stanley Smith Stevens developed the best-known
classification with four levels, or scales, of measurement: nominal,
ordinal, interval, and ratio. Each scale of measurement has certain
properties which in turn determines the appropriateness for use of
certain statistical analyses.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RatioScale
Currency.static final RatioScale
Percent. -
Method Summary
-
Field Details
-
Currency
Currency. -
Percent
Percent.
-
-
Method Details
-
valueOf
Returns a measurement value object represented by the argument string s.- Parameters:
s
- a string.- Returns:
- the parsed value.
- Throws:
NumberFormatException
-
toString
Returns the string representation of an object in the measure.- Parameters:
o
- an object.- Returns:
- the string representation
-