|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.akutan.utilities.Covariance
public class Covariance
Various functions to computes covariance matrices
| Constructor Summary | |
|---|---|
Covariance()
|
|
| Method Summary | |
|---|---|
static double |
covariance(cern.colt.list.DoubleArrayList l1,
cern.colt.list.DoubleArrayList l2)
Compute the sample covariance of the series in the two lists |
static double |
exponentialCovariance(double factor,
cern.colt.list.DoubleArrayList l1,
cern.colt.list.DoubleArrayList l2)
Compute the sample exponentially weighted covariance of the series in the two lists |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Covariance()
| Method Detail |
|---|
public static double covariance(cern.colt.list.DoubleArrayList l1,
cern.colt.list.DoubleArrayList l2)
l1 - List of time series pointsl2 - List of time series points
public static double exponentialCovariance(double factor,
cern.colt.list.DoubleArrayList l1,
cern.colt.list.DoubleArrayList l2)
factor - Exponential weighting factorl1 - List of time series pointsl2 - List of time series points
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||