public IndTestCramerT(DataSet dataSet,double alpha){
  if (!(dataSet.isContinuous())) {
    throw new IllegalArgumentException("Data set must be continuous.");
  }
  this.dataSet=dataSet;
  this.covMatrix=new CorrelationMatrix(dataSet);
  this.variables=Collections.unmodifiableList(covMatrix.getVariables());
  setAlpha(alpha);
}

public IndTestCramerT ( DataSet dataSet , double alpha ) { if ( ! ( dataSet . isContinuous ( ) ) ) { throw new IllegalArgumentException ( "Data set must be continuous." ) ; } this . dataSet = dataSet ; this . covMatrix = new CorrelationMatrix ( dataSet ) ; this . variables = Collections . unmodifiableList ( covMatrix . getVariables ( ) ) ; setAlpha ( alpha ) ; }
constructs a new independence test which checks independence facts based on the correlation matrix implied by the given data set ( must be continuous ) . the given significance level is used .
