Class CorrelationCheck
- java.lang.Object
-
- tech.nmfin.meanreversion.cointegration.check.CorrelationCheck
-
- All Implemented Interfaces:
PairingCheck
public class CorrelationCheck extends Object implements PairingCheck
-
-
Constructor Summary
Constructors Constructor Description CorrelationCheck(Matrix A, double lowerBound, double upperBound)
CorrelationCheck(Matrix A, double tail, double lowerBound, double upperBound)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static double
cor(Matrix A, double tailed)
boolean
isOK()
-
-
-
Method Detail
-
isOK
public boolean isOK() throws NoPairFoundException
- Specified by:
isOK
in interfacePairingCheck
- Throws:
NoPairFoundException
-
cor
public static double cor(Matrix A, double tailed)
-
-