|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.random.SampleSet
public class SampleSet
| Constructor Summary | |
|---|---|
SampleSet(Array1Dim<?> anArray)
|
|
SampleSet(BigDecimal[] someValues)
|
|
| Method Summary | ||
|---|---|---|
double |
getCorrelation(SampleSet aSet)
|
|
double |
getCovariance(SampleSet aSet)
|
|
double |
getMean()
|
|
double |
getStandardDeviation()
|
|
double |
getSumOfSquares()
"Sum of squares is a concept that permeates much of inferential statistics and descriptive statistics. |
|
double |
getVariance()
|
|
static SampleSet |
make(RandomNumber aRndmNmbr,
int aSize)
|
|
static
|
makeFromPriceAndRiskFreeSeries(TimeSeries<K,V> aPriceSeries,
TimeSeries<K,V> aRiskFreeInterestRateSeries)
Deprecated. Use FinanceUtils#makeFromPriceAndRiskFreeSeries(TimeSeries instead |
|
static
|
makeUsingGeometricChanges(BasicSeries<K,V> aSeries)
Does not alter the series in any way. |
|
static
|
makeUsingLinearChanges(BasicSeries<K,V> aSeries)
Does not alter the series in any way. |
|
static
|
makeUsingValues(BasicSeries<K,V> aSeries)
|
|
int |
size()
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SampleSet(Array1Dim<?> anArray)
public SampleSet(BigDecimal[] someValues)
| Method Detail |
|---|
public static SampleSet make(RandomNumber aRndmNmbr,
int aSize)
public static <K extends Comparable<K>,V extends Number> SampleSet makeFromPriceAndRiskFreeSeries(TimeSeries<K,V> aPriceSeries,
TimeSeries<K,V> aRiskFreeInterestRateSeries)
FinanceUtils#makeFromPriceAndRiskFreeSeries(TimeSeries,TimeSeries) instead
K - Time series key typeV - Time series value typeaPriceSeries - A series of pricesaRiskFreeInterestRateSeries - A series of interest rates (risk free return)
public static <K extends Comparable<K>,V extends Number> SampleSet makeUsingGeometricChanges(BasicSeries<K,V> aSeries)
public static <K extends Comparable<K>,V extends Number> SampleSet makeUsingLinearChanges(BasicSeries<K,V> aSeries)
public static <K extends Comparable<K>,V extends Number> SampleSet makeUsingValues(BasicSeries<K,V> aSeries)
public double getCorrelation(SampleSet aSet)
public double getCovariance(SampleSet aSet)
public double getMean()
public double getStandardDeviation()
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
public double getVariance()
public int size()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||