|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A UnivariateStatistics captures the
statistics for an attribute.
| Method Summary | |
ContinuousStatistics |
getContinuousStatistics()
Returns a continuous statistics (if available) of the attribute. |
DiscreteStatistics |
getDiscreteStatistics()
Returns a discrete statistics (if available) of the attribute. |
long[] |
getFrequencies()
Returns an array of frequencies for each value ordered according to object array returned from getValues. |
long |
getFrequency(CategoryProperty property)
Returns the number of values with the specified property in the attribute. |
long |
getFrequency(int index)
Returns the count of the value identified by the index. |
java.lang.String |
getName()
Returns the name of the attribute . |
NumericalStatistics |
getNumericalStatistics()
Returns a numerical statistics (if available) of the attribute. |
double[] |
getProbabilities()
Returns an array of probabilities for each value, based on the total number of cases. |
java.lang.Object[] |
getValues()
Returns the array of values (category values from a CategorySet object or Interval object) associated with the attribute. |
| Method Detail |
public ContinuousStatistics getContinuousStatistics()
public DiscreteStatistics getDiscreteStatistics()
public long[] getFrequencies()
getValues.
public long getFrequency(CategoryProperty property)
If the property is error for an attribute gender where F and M are the only valid values, for example, this method returns the number of occurrences of other values.
property -
public long getFrequency(int index)
throws JDMException
getValues.
index -
JDMExceptionpublic java.lang.String getName()
public NumericalStatistics getNumericalStatistics()
public double[] getProbabilities()
public java.lang.Object[] getValues()
CategorySet object or Interval object) associated with the attribute.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||