Package velo.ladaalpha.fields.math.stats
Class OneVarStats
java.lang.Object
velo.ladaalpha.fields.math.stats.OneVarStats
The Class OneVarStats.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondouble[]getArr()Gets the arr.getIqr()Gets the iqr.getMaxX()Gets the max X.getMed()Gets the med.getMinX()Gets the min X.getN()Gets the n.getQ1()Gets the q1.getQ3()Gets the q3.getSD()Gets the sd.getSumX()Gets the sum X.getSumX2()Gets the sum X 2.getxBar()Gets the x bar.voidsetArr(double[] arr) Sets the arr.voidSets the iqr.voidSets the max X.voidSets the med.voidSets the min X.voidSets the n.voidSets the q1.voidSets the q3.voidSets the sd.voidSets the sum X.voidSets the sum X 2.voidSets the x bar.toString()To string. 
- 
Constructor Details
- 
OneVarStats
public OneVarStats(double[] arr) Instantiates a new one var stats.- Parameters:
 arr- the arr
 
 - 
 - 
Method Details
- 
toString
To string. - 
getxBar
Gets the x bar.- Returns:
 - the x bar
 
 - 
setxBar
Sets the x bar.- Parameters:
 xBar- the new x bar
 - 
getSumX
Gets the sum X.- Returns:
 - the sum X
 
 - 
setSumX
Sets the sum X.- Parameters:
 sumX- the new sum X
 - 
getSumX2
Gets the sum X 2.- Returns:
 - the sum X 2
 
 - 
setSumX2
Sets the sum X 2.- Parameters:
 sumX2- the new sum X 2
 - 
getSD
Gets the sd.- Returns:
 - the sd
 
 - 
setSD
Sets the sd.- Parameters:
 sD- the new sd
 - 
getN
Gets the n.- Returns:
 - the n
 
 - 
setN
Sets the n.- Parameters:
 n- the new n
 - 
getMinX
Gets the min X.- Returns:
 - the min X
 
 - 
setMinX
Sets the min X.- Parameters:
 minX- the new min X
 - 
getQ1
Gets the q1.- Returns:
 - the q1
 
 - 
setQ1
Sets the q1.- Parameters:
 q1- the new q1
 - 
getMed
Gets the med.- Returns:
 - the med
 
 - 
setMed
Sets the med.- Parameters:
 med- the new med
 - 
getQ3
Gets the q3.- Returns:
 - the q3
 
 - 
setQ3
Sets the q3.- Parameters:
 q3- the new q3
 - 
getMaxX
Gets the max X.- Returns:
 - the max X
 
 - 
setMaxX
Sets the max X.- Parameters:
 maxX- the new max X
 - 
getIqr
Gets the iqr.- Returns:
 - the iqr
 
 - 
setIqr
Sets the iqr.- Parameters:
 iqr- the new iqr
 - 
getArr
public double[] getArr()Gets the arr.- Returns:
 - the arr
 
 - 
setArr
public void setArr(double[] arr) Sets the arr.- Parameters:
 arr- the new arr
 
 -