public double[][] predictIntervals(double conf){
  updateMeanAndVariance();
  double val=Statistics.normalInverse(1.0 - (1.0 - conf) / 2.0);
  double[][] arr=new double[1][2];
  arr[0][1]=m_Mean + val * Math.sqrt(m_Variance);
  arr[0][0]=m_Mean - val * Math.sqrt(m_Variance);
  return arr;
}

public double [ ] [ ] predictIntervals ( double conf ) { updateMeanAndVariance ( ) ; double val = Statistics . normalInverse ( 1.0 - ( 1.0 - conf ) / 2.0 ) ; double [ ] [ ] arr = new double [ 1 ] [ 2 ] ; arr [ 0 ] [ 1 ] = m_Mean + val * Math . sqrt ( m_Variance ) ; arr [ 0 ] [ 0 ] = m_Mean - val * Math . sqrt ( m_Variance ) ; return arr ; }
returns the interval for the given confidence value .
