@Override public double conf(double totalWeight,double totalPositiveWeight,Hypothesis hypo,double delta){
  double g=hypo.getCoveredWeight() / totalWeight;
  double p=hypo.getPositiveWeight() / hypo.getCoveredWeight();
  double sg=variance(g,totalWeight);
  double sp=variance(p,hypo.getCoveredWeight());
  double inverseNormal=inverseNormal(1 - delta / 4);
  return Math.sqrt(sg * inverseNormal) + sp * inverseNormal + Math.sqrt(sg * inverseNormal) * sp * inverseNormal;
}

@ Override public double conf ( double totalWeight , double totalPositiveWeight , Hypothesis hypo , double delta ) { double g = hypo . getCoveredWeight ( ) / totalWeight ; double p = hypo . getPositiveWeight ( ) / hypo . getCoveredWeight ( ) ; double sg = variance ( g , totalWeight ) ; double sp = variance ( p , hypo . getCoveredWeight ( ) ) ; double inverseNormal = inverseNormal ( 1 - delta / 4 ) ; return Math . sqrt ( sg * inverseNormal ) + sp * inverseNormal + Math . sqrt ( sg * inverseNormal ) * sp * inverseNormal ; }
calculate confidence intervall for a specific rule .
