org.ojalgo.random
Class SampleSet

java.lang.Object
  extended by org.ojalgo.random.SampleSet
All Implemented Interfaces:
Access1D<Double>

public final class SampleSet
extends Object
implements Access1D<Double>


Method Summary
 double doubleValue(int anInd)
           
 Double get(int anInd)
           
 double getCorrelation(SampleSet aSet)
           
 double getCovariance(SampleSet aSet)
           
 double getFirst()
           
 double getLargest()
          max(abs(value))
 double getLast()
           
 double getMaximum()
          max(value)
 double getMean()
           
 double getMedian()
           
 double getMinimum()
          min(value)
 double getSmallest()
          min(abs(value))
 double getStandardDeviation()
           
 double getSumOfSquares()
          "Sum of squares is a concept that permeates much of inferential statistics and descriptive statistics.
 double[] getValues()
           
 double getVariance()
           
 Iterator<Double> iterator()
           
static SampleSet make(RandomNumber aRndmNmbr, int aSize)
           
 void reset()
           
 int size()
           
 String toString()
           
static SampleSet wrap(Access1D<?> someSamples)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

make

public static SampleSet make(RandomNumber aRndmNmbr,
                             int aSize)

wrap

public static SampleSet wrap(Access1D<?> someSamples)

doubleValue

public double doubleValue(int anInd)

get

public Double get(int anInd)

getCorrelation

public double getCorrelation(SampleSet aSet)

getCovariance

public double getCovariance(SampleSet aSet)

getFirst

public double getFirst()

getLargest

public double getLargest()
max(abs(value))


getLast

public double getLast()

getMaximum

public double getMaximum()
max(value)


getMean

public double getMean()

getMedian

public double getMedian()

getMinimum

public double getMinimum()
min(value)


getSmallest

public double getSmallest()
min(abs(value))


getStandardDeviation

public double getStandardDeviation()

getSumOfSquares

public double getSumOfSquares()

"Sum of squares is a concept that permeates much of inferential statistics and descriptive statistics. More properly, it is "the sum of the squared deviations". Mathematically, it is an unscaled, or unadjusted measure of dispersion (also called variability). When scaled for the number of degrees of freedom, it estimates the variance, or spread of the observations about their mean value."

Wikipedia


getValues

public double[] getValues()

getVariance

public double getVariance()

iterator

public final Iterator<Double> iterator()

reset

public void reset()

size

public int size()
Returns:
The total number of elements contained in this structure

toString

public String toString()
Overrides:
toString in class Object