public IndTestCramerT(ICovarianceMatrix covMatrix,double alpha){
  CorrelationMatrix corrMatrix=new CorrelationMatrix(covMatrix);
  this.variables=Collections.unmodifiableList(corrMatrix.getVariables());
  this.covMatrix=corrMatrix;
  setAlpha(alpha);
}

public IndTestCramerT ( ICovarianceMatrix covMatrix , double alpha ) { CorrelationMatrix corrMatrix = new CorrelationMatrix ( covMatrix ) ; this . variables = Collections . unmodifiableList ( corrMatrix . getVariables ( ) ) ; this . covMatrix = corrMatrix ; setAlpha ( alpha ) ; }
constructs a new independence test that will determine conditional independence facts using the given correlation matrix and the given significance level .
