|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.uah.math.distributions.Data
A simple implementation of a data distribution
| Constructor Summary | |
Data()
This default constructor creates a new data with the name "X" |
|
Data(java.lang.String n)
This general constructor creates a new data with a prescribed name. |
|
| Method Summary | |
double |
getMaxValue()
Get the maximum value of the data set |
double |
getMean()
Get the mean |
double |
getMinValue()
Get the minimum value of the data set |
java.lang.String |
getName()
Set the name of the data set |
double |
getPSD()
Get the population standard deviation |
double |
getPVariance()
Get the population variance |
double |
getSD()
Get the sample standard deviation of the data set |
int |
getSize()
Get the number of pointCount in the data set |
double |
getValue()
Get the current value of the data set |
double |
getValue(int i)
This method returns the i'th value of the data set. |
double |
getVariance()
Get the sample variance of the data set |
void |
reset()
Reset the data set |
void |
setName(java.lang.String name)
Get the name of the data set |
void |
setValue(double x)
This method adds a new number to the data set and re-compute the mean, mean square, minimum and maximum values, and order statistics |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Data(java.lang.String n)
public Data()
| Method Detail |
public void setValue(double x)
public double getValue()
public double getValue(int i)
public double getMean()
public double getPVariance()
public double getPSD()
public double getVariance()
public double getSD()
public double getMinValue()
public double getMaxValue()
public void reset()
public int getSize()
public void setName(java.lang.String name)
public java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||